Leave Yamada UI a star

Star
Yamada UIYamada UIv1.7.2

Divider

Divider is a component that represents a division between elements.

Source@yamada-ui/layouts

Theming

The Divider is a single part component.

export const Divider: ComponentStyle<"Divider"> = {
baseStyle: {
borderColor: "border",
},
variants: {
dashed: {
borderStyle: "dashed",
},
dotted: {
borderStyle: "dotted",
},
solid: {
borderStyle: "solid",
},
},
defaultProps: { variant: "solid" },
}
Copied!

Edit this page on GitHub

PreviousSeparatorNextAspectRatio