Reference
Component library
Interactive examples of the shared Next.js UI building blocks.
Theme palette
Preview the nine source colors that drive every derived Family Hub theme token. Saved themes are managed on the Themes page.
AppShell and global actions
This gallery is rendered inside AppShell. Its FloatingActionButton and full PrivacyToggle are live in the application shell; the compact toggle is shown here too.
<AppShell><Page /></AppShell>Theme colors
Live references for the Family Hub backgrounds, UI surfaces, and typography palette.
var(--fh-…)Backgrounds
Application canvas colors.
--fh-backgroundPrimary application canvas--fh-background-mutedSubtle page-area contrastUI surfaces
Layered containers, overlays, and specialized panels.
--fh-surfaceDefault container surface--fh-surface-raisedElevated controls and panels--fh-surface-cardTranslucent card surface--fh-surface-overlayModal and scrim layer--fh-surface-overlay-softSubtle overlay layer--fh-surface-warningLow-emphasis warning background--fh-panel-backgroundTranslucent floating panel--fh-chart-surfaceChart container backgroundTypography
Text hierarchy and on-color content.
--fh-textDefault body textFamily Hub typography--fh-text-strongHeadings and high-emphasis contentFamily Hub typography--fh-text-inverseHigh-contrast text on dark UI surfacesFamily Hub typography--fh-text-on-colorText and icons on solid action colorsFamily Hub typography--fh-text-mutedSupporting metadataFamily Hub typography--fh-text-subtleLow-emphasis contentFamily Hub typography--fh-text-secondarySupporting readable copyFamily Hub typographyButton
Semantic variants and their default, hover, pressed, and disabled states.
<Button variant="secondary" />Floating action button
The global quick-actions control uses the same primary colors, focus ring, and disabled state as Button.
<FloatingActionButton actions={actions} />Fields
Use FormField with shared inputs for labeled values.
<FormField><TextField /></FormField>Selectors and feedback
Composed controls retain their own interaction semantics.
<OptionSelector selectionMode="multiple" />More actions
Popup
Use the shared overlay for focused workflows.
<Popup isOpen onClose title="…" />