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.
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.
Create dividers to separate content and apply different styles to them.
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.
Add the .uk-divider-icon
class to a <hr>
or <div>
element to create a divider with some decoration, like an icon.
Add the .uk-divider-small
class to a <hr>
or <div>
element to create a smaller divider.
Add the .uk-divider-vertical
class to a <hr>
or <div>
element to create a vertical divider.
Learn more about using hooks.
Hook Name | Affected 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 | * |