@objectifthunes/whiteboard
EXAMPLE SCREENS

Settings

Five sections behind one rail: workspace, notification toggles, seats and invites, password and 2FA, API keys.


PREVIEW
Workspace

Shown on invoices and in the app header.

Cannot be changed after the first invoice is issued.

Drop a logo, or click to browse

SVG or PNG · 1.0 MB max

SVG or PNG, up to 1 MB. Appears on every invoice.

SOURCE
import {
  SettingsLayout, SettingsRow, Switch, Combobox, TagInput, FileDrop,
  PasswordField, Meter, DataTable, FormActions,
} from '@objectifthunes/whiteboard'

<SettingsLayout
  sections={[
    { id: 'workspace', label: 'Workspace', hint: 'Name, region, logo', icon: <Building2 size={13} /> },
    { id: 'notifications', label: 'Notifications', hint: 'What we email you', icon: <Bell size={13} /> },
  ]}
  active={section}
  onSectionChange={setSection}
>
  {section === 'notifications' && (
    <ContentCard>
      <SettingsRow
        title="Weekly digest"
        description="A Monday summary of invoices sent, paid and overdue."
        control={<Switch checked={digest} onChange={onDigest} aria-label="Weekly digest" />}
      />
    </ContentCard>
  )}
</SettingsLayout>
NOTES

SettingsLayout switches five sections in place, each one owning different data. Every SettingsRow carries a description, because a toggle whose effect is not spelled out is a toggle nobody dares touch.

The sections pull in Switch, Combobox, TagInput, FileDrop, PasswordField, Meter and a compact DataTable for the API keys.