EXAMPLE SCREENS
Settings
Five sections behind one rail: workspace, notification toggles, seats and invites, password and 2FA, API keys.
PREVIEW
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.