Divider
A simple divider component that supports horizontal and vertical.
Examples
Blocks
This component is used in the following Blocks:
Theme
This component uses the following default theme:
- root{}(4 keys)
- Show all
Learn more about how to customize in the Theme documentation.
API
Prop | Description | Default |
---|---|---|
className | Classname to apply to the divider.string | |
disableMargins | Disable the margins of the divider.
The default margin is: `--spacings-md`.boolean | false |
orientation | Orientation of the divider."horizontal" | "vertical" | horizontal |
style | Additional style attributes. Recommend to use css classes over this.CSSProperties | |
theme | Theme for the Divider.DividerTheme | |
variant | Variant of the divider."primary" | "secondary" | primary |