WHITEBOARD DASHBOARD
FormGrid & FormActions
Two- or three-column field grid plus a right-aligned compact action row. Collapses to one column under 880px.
PREVIEW
SOURCE
import { FormGrid, FormActions, Field, Input, Button } from '@objectifthunes/whiteboard'
<FormGrid cols={2}>
<Field label="Title"><Input /></Field>
<Field label="Artist"><Input /></Field>
</FormGrid>
<FormActions>
<Button variant="secondary">Cancel</Button>
<Button>Save</Button>
</FormActions>NOTES
cols is 2 | 3 (default 2); both variants collapse to a single column under 880px, together with the rest of the dashboard chrome.
FormActions is deliberately a compact right-aligned row — dashboard forms never use full-width buttons. It sits after the grid, not inside it.