Components
Divider
Display a separator between content.
Usage
You can pass label, icon or avatar to the divider component.
Label
OR
{
"message": "You should use slots with <ContentRenderer>",
"value": {},
"excerpt": false,
"tag": "div"
}Icon
Use any icon from Iconify by setting the icon prop by using this pattern: i-{collection_name}-{icon_name}.
{
"message": "You should use slots with <ContentRenderer>",
"value": {},
"excerpt": false,
"tag": "div"
}Avatar
Use the avatar prop as an object and configure it with any of its props.
{
"message": "You should use slots with <ContentRenderer>",
"value": {},
"excerpt": false,
"tag": "div"
}Orientation
You can change the orientation of the divider by setting the orientation prop to horizontal or vertical. Defaults to horizontal.
OR
OR
{
"message": "You should use slots with <ContentRenderer>",
"value": {},
"excerpt": false,
"tag": "div"
}Type
You can change the type of the divider by setting the type prop to solid, dotted or dashed. Defaults to solid.
Nuxt UI
{
"message": "You should use slots with <ContentRenderer>",
"value": {},
"excerpt": false,
"tag": "div"
}Size
Use the size prop to change the size of the divider.
Nuxt UI
{
"message": "You should use slots with <ContentRenderer>",
"value": {},
"excerpt": false,
"tag": "div"
}Color
You can change the color of the content by using the ui prop
Nuxt UI
{
"message": "You should use slots with <ContentRenderer>",
"value": {},
"excerpt": false,
"tag": "div"
}Slots
default
Use the default slot to add content to the divider.
{
"message": "You should use slots with <ContentRenderer>",
"value": {},
"excerpt": false,
"tag": "div"
}Props
type
"solid" | "dotted" | "dashed"
config.default.typesize
DividerSize
config.default.size"md""2xs""xs""sm""lg""xl"label
string
nullicon
string
nullui
any
{}avatar
Avatar
nullorientation
"horizontal" | "vertical"
"horizontal"Config
{
"message": "You should use slots with <ContentRenderer>",
"value": {},
"excerpt": false,
"tag": "div"
}