Genesis

Elements

196 web components in @marktiderman/genesis-ui and 122 native ones in @marktiderman/genesis-ui-native, read from their source at build. Each links to its props and examples.

__type
@beta
The gallery's defaults, the same on web and native: a target row height and the space between tiles (px on web, points on native), and the columns of `layout="grid"`.
AccessibleIcon
@beta
AccessibleIcon — gives a decorative icon an accessible name.
Accordion
@stable
adapterOf
@beta
A router adapter from ResourcePage's `urlState` shapes.
Alert
@stable
AlertDialog
@stable
AppearanceProvider
@beta
The person's **appearance** (light, dark or system), by its glossary name: `GenesisThemeProvider` fed from the person's appearance preferences.
AppShell
@stable
appShellBrandProps
@beta
AppShell's `appName` and `logo` from an app brand: its `appName` (else `fallbackName`), and its square `mark` in the shell's logo tile (else its `logo`), each with its dark version.
appShellOptionsFromTheme
@beta
The `AppShell` options an app theme starts from (`theme.layout`: navigation, frame, density, rail width, a collapsed rail, sub-navigation), to spread under the
AspectRatio
@stable
AuthForm
@beta
The web sign-in form.
AuthPage
@beta
AuthPage — the web counterpart of native `AuthScreen`: a whole-screen, centred card for sign-in, sign-up, password reset, invite acceptance and email verification.
Avatar
@stable
Badge
@stable
Band
@beta
Band: a full-bleed, full-width marketing section.
Breadcrumb
@stable
BuilderLayout
@beta
BuilderLayout — the three columns of a builder: an outline of the parts on the left, the editor for the selected part in the centre, a live preview on the right.
Button
@stable
Button — primary interactive control.
ButtonGroup
@stable
Calendar
@stable
calendarLanes
@beta
The lanes a `lanes` layout draws: the ones given, in order, then any an event names that weren't given (labelled by key).
Card
@stable
Carousel
@stable
ChartContainer
@stable
Checkbox
@stable
Chip
@stable
A small status chip in one of the resource workspace's tones (tinted, AA-safe Genesis badges).
ChipGroup
@beta
ChipGroup — filter chips that toggle together: the twin of genesis-ui-native's NativeChipGroup, with the same `mode` (default `multiple`), `value` and `onChange
ChoiceCard
@beta
ChoiceCard — one option as a card a person picks (a plan, a class, an answer with a picture): the twin of genesis-ui-native's NativeChoiceCard, with the same `t
Collapsible
@stable
Combobox
@beta
Combobox — pick one option from a list you can search: the twin of genesis-ui-native's NativeCombobox, built from Command in a Popover.
Command
@stable
CommandPalette
@stable
Thin action registry over `CommandDialog` / cmdk.
ComposerBar
@beta
ComposerBar — the bar you write a message in, on the web: a textarea that grows with what you type (up to `maxLines`, then scrolls), a send button, and slots beside and above it.
ConfirmDeleteDialog
@beta
The confirm step in front of a destructive delete: an `AlertDialog` (Radix owns focus trap, Escape and focus return), a pending state, and the failure shown in
ConflictSheet
@beta
Shown when a save met someone else's change: their value beside the one this person tried to save, for each field where the two differ, theirs first.
Container
@beta
Container — the page gutter: a centered column with a named maximum width and responsive side padding.
ContextMenu
@stable
CustomView
@beta
A screen an app draws itself over a view (ADR 0019): Genesis loads the view's data with its scope, filters, URL state, live updates and permissions, and draws l
DashboardPage
@beta
DashboardPage — a stat row over a flexible region of charts, tables and sections.
DataBulkBar
@stable
DataFilters
@stable
DataGrid
@stable
DataList
@stable
DataPageShell
@stable
DataTable
@stable
DateCell
@stable
DateCell -- shows relative date by default, formatted date otherwise.
DatePicker
@stable
DEFAULT_GALLERY_RATIO
@stable
Used when an item has no `width`/`height` (or a degenerate one).
defineViewType
@beta
A view type an app adds (ADR 0021): a name and the component that draws a view that way.
detailMode
@stable
A record open mode or ResourcePage's `detail`, as ResourcePage's `detail`.
DetailPage
@beta
DetailPage — one record's full view: a title row with actions, a primary content region, and a metadata sidebar that drops below the content on small screens.
DetailPanel
@stable
Dialog
@stable
DocumentPage
@beta
DocumentPage — a page that reads like a document: an optional cover across the top, an icon, a large title and the body in a centred reading column, as in a notebook app.
Drawer
@stable
DropdownMenu
@stable
EmptyState
@deprecated
EmptyState — what to show when a list, page, or panel has no data.
EmptyState
@beta
EmptyState — what to show when a list, page, or panel has no data.
EventCalendar
@beta
A calendar of events in one of four layouts: - `month`: the month's whole weeks; - `weeks`: 1 to 4 weeks (`weeks`), the week `anchor` is in first; - `agenda`: t
FieldArrayRenderer
@stable
FileUploadField
@stable
FilterCombobox
@stable
FilterCombobox — a filter bar's multi-select: any number of values, each with its count, an "All" row that clears them, and a trigger that names the one chosen or says how many.
filterParams
@beta
FollowUpList
@stable
Responses that need a follow-up (the host decides which; forms-studio's needsFollowUp is one rule), each with who answered, a tag, the day and context, their co
FormLabel
@stable
FormPage
@beta
FormPage — a titled form: header, validation summary, a body of sections, and a sticky action bar.
GalleryCard
@beta
GalleryCard — a cover image with badges and actions overlaid, and a title/subtitle footer.
GalleryGrid
@beta
GalleryGrid — a wall of images, justified (rows that fill the width, as `justifyRows` packs them) or a plain equal-column grid, optionally grouped under sticky headers.
galleryGridSlot
@stable
A ResourcePage grid slot that draws the grid view as a gallery: the table and list views pass through to DataGrid, without the gallery's item click.
getStarterTheme
@stable
A starter theme by id, or undefined.
Grid
@beta
Grid — two-dimensional flow for card and tile collections.
H1
@stable
HeadlineNumbers
@stable
A row of headline numbers (KPI cards): two across on a phone, up to four on a wide screen.
HoverCard
@stable
InboxLayout
@beta
InboxLayout — the 3-pane inbox on the web: views (Mine, Unassigned, All), a list of conversations, the open thread, and a context sidebar (who it's from, properties, linked work).
InboxPage
@beta
InboxPage — a list of conversations on the web: rows with an unread dot or count, a short time (`9:41`, `Yesterday`, a weekday, a date), a two-line preview and
InboxViews
@beta
InboxViews — the views rail of a 3-pane inbox: "Mine", "Unassigned", "All open", "Waiting", "Solved", saved views.
InlineAlert
@beta
InlineAlert — a message that sits with what it is about (between form fields, over a list): the twin of genesis-ui-native's NativeInlineAlert, with the same var
Input
@stable
InputGroup
@stable
inputHints
@stable
The `inputMode`, `autoComplete` and `enterKeyHint` an input gets, its own over its type's.
InputOTP
@stable
InputOTP — a one-time code in boxes (input-otp), the twin of genesis-ui-native's NativeInputOTP.
isAppShortcutTarget
@beta
Whether a keydown is a fair target for an app-level shortcut: nothing has claimed it (`defaultPrevented`), no ctrl/meta/alt modifier is held (those are the brow
KanbanBoard
@stable
Columns of cards, optionally movable between columns.
Kbd
@stable
Label
@stable
laneColor
@beta
A distinct CSS colour for lane `index` (0-based), from the theme, in light and dark: - 0–4: the chart tokens, `hsl(var(--chart-1))` to `--chart-5`; - 5–9: the s
layoutOr
@beta
`value` when it's a layout; else `month`, saying so in development.
Lightbox
@beta
Lightbox — a full-screen image viewer over the page, built on `Dialog`.
LiveIndicator
@beta
LiveIndicator — the "● Live" chip for streams, classes and sessions that are happening now.
Menubar
@stable
mostSpecificActive
@beta
Of several matching items, the one whose path matches most specifically, so `/forms/f1/edit/logic` doesn't also light up an `/forms/f1/edit` Questions tab that isn't marked `end`.
NavigationMenu
@stable
NONE_CHOICE
@stable
The value of a picker's "None" choice (the words are `messages.link.none`), which sets a field that can be empty back to empty.
NotificationsPage
@beta
NotificationsPage — a person's notifications under day headings (Upcoming, Today, Yesterday, Earlier), unread ones marked, with Mark all read: the twin of genes
NumberInput
@beta
NumberInput — a number with − and + buttons: the twin of genesis-ui-native's NativeNumberInput, with the same `value`, `min`, `max`, `step` and `precision`.
PageHeader
@stable
PageLoading
@beta
PageLoading — full-page or in-section loading state: a centered `Spinner` with an optional message.
Pagination
@stable
parseColor
@stable
Parses `#rgb`, `#rrggbb`, `rgb()`/`rgba()`, `hsl()`/`hsla()` (commas or spaces, optional `/` or `,` alpha, which is ignored) and bare HSL triplets like `"160 84% 39%"`.
PasswordToggleField
@experimental
PasswordToggleField — a password input with a show/hide control that keeps focus and caret position across the toggle.
Popover
@stable
PrintableAgenda
@beta
One sheet per lane for the week holding `anchor`, each on its own printed page.
Progress
@stable
Progress — a bar from 0 to 100, announced as a progressbar with its value; named "N% complete" unless `aria-label` says more.
PublicPage
@beta
PublicPage — a page anyone can open without signing in: a public form, a QR poster, a landing page.
RadioGroup
@stable
RangeSlider
@beta
RangeSlider — two thumbs on one track, for a range (a price band, an age range): the twin of genesis-ui-native's NativeRangeSlider, with the same `value: [low,
Rating
@beta
Rating — a row of stars, read-only or interactive.
ReadinessChip
@stable
"Ready to publish", or how many problems to fix: for the trailing slot of a resource page's row of tabs (genesis-ui's `<AppShellSubNavEnd>`).
readinessOf
@stable
Readiness from an editor's findings (any list of `{ level, code?
recordOpen
@beta
ResourcePage's `detail` or a record open mode, as a record open mode (`none` stays).
RecordPeek
@beta
A record page in a peek: the view's record view, drawn inline in a sheet at the edge (`side-peek`) or a centered dialog (`center-peek`).
RecordView
@deprecated
One record's screen, from its record view (defineRecordView): A record page (ADR 0021): a full page in the shell by default, or `presentation="peek"` inline in
RelationField
@stable
RelativeTime
@stable
A time as `relativeTime` says it, in the messages' words and locale, with the exact time (in `timeZone`) on hover.
ResizablePanelGroup
@stable
resolveUiMessages
@stable
The catalogue with overrides merged over the English.
ResourceBoard
@beta
A view's rows as a board.
ResourceCalendar
@beta
A view's rows on a calendar, as its `calendar` block describes them.
ResourceDetailPage
@beta
ResourceDetailPage — `DetailPage` with a record bound to it: fetches one record by id through the mounted `DataProvider` and hands it to the title, the actions,
ResourceForm
@stable
ResourceHeader
@stable
The header of a page that edits one publishable thing (a form, a course, a lesson, a worksheet): the breadcrumb ("Courses › name"), the title once, its status a
ResourceInbox
@beta
A view as a three-pane inbox: the rail of its segments (with counts) and saved views, a list of rows like messages (unread in bold, a preview line, a relative t
ResourcePage
@stable
A list page for a resource: header, filters, table or cards, paging, the open record's panel, and the built-in form and confirmed delete.
ResourceSettingsPage
@stable
Every setting of one thing (a form, a course, a worksheet) on one page: jump links on the left ("On this page", the one in view marked), the sections as cards on the right.
ResourceSheet
@beta
A view's rows as a spreadsheet: `<ResourceView view={v} type="sheet" />`, or `sheet` among a view's `types`.
ResourceView
@stable
A list screen from a view, in one line: `type` picks the view type (ADR 0021): Genesis's table, list, grid, board, calendar and gallery, or one registered with `registerViewType`.
ResourceViewDefaultsProvider
@beta
Set list defaults for the whole app, once, near the root: Nested providers build on each other: an unset key inherits, and `phoneMode={null}` or `false` for the
ResponsesToolbar
@stable
The Responses tab's toolbar: a Summary / Each response switch, the host's filters (forms-studio's ResponsesFilters, or its own) and, on the right, its export ac
RichText
@beta
RichText — renders a rich text document as React elements.
RichTextEditor
@beta
RichTextEditor — formatted text input for lessons, notes and other long-form content.
RowAvatar
@stable
A row's picture from `rowPicture(view.summary(row))`: the image, or initials when there is no safe image or it fails to load.
RowMenuButton
@beta
The "More" button and its menu for one row.
ScrollArea
@stable
ScrollArea — a scroll container with a consistent, styled scrollbar.
Section
@beta
Section — a titled region of a page: heading, optional description, optional trailing actions, and the content itself.
Select
@stable
Separator
@stable
SettingsPage
@stable
SettingsRow
@beta
SettingsRow — label + description on one side, an arbitrary trailing control (Switch, Select, Button, Badge, ...) on the other.
ShareDialog
@stable
Sharing one published page (a form, a course, a worksheet), as Google Forms' Send step: its link with Copy, a QR code (and a printable poster when the host has
Sheet
@stable
SheetGrid
@experimental
A spreadsheet grid: virtualized rows, a keyboard-driven active cell and range, in-place editing, and copy and paste through the system clipboard as tab-separate
showUndoToast
@stable
The undo toast for an `undoable` write (core's `onUndoable`): a sonner toast with an Undo button, shown for as long as the undo is offered.
singleValues
@beta
The single values of a filter: what a new row made from the list starts with.
Skeleton
@stable
Slider
@stable
Slots
@stable
`{ [part]: Component | null }` — see {@link renderSlot}.
SortableList
@beta
A vertical list the user can rearrange: course steps, lesson blocks, form fields.
spaceScale
@beta
Semantic spacing steps, in pixels, on the 4px design grid.
Spinner
@stable
Split
@beta
Split — the master-detail layout: two panes side by side above a breakpoint, stacked below it.
Stack
@beta
Stack — one-dimensional flow.
StatCard
@beta
A labelled number on a dashboard: the stat tile.
StatusBadge
@beta
Status-specific badge for progress/health states — the OKR-style "on track / at risk / off track" goal vocabulary plus common task-lifecycle states ("done", "bl
Stepper
@beta
Stepper — where a person is in a flow of steps (onboarding, a checkout, a form in steps): the twin of genesis-ui-native's NativeStepper, with the same `steps` and `current`.
SummaryCard
@stable
One card of a summary column: an icon and a title, a short line on the right ("24 responses · average 4.1"), then whatever summarises it (bars, quotes, a split bar).
Switch
@stable
TabBar
@beta
A bottom tab bar for a phone-width web screen, the twin of genesis-ui-native's `NativeTabBar`: any number of items, and past `max` (5) the last slot is "More",
Table
@stable
Tabs
@stable
Tabs — a tablist and its panels.
Textarea
@stable
ThreadList
@beta
A conversation's list.
ThreadPage
@beta
ThreadPage — one conversation on the web: messages oldest first, a composer at the bottom, attachments, a read receipt, earlier pages, going to a message, the f
TierBadge
@stable
TimePicker
@beta
TimePicker — a time of day, picked from a list or typed: the twin of genesis-ui-native's NativeTimePicker.
timeStorage
@beta
How a field stores time, from its database type (an unknown type with a time counts as an instant).
Toaster
@stable
Toggle
@stable
ToggleGroup
@stable
ToggleRow
@beta
ToggleRow — `SettingsRow` pre-wired with a `Switch`: the common label+description+on/off row for settings and preferences UI.
Toolbar
@beta
Toolbar — a grouped set of controls that behaves as ONE tab stop.
Tooltip
@stable
Tooltip — hover/focus hint anchored to its trigger child.
TreeIndent
@stable
The indent for a row's depth, its expand arrow (or a spacer for a leaf), then the row's content.
uiMessages
@stable
Every word Genesis UI's data components show or announce, in English.
useAnnouncer
@stable
A polite live-region message for drag and drop (SortableList, KanbanBoard).
useBoardColumns
@beta
Load a board: one request per column page, each with the shared filters, sort and search plus the column's value.
useBrowserSearchParams
@beta
Browser-native {@link SearchParamsAdapter} built on the History API.
useFollowedState
@stable
State that starts from a prop and follows it when the prop changes: an uncontrolled default that a parent can still move (a new `anchor` or `layout`).
UserAvatar
@beta
UserAvatar — canonical user-identity avatar.
useReactRouterNavigate
@beta
{@link NavigateFn} backed by React Router's `useNavigate()`.
useResourceTable
@beta
The list behind {@link ResourcePage }, without any markup: where the rows come from (a `resource` through the data provider, or `data` you pass), search, sort,
useTanStackRouterNavigate
@beta
{@link NavigateFn} backed by the TanStack router.
useViewBoard
@beta
A view's rows as board columns, with moves: Throws when the view has no board field and the options name none, or names one a board can't use (a field without choices).
useViewCalendarRange
@beta
A view's rows in one calendar window, for a screen that places them itself (a custom view, ADR 0019).
useViewList
@beta
A view's list, headless: the same scope, filters and permissions as `<ResourceView>`, one page at a time, for a screen that draws the rows itself (a custom view
validateAppTheme
@beta
Every problem with an app theme input; empty when it is sound.
ViewSettings
@stable
ViewToggle
@stable
VisuallyHidden
@beta
VisuallyHidden — content removed from the visual layout but kept in the accessibility tree.
WhatsNewSheet
@beta
WhatsNewSheet — a release's notes after an update, in a dialog: the twin of genesis-ui-native's NativeWhatsNewSheet, with the same `notes`, `dismiss`, `onOpenNote` and labels.
Widget
@beta
One widget, drawn on the one widget tile (`WidgetTile`).
WidgetGrid
@beta
A dashboard's widgets on a responsive grid: one column on a phone, `columns` at the widest, with a chart or a list spanning more.
WidgetTile
@beta
The tile every widget draws.
WizardForm
@stable
WorkspaceSwitcher
@beta
The workspace switcher.