v1.0.10
Divider
Stable
This component is considered stable. Reach out to the Spark team to find out more about what this means.
Installation
Install
yarn add @spark-web/divider
Source GitHub.com
Bundle unpkg.com
Used to separate and group content. In most cases use the Stack.
Examples
Width
Defines the “width” of the divider.
Color
Defines the “color” of the divider.
Props
Prop | Type | Description |
---|---|---|
color? | "neutral" | "standard" | "fieldHover" | "primary" | "primaryHover" | "primaryActive" | "secondary" | "secondaryHover" | "secondaryActive" | "accent" | "accentMuted" | "caution" | ... 6 more ... | "positiveMuted" | The color of the divider Default: |
vertical? | boolean | Display the divider vertically |
width? | "standard" | "large" | The width of the divider Default: |