Leave Yamada UI a star

Star
Yamada UIYamada UIv1.6.4

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

PreviousFloatNextAspectRatio