@objectifthunes/whiteboard
LAYOUT

Divider

Hairline separator. Horizontal in stacks, vertical inside toolbars and inline rows.


PREVIEW

Above the line


Below the line

SOURCE
import { Divider } from '@objectifthunes/whiteboard'

<Stack>
  <p>Above</p>
  <Divider />
  <p>Below</p>
</Stack>

<Toolbar>
  <Button>A</Button>
  <Divider orientation="vertical" />
  <Button>B</Button>
</Toolbar>
NOTES

A 1px hairline in --wb-border. The vertical variant stretches to its flex row and is the intended separator inside Toolbar / Inline.