Components
Divider
Used to bring clarity and structure to a layout
Selected Theme
Select brand or tribe name to preview style
Default
Usage
A divider separates your content usually in between top and bottom.
import { Divider } from 'legion-ui';
Variant
Legion have two variant of divider Basic
and Split it
Basic
Here’s the basic horizontal line the divider offers.
<Divider />
Split it
You can also split contents with our provided divider
Legion UI
<div><Body variant="lg_bold">Legion UI</Body><Divider /><Caption size="lg_reguler">Design System of Telkom Indonesia</Caption></div>
Props
property | propType | required | default | description |
---|---|---|---|---|
style | object | - | - | The style prop lets you style elements inline |
Do you have feedback?
Please let us know to make it better