v1.0.10

Divider

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.

standard
large

Color

Defines the “color” of the divider.

standard
neutral

Props

PropTypeDescription

color?

"neutral" | "standard" | "fieldHover" | "primary" | "primaryHover" | "primaryActive" | "secondary" | "secondaryHover" | "secondaryActive" | "accent" | "accentMuted" | "caution" | ... 6 more ... | "positiveMuted"

The color of the divider

Default: "standard"

vertical?

boolean

Display the divider vertically

width?

"standard" | "large"

The width of the divider

Default: "standard"

© 2023 Brighte Capital Pty Ltd