Coming Soon

We're sorry, but this feature is not yet available. We are working hard to make it happen as soon as possible. Thank you for your patience and understanding. Please check back later for updates.

Just a demo

The element you clicked is for demonstration purposes only and does not lead to actual content. Everything you see here is a simulation intended to demonstrate how the UI elements might look and behave in a real application.

Divider

Create dividers to separate content and apply different styles to them.

Usage

Note If you are not using Tailwind CSS, you can skip this step. On your tailwind.config.js file, add the Divider component within the ui() plugin.

import ui from "franken-ui";
 
ui({
    components: {
        divider: {
            hooks: {}
        }
    }
}),

You can use a simple <hr> element to illustrate a separation of different content parts on your pages. The Divider component allows you to add different styles to these dividers.

Divider icon

Add the .uk-divider-icon class to a <hr> or <div> element to create a divider with some decoration, like an icon.

Copy to clipboard

  • <hr class="uk-divider-icon" />

Divider small

Add the .uk-divider-small class to a <hr> or <div> element to create a smaller divider.

Copy to clipboard

  • <hr class="uk-divider-small" />

Divider vertical

Add the .uk-divider-vertical class to a <hr> or <div> element to create a vertical divider.

Copy to clipboard

  • <hr class="uk-divider-vertical" />

Available hooks

Learn more about using hooks.

Hook NameAffected Classes
hook-icon.uk-divider-icon
hook-icon-line.uk-divider-icon::before, .uk-divider-icon::after
hook-icon-line-left.uk-divider-icon::before
hook-icon-line-right.uk-divider-icon::after
hook-small.uk-divider-small::after
hook-vertical.uk-divider-vertical
hook-misc*