@umriss-ui/core 0.51.0 → 0.52.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/API.md ADDED
@@ -0,0 +1,1415 @@
1
+ # @umriss-ui/core API
2
+
3
+ Generated by the props step (`pnpm --filter @umriss-ui/core props`); do not edit. First sentences only; the full text is `docs/llms-full.md`.
4
+
5
+ ## Components
6
+
7
+ - Accordion — Sections behind headers that open and close: one at a time (`single`) or any number (`multiple`).
8
+ - AccordionItem — One section of an `Accordion`: its header and the content it opens.
9
+ - Alert — A message that stays put in the page - for what a toast would carry away too soon.
10
+ - AngleGlyph — The chevron that expands and collapses a branch.
11
+ - Avatar — A mark for a person or a team: a picture, or initials.
12
+ - Badge — Compact status label; as a `pill` for counters.
13
+ - Breadcrumb — Where a page stands: the trail from the root to the current page.
14
+ - Button — A button with a label.
15
+ - ButtonGroup — Buttons standing side by side as one control: square inside, rounded outside, a hairline between them.
16
+ - CalendarGlyph — A calendar leaf: a sheet with its header and two rings.
17
+ - Card — A surface that groups content under a head: `CardHeader` and `CardBody` inside a `section`.
18
+ - CardBody — The content of a `Card`; the part that folds away in a collapsible card.
19
+ - CardHeader — The head of a `Card`: title, an optional eyebrow and actions on the right.
20
+ - Checkbox — A native checkbox with its label beside it; `indeterminate` shows the mixed state.
21
+ - ClockGlyph — A clock face at a quarter past - the time pickers' character.
22
+ - Combobox — A searchable select field (the combobox pattern with a listbox panel).
23
+ - CommandPalette — A window above the application in which one types and finds: it searches `items` by subsequence, ranks and marks the matches, and reports the chosen candidate's `id` to `onChoose`.
24
+ - ConfirmDialog — Compact confirmation dialog on the basis of Modal.
25
+ - ContextMenu — A menu that opens at a point instead of under a trigger – for a right-click on something that is not a button: a canvas, a row, a subtask.
26
+ - ControlSizeProvider — Sets the size of the controls inside it - every control with `size` takes it unless it says its own.
27
+ - CrossGlyph — The cross that clears a field, removes a tag or a chip, and closes a dialog, a toast or an alert - one drawing at the size of its place.
28
+ - DatePicker — A date selection with a calendar panel; weeks begin on Monday.
29
+ - DateRangePicker — The time span selection - the convenience component of the library.
30
+ - DateTimePicker — A date and a time of day in one field, with a calendar panel.
31
+ - DateTimeRangePicker — A time span with times at both ends - the same interaction logic as the DateRangePicker, extended by times, without sacrificing the lightness: - Two clicks set the days (backwards allowed, the ends swap silently), after which the focus jumps straight into the first time field: type 0800, slide on, type 1700, Enter - done.
32
+ - Divider — A line between rows or columns; with `label` a named separator.
33
+ - Drawer — A `Modal` that stands at an edge of the window and enters from it - the same dialog with the same head, body and foot.
34
+ - EmptyState — An empty surface as an invitation to act - not as a dead end.
35
+ - EndGlyph — The chevron against a bar: the last step of a sequence.
36
+ - FileInput — A file field with a drop zone: choose or drop files, and remove them from the list again.
37
+ - FormField — A label, a hint or error and the control they belong to.
38
+ - FormFieldBoundary — Resets the FormField context.
39
+ - Grid — Children in a grid: a fixed number of columns, a list of column widths, or as many columns as fit at `minItemWidth`.
40
+ - GridGlyph — The grid laid over an area.
41
+ - GripGlyph — The grip a drag is taken by: two grooves.
42
+ - Heading — A heading whose level and size are independent: a small heading can still be the second level of the page.
43
+ - IconButton — A button that shows only an icon: square, named by its `aria-label`, and that name shown as a tooltip.
44
+ - Input — A one-line text field.
45
+ - LanguageProvider — Sets formatting and wording for the subtree below.
46
+ - Link — A link in the size of its text; `external` opens it in a new tab with the protective attributes set.
47
+ - MeasureGlyph — Measuring: a line with two end marks.
48
+ - Menu — A dropdown menu: `trigger` opens a panel of `MenuItem`s below it.
49
+ - MenuItem — An entry of a `Menu` or a `ContextMenu`.
50
+ - MenuSeparator — Fine dividing line between groups of menu entries.
51
+ - Meter — A narrow fill-level bar, e.g. for utilisation in table cells.
52
+ - MinusGlyph — The minus of `NumberInput`'s step buttons.
53
+ - Modal — A dialog window in the middle of the screen, on the native `<dialog>`: focus trap and Escape come from the browser, the page's scroll lock and the focus's return from the library.
54
+ - ModalBody — The content of a `Modal` or `Drawer` - the part that scrolls while head and foot stand fast.
55
+ - ModalFooter — The foot of a `Modal` or `Drawer`, for its buttons; they stand at the end.
56
+ - ModalHeader — The head of a `Modal` or `Drawer`: its title, which names the dialog for a screen reader, an optional sentence below it, and the close cross.
57
+ - MoreGlyph — The "more" of a menu trigger: three dots.
58
+ - MultiSelect — Multiple selection.
59
+ - NumberInput — Number input in the notation of the formats (`useFormats`): its decimal and group separators are read and written, the group separators set on leaving and tolerated while typing.
60
+ - PlusGlyph — The plus of `NumberInput`'s step buttons.
61
+ - Popover — The one closable, anchored surface.
62
+ - ProgressBar — How far a task has come, from 0 to 1 - or, without a value, that it runs.
63
+ - RadioGroup — One choice out of a few possibilities, all of them visible.
64
+ - RangeSlider — Two values, a lower and an upper end, on one track between `min` and `max`; the ends never cross.
65
+ - SegmentedControl — One choice out of a few short possibilities, drawn as one field with a segment for each - a radio group in what it says and how the keys move.
66
+ - Select — The select field.
67
+ - Skeleton — Loading placeholder with a restrained pulse; respects prefers-reduced-motion.
68
+ - Slider — One value on a track between `min` and `max`, on the native range input; `marks` set labelled points on the track.
69
+ - Sparkline — A miniature trend line for table cells; the end point carries the accent.
70
+ - Spinner — Restrained loading indicator; inherits the text colour of its context.
71
+ - SplitButton — A main action with a menu of its variants: the button on the left runs `onClick`, the arrow on the right opens `menu`.
72
+ - Splitter — Two panes and the line between them.
73
+ - Stack — Children below or beside one another, spaced by a step of the spacing scale.
74
+ - Stat — Metric tile: one value, read against its limits.
75
+ - Stepper — Where a procedure stands: its steps in order, done, current, upcoming or failed.
76
+ - Switch — An on/off switch that takes effect at once - a native checkbox with `role="switch"`.
77
+ - Tab — One tab of a `TabList`; choosing it shows the `TabPanel` of the same `value`.
78
+ - TabList — The row of `Tab`s inside `Tabs`.
79
+ - TabPanel — The content of one tab.
80
+ - Tabs — Tabs: a `TabList` of `Tab`s and one `TabPanel` per value.
81
+ - Tag — A short label with a tone; with `onRemove` it carries a cross that removes it.
82
+ - TagGroup — A list of `Tag`s with one tab stop: the arrow keys move between them, and the focus stays in the group when one is removed.
83
+ - Text — Body text from the token set; `as` chooses the element, independent of the size.
84
+ - Textarea — A text field for several lines.
85
+ - TimeInput — A time of day as hour and minute (and second) fields that type themselves onwards, the arrows count and a pasted "14:30" is split - the DateTimePicker's time fields, alone.
86
+ - ToastProvider — Holds the toasts and draws them; `useToast` works only below it.
87
+ - ToneGlyph — What a tone looks like beside its colour: a tick for success, an exclamation in a circle for danger, in a triangle for warning, and an "i" in a circle for the neutral and accent tones.
88
+ - Tooltip — Appears on hover and keyboard focus; purely descriptive (role="tooltip").
89
+ - TreeSearch — The search field of a tree: an `Input` that writes into the tree's search text, so that the `TreeView` filters on it.
90
+ - TreeView — The tree as a control: draws the nodes of a `Tree` from `useTree` as a `tree` with keyboard navigation, typeahead and, with `checkable`, ticks.
91
+ - UmrissProvider — The root provider.
92
+ - VisuallyHidden — Content for the screen reader only: out of sight, but read out.
93
+
94
+ ## Hooks
95
+
96
+ - useCommandPaletteShortcut — Binds Cmd+K/Ctrl+K and "/" to the opening of a palette.
97
+ - useContextMenuTrigger — Opens a `ContextMenu` the same way on every device: on a right-click (at the pointer), on the context-menu key or Shift+F10 (at the target's box) and on a long press with a finger (at the finger), which is the only way on iOS.
98
+ - useDensity — The configured density; without a provider, "comfortable".
99
+ - useDensityFor — A component's `density`: its own value, else the density the provider explicitly configured, else its own default.
100
+ - useFormField — Used by Input, Select and Checkbox to wire up id and aria automatically.
101
+ - useFormats — Only the formatting.
102
+ - useFreshness — Judges a value's as-of time continuously and causes a redraw when it changes state.
103
+ - useLanguage — Formatting and wording together; without a provider, the defaults.
104
+ - usePortalTarget — Resolves the configured portal target.
105
+ - useTimeZoneLabel — The name of the formats' time zone, for a view that shows instants: set when the formats name a zone, the page has hydrated, and the reader's own zone is another; `null` otherwise.
106
+ - useToast — Access to `toast()`, `update()` and `dismiss()`; requires a ToastProvider.
107
+ - useToastConfig — The setting for toasts; without a provider, empty.
108
+ - useTree — The state of a tree - which branches are open, which nodes are checked, the active node, the anchor and the search text - and the gestures on it.
109
+ - useUmriss — The whole configuration; without a provider, the defaults.
110
+ - useVirtual — Holds the scroll position and the measured heights and derives the window from them.
111
+ - useWording — Only the wording.
112
+
113
+ ## Functions
114
+
115
+ - age — The age of an as-of time at the reference time, in milliseconds.
116
+ - allBranches — Every loaded branch with content.
117
+ - announce — The library's one voice: says `text` in a polite live region, for what happened without a visible change in the place a reader is at - a copy made, a count after a filter.
118
+ - assess — What the value is, given the limit set.
119
+ - cadence — The cadence at which a display has to re-judge itself, in milliseconds - derived from the ages, not from a fixed second.
120
+ - createLongPress — The one long-press detector, a plain function over pointer events so that code outside React can use it.
121
+ - duplicateKey — The first key that occurs twice, otherwise null.
122
+ - formatsFor — Every format of one locale, built once.
123
+ - freshness — The freshness of a value: its as-of time, measured against a reference time, placed against the two ages.
124
+ - hasWarned — Whether `warnOnce` has already spoken for this package and reason.
125
+ - mergeLanguage — Builds a complete instance from the default and a partial value.
126
+ - rangeDays — The number of days in the range, both ends included.
127
+ - resetAnnouncer — For tests: drops a waiting announcement and empties every region, so that no text carries into the next test.
128
+ - scrollForRow — The scroll position at which a row is visible - or null where it already is.
129
+ - separatorsOf — The separators a set of formats writes, read off the formats themselves.
130
+ - treeModel — The visible nodes in reading order.
131
+ - verdictWeight — How heavily a verdict weighs - for sorting and comparing, as when a matrix brings the worst tile to the top.
132
+ - visibleWindow — The window for the current scroll position.
133
+ - warnOnce — One development console warning per package and reason; silent in production.
134
+ - writeNumber — A number as its format says, through the set's own functions - so an application's replaced `number`, `percent` or `count` is the one called.
135
+ - zoneDayStart — The instant at which the zone's day containing `instant` begins; `undefined` is the reader's zone.
136
+ - zoneFields — The wall-clock fields of an instant in a zone; `undefined` is the reader's.
137
+ - zoneInstant — The instant at which a zone's clock shows the given fields; `undefined` is the reader's zone.
138
+
139
+ ## Constants
140
+
141
+ - DEFAULT_FORMATS — The instance shipped by default: English notation on a 24-hour clock (ADR-0024).
142
+ - DEFAULT_LANGUAGE — English formats and English wording - what every component uses without a `LanguageProvider`.
143
+ - DEFAULT_PRESETS — The same time spans with the preset labels.
144
+ - DEFAULT_SEPARATORS — The separators of the default notation.
145
+ - DEFAULT_WORDING — The instance shipped by default.
146
+
147
+ ## Types
148
+
149
+ - AccordionItemProps — The props of `AccordionItem`: a div's attributes, with `title` taking the header's node instead of the HTML attribute.
150
+ - AccordionProps — The props of `Accordion`.
151
+ - AlertProps — The props of `Alert`: a div's attributes, with `title` taking a heading node instead of the HTML attribute.
152
+ - AlertTone — How urgent an alert is; it also decides whether a screen reader is interrupted.
153
+ - Align — Where the panel lines up with its anchor along the side it stands on.
154
+ - Assessment — The verdict and what led to it. [verdict, limit, excess, deviation]
155
+ - AvatarProps — The props of `Avatar`.
156
+ - AvatarSize — The size of an avatar: `sm` for a table cell, `md` for a lane's header.
157
+ - BadgeProps — The props of `Badge`.
158
+ - BadgeTone — What a badge stands for - never the only statement, a word stands beside it.
159
+ - BreadcrumbEntry — One level of the trail. [label, href, onSelect]
160
+ - BreadcrumbProps — The props of `Breadcrumb`.
161
+ - ButtonGroupProps — The props of `ButtonGroup`.
162
+ - ButtonProps — The props of `Button`: a native button's attributes and its look.
163
+ - ButtonSize — A button's two heights - the controls' (`ControlSize`).
164
+ - ButtonVariant — How loud a button is: `primary` for the one main action, `secondary` by default, `ghost` quiet in the accent, `plain` quiet and neutral, `danger` for a destructive action.
165
+ - CardBodyProps — The props of `CardBody`.
166
+ - CardHeaderProps — The props of `CardHeader`: a div's attributes, with `title` taking a node instead of the HTML attribute.
167
+ - CardProps — The props of `Card`.
168
+ - CheckboxProps — The props of `Checkbox`: a native checkbox's attributes and its label.
169
+ - ComboboxOption — One possibility of a `Combobox`: the value it stands for and the label it is found by. [value, label, disabled]
170
+ - ComboboxProps — The props of `Combobox`.
171
+ - CommandPaletteItem — A candidate the palette can find - the outside of the term CONTEXT.md lists under "Finding" as a Candidate. [id, label, group, searchedGroup, icon, weight, keywords]
172
+ - CommandPaletteProps — The props of `CommandPalette`.
173
+ - CommandPaletteShortcutOptions — Options of `useCommandPaletteShortcut`. [slash, target]
174
+ - ConfirmDialogProps — The props of `ConfirmDialog`.
175
+ - ContextMenuProps — The props of `ContextMenu`.
176
+ - ContextMenuTriggerProps — What `useContextMenuTrigger` returns: spread it on the target.
177
+ - ControlSize — The two heights of a control: `sm` for a toolbar and dense forms, `md` otherwise.
178
+ - ControlSizeProviderProps — The props of `ControlSizeProvider`.
179
+ - DatePickerProps — The value contract: every way - the grid, "Today", clearing - hands out midnight in the formats' zone (the reader's, unless the application names one; resolution "day").
180
+ - DateRange — A span between two dates, both ends included - the value of `DateRangePicker` and `DateTimeRangePicker`. [from, to]
181
+ - DateRangePickerProps — The value contract: both ends on midnight in the formats' zone (resolution "day"), and `from` never lies after `to` - a range dragged backwards is silently turned around.
182
+ - DateTimePickerProps — The value contract: an exact instant (resolution "instant"), with seconds depending on `withSeconds`.
183
+ - DateTimeRangePickerProps — The props resemble the union of DateRangePickerProps and DateTimePickerProps - the promises expressly do NOT.
184
+ - Density — How densely the library builds.
185
+ - Direction — Where the active node moves: up and down the visible rows, in and out of a branch, to the first or the last row.
186
+ - DividerProps — The props of `Divider`.
187
+ - DrawerProps — The props of `Drawer`: a `Modal`'s, with `side` in place of `size`.
188
+ - EmptyStateProps — The props of `EmptyState`: a div's attributes, with `title` taking a node instead of the HTML attribute.
189
+ - FileInputProps — The props of `FileInput`: a native file input's attributes, with the files as the value.
190
+ - FlatteningEntry — One visible node of a tree, with everything a row needs to be drawn and read out: level, branch or leaf, check state, search state and position among its siblings. [node, key, level, label, branch, empty, disabled, unloaded, expanded, checked, indeterminate, active, matches, pathOnly, position, siblings]
191
+ - FormFieldContextValue — What `useFormField` returns: the wiring a field inside a FormField reads. [id, labelId, describedBy, invalid, required]
192
+ - FormFieldProps — The props of `FormField`.
193
+ - Formats — Everything the library knows about formatting. [locale, timeZone, timeZoneName, date, dateShort, month, monthName, dateLong, weekStart, time, dateTime, offset, number, numberWith, count, percent, compareText, relative]
194
+ - Freshness — How old a value is right now - independently of how it is judged and how far its source vouches for it.
195
+ - FreshnessAges — The two ages at which a value changes its state, in milliseconds. [stale, lost]
196
+ - FreshnessInstant — What may come in as an as-of time or a reference time.
197
+ - FreshnessReading — What `useFreshness` returns: how fresh the value is, how old, and the time the reading was taken at. [freshness, age, now]
198
+ - GlyphProps — The props of a glyph: an SVG's attributes and its edge length.
199
+ - GridColumnWidth — The width of one column in `Grid`'s list: a number in pixels, or `"fill"` for a share of what the other columns leave.
200
+ - GridProps — The props of `Grid`.
201
+ - HeadingProps — The props of `Heading`.
202
+ - IconButtonProps — The props of `IconButton`: a `Button`'s, with a required `aria-label` and the icon as its only child.
203
+ - InputProps — The props of `Input`: a native input's attributes, with `size` meaning the control's height.
204
+ - Key — A node's key, as `reader.key` returns it.
205
+ - Language — A complete language: the formats for numbers and dates, and the wording. [formats, wording]
206
+ - LanguageOptions — What an application can pass in for formatting and wording. [formats, wording]
207
+ - LanguageProviderProps — The props of `LanguageProvider`: the parts of the formats and the wording that differ from the default.
208
+ - Limit — A bound: a value, a side, a severity. [value, side, severity]
209
+ - LimitSet — The set a value is read against. [limits, target]
210
+ - LinkProps — The props of `Link`.
211
+ - LongPress — A press detector over pointer events; see `createLongPress`.
212
+ - MenuItemProps — The props of `MenuItem`: a button's attributes, with `onSelect` for what the entry does.
213
+ - MenuProps — The props of `Menu`.
214
+ - MeterProps — The props of `Meter`.
215
+ - MeterTone — The colour of a meter's bar - an assessment, never the only statement.
216
+ - ModalHeaderProps — The props of `ModalHeader`: a div's attributes, with `title` taking a node instead of the HTML attribute; without it, the children are the heading.
217
+ - ModalProps — The props of `Modal`: a native dialog's attributes, controlled through `open` and `onClose`.
218
+ - ModalSize — The width of a `Modal`.
219
+ - MultiSelectOption — One possibility of a `MultiSelect`: the value it stands for and its label. [value, label, disabled]
220
+ - MultiSelectProps — The props of `MultiSelect`.
221
+ - NodeReader — How a node is read - handed over once, not per node. [key, children, label, disabled, unloaded, matches]
222
+ - NumberFormat — How a number is written: a share, a count, or Intl's options.
223
+ - NumberInputProps — The props of `NumberInput`: a native input's attributes, with the value a number or `null`.
224
+ - NumberOptions — Intl's number options, plus `decimals`: the shorthand for the minimum and the maximum fraction digits.
225
+ - PopoverProps — The props of `Popover`.
226
+ - PortalTarget — Where overlays portal to.
227
+ - PressPoint — Where the finger stands, in client coordinates. [x, y]
228
+ - PressPointer — What the detector reads of a pointer event - a DOM or a React one fits. [pointerType, clientX, clientY]
229
+ - ProgressBarProps — The props of `ProgressBar`.
230
+ - Quality — How far a value's source vouches for it - independently of how the value is judged and how old it is.
231
+ - RadioGroupProps — The props of `RadioGroup`.
232
+ - RadioOption — One possibility of a `RadioGroup`: its value, its label and an optional line of explanation. [value, label, description, disabled]
233
+ - RangePreset — A shortcut in a range picker's panel: its label, and a function that computes the range when it is chosen - so that "Last 7 days" is counted from the moment of the click. [label, range]
234
+ - RangeSliderProps — The props of `RangeSlider`.
235
+ - RangeSliderValue — The two ends of a range on the track, `[from, to]`.
236
+ - RefProp — The `ref` of a component: the element it renders at its root. [ref]
237
+ - RowPlacement — What `scrollForRow` needs to know about a scroll area. [rowHeight, scrollTop, viewportHeight, headerHeight]
238
+ - RowWindow — The rows to render - `from` up to, not including, `to` - and the heights of the filler rows that stand for the rest. [from, to, before, after]
239
+ - SegmentedControlProps — The props of `SegmentedControl`.
240
+ - SegmentedOption — One possibility of a `SegmentedControl`: its value and its short label. [value, label, icon, disabled]
241
+ - SelectProps — The props of `Select`: a native select's attributes, with `size` meaning the control's height.
242
+ - Separators — The two characters a notation separates with. [group, decimal]
243
+ - Severity — How seriously a violation weighs: one severity that advises and one that calls for action.
244
+ - Side — Whether a limit is an upper or a lower bound.
245
+ - SkeletonProps — The props of `Skeleton`.
246
+ - SliderMark — A mark on the track: a value, or a value with the word beneath it.
247
+ - SliderProps — The props of `Slider`.
248
+ - SpaceStep — A step of the spacing scale, from 1 (4 px) to 8 (40 px) - the tokens `--u-space-1` to `--u-space-8`.
249
+ - SparklineProps — The props of `Sparkline`.
250
+ - SpinnerProps — The props of `Spinner`.
251
+ - SplitButtonProps — The props of `SplitButton`: a `Button`'s for the main action, plus the menu's entries.
252
+ - SplitterProps — The props of `Splitter`.
253
+ - StackProps — The props of `Stack`.
254
+ - StatProps — The props of `Stat`.
255
+ - StepperProps — The props of `Stepper`.
256
+ - StepperStep — One step of a procedure. [label, description, failed]
257
+ - SwitchProps — The props of `Switch`: a native checkbox's attributes and its label.
258
+ - TabPanelProps — The props of `TabPanel`.
259
+ - TabProps — The props of `Tab`.
260
+ - TabsProps — The props of `Tabs`.
261
+ - TagGroupProps — The props of `TagGroup`: a div's attributes, with a required name.
262
+ - TagProps — The props of `Tag`.
263
+ - TagTone — What a tag stands for - never the only statement, its text says it too.
264
+ - TextLeading — The line height of the token set.
265
+ - TextProps — The props of `Text`.
266
+ - TextSize — A type size of the token set.
267
+ - TextTone — How loud a text is; `secondary` and `muted` step back without falling below the contrast threshold.
268
+ - TextTracking — The letter spacing of the token set.
269
+ - TextWeight — A font weight of the token set.
270
+ - TextareaProps — The props of `Textarea`: a native textarea's attributes, with `chars` in place of `cols`.
271
+ - TimeInputProps — The props of `TimeInput`.
272
+ - ToastAction — The one action a toast may carry, e.g. "Undo". [label, onClick]
273
+ - ToastCloseReason — Why a toast went: its time ran out, it was closed (or gave way to a newer one), or its action was taken.
274
+ - ToastConfig — The defaults for every toast, set on `UmrissProvider`'s `toast`. [duration, position, limit]
275
+ - ToastContextValue — What `useToast` returns: the functions that show, change and close toasts. [toast, update, dismiss]
276
+ - ToastOptions — What a toast says and how - what `toast()` and `update()` from `useToast` take. [title, description, tone, duration, action, onClose]
277
+ - ToastPosition — Where the toasts stand: an edge of the window and a place along it.
278
+ - ToastProviderProps — The props of `ToastProvider`.
279
+ - ToastTone — How the message turns out; `loading` is a toast still at work.
280
+ - TooltipProps — The props of `Tooltip`.
281
+ - Tree — What `useTree` returns: the visible nodes and the gestures on them. [flattening, active, search, toggleExpanded, toggleCheck, activate, move, setSearch, revealNode, revealPath, expandAll, collapseAll, typeahead, checkTo, moveAndCheck, toggleAll, revealCount, virtual]
282
+ - TreeOptions — The options of `useTree`: how a node is read, and each of its values either uncontrolled (`default…`) or controlled with its `on…` handler. [reader, defaultExpanded, defaultChecked, defaultActive, expanded, checked, active, anchor, search, onExpanded, onChecked, onActive, onAnchor, onSearch, onActivate, onLoadChildren, virtual]
283
+ - TreeSearchProps — The props of `TreeSearch`: an `Input`'s, with the tree in place of `value` and `onChange`.
284
+ - TreeSnapshot — The whole state of a tree, as plain values: the open branches, the checked nodes, the active node, the anchor and the search text. [expanded, checked, active, anchor, search]
285
+ - TreeViewProps — The props of `TreeView`.
286
+ - UmrissConfig — The settings of `UmrissProvider` as the components read them, every value filled in. [density, portalTarget, toast]
287
+ - UmrissProviderProps — The props of `UmrissProvider`.
288
+ - Verdict — What a value is.
289
+ - VirtualOptions — The options of `useVirtual`. [rowHeight, overscan]
290
+ - VirtualRows — What `useVirtual` returns: the ref for the scroll area, the window of rows to render and the heights of the filler rows around it. [scrollRef, from, to, fillerBefore, fillerAfter, count, showRow, onScroll]
291
+ - VisuallyHiddenProps — The props of `VisuallyHidden`: those of the element `as` names, `span` by default.
292
+ - WindowInput — What `visibleWindow` needs to know about a scroll area and its rows. [count, rowHeight, scrollTop, viewportHeight, overscan]
293
+ - Wording — Everything the library puts out as text.
294
+ - ZoneClock — The fields a wall clock shows. [year, month, day, hours, minutes, seconds, milliseconds]
295
+ - ZoneFields — The wall-clock fields of an instant. [year, month, day, hours, minutes, seconds, weekday]
296
+
297
+ ## @umriss-ui/core/wording/de
298
+
299
+ - GERMAN_FORMATS — The German notation: 17.03.2026, 09:05, 1.204,5, "vor 3 Minuten" - and German collation, which files Ä with A.
300
+ - GERMAN_WORDING — The German instance.
301
+
302
+ ## Props
303
+
304
+ ### Accordion
305
+
306
+ #### props (AccordionProps)
307
+
308
+ - type?: "single" | "multiple" — `single` keeps at most one section open, `multiple` any number. (default: "single")
309
+ - value?: readonly string[] — Controlled: the values of the open sections.
310
+ - defaultValue?: readonly string[] — Uncontrolled: the sections open at the start. (default: [])
311
+ - onChange?: (value: string[]) => void — Reports the open sections after a header's click.
312
+ - headingLevel?: 2 | 3 | 4 | 5 | 6 — The level of the heading each header stands in - the one that fits the page's outline. (default: 3)
313
+ - ref?: Ref<HTMLDivElement> | undefined — Receives the component's root element.
314
+
315
+ ### AccordionItem
316
+
317
+ #### props (AccordionItemProps)
318
+
319
+ - value: string — What names the section in the accordion's `value`.
320
+ - title: ReactNode — The header's text.
321
+ - disabled?: boolean — A section that cannot be opened now; its header stays in the list. (default: false)
322
+ - ref?: Ref<HTMLDivElement> | undefined — Receives the component's root element.
323
+
324
+ ### Alert
325
+
326
+ #### props (AlertProps)
327
+
328
+ - tone?: AlertTone — How urgent the message is. (default: "neutral")
329
+ - title?: ReactNode — Heading; without it the body text carries the message on its own.
330
+ - actions?: ReactNode — Actions below the text, e.g. "Try again".
331
+ - onDismiss?: () => void — Shows a dismiss cross and calls this.
332
+ - dismissLabel?: string — Label of the dismiss cross. (default: the wording's "Close message")
333
+ - ref?: Ref<HTMLDivElement> | undefined — Receives the component's root element.
334
+
335
+ ### AngleGlyph
336
+
337
+ #### props (GlyphProps)
338
+
339
+ - size?: number — Edge length in pixels. (default: 12)
340
+ - ref?: Ref<SVGSVGElement> | undefined — Receives the component's root element.
341
+
342
+ ### Avatar
343
+
344
+ #### props (AvatarProps)
345
+
346
+ - name: string — The person's or the team's name: it names the mark for a screen reader and the initials are derived from it.
347
+ - src?: string — A picture.
348
+ - initials?: string — The letters shown when there is no picture. (default: the first letters of the first and the last word of `name`)
349
+ - size?: AvatarSize — `sm` for a table cell, `md` for a lane's header. (default: "md")
350
+ - ref?: Ref<HTMLSpanElement> | undefined — Receives the component's root element.
351
+
352
+ ### Badge
353
+
354
+ #### props (BadgeProps)
355
+
356
+ - tone?: BadgeTone — What the badge stands for. (default: "neutral")
357
+ - pill?: boolean — Fully rounded pill shape - for counters and key figures. (default: false)
358
+ - ref?: Ref<HTMLSpanElement> | undefined — Receives the component's root element.
359
+
360
+ ### Breadcrumb
361
+
362
+ #### props (BreadcrumbProps)
363
+
364
+ - items: readonly BreadcrumbEntry[] — The trail from the root to the current page; the last is the page.
365
+ - ref?: Ref<HTMLElement> | undefined — Receives the component's root element.
366
+
367
+ ### Button
368
+
369
+ #### props (ButtonProps)
370
+
371
+ - variant?: ButtonVariant — How loud the button is. (default: "secondary")
372
+ - size?: ButtonSize — `sm` for buttons in header bars and table rows, `md` otherwise. (default: the size of a `ControlSizeProvider` around it, else `"md"`)
373
+ - loading?: boolean — Shows a loading indicator and locks the button. (default: false)
374
+ - ref?: Ref<HTMLButtonElement> | undefined — Receives the component's root element.
375
+
376
+ ### ButtonGroup
377
+
378
+ #### props (ButtonGroupProps)
379
+
380
+ - aria-label?: string — Label of the group for the screen reader.
381
+ - size?: ButtonSize — The size of the buttons in it that do not say their own - one group, one height. (default: the size around it, else `"md"`)
382
+ - ref?: Ref<HTMLDivElement> | undefined — Receives the component's root element.
383
+
384
+ ### CalendarGlyph
385
+
386
+ #### props (GlyphProps)
387
+
388
+ - size?: number — Edge length in pixels. (default: 12)
389
+ - ref?: Ref<SVGSVGElement> | undefined — Receives the component's root element.
390
+
391
+ ### Card
392
+
393
+ #### props (CardProps)
394
+
395
+ - collapsible?: boolean — Allows collapsing and expanding the body through the header. (default: false)
396
+ - defaultCollapsed?: boolean — Initial state of the collapse mechanism; afterwards it belongs to the card. (default: false)
397
+ - collapsed?: boolean — Controlled: whether the body is folded away - for a card folded from outside, or one whose state is kept in an address.
398
+ - onCollapsedChange?: (collapsed: boolean) => void — Reports the wish of the header's button.
399
+ - ref?: Ref<HTMLElement> | undefined — Receives the component's root element.
400
+
401
+ ### CardBody
402
+
403
+ #### props (CardBodyProps)
404
+
405
+ - flush?: boolean — Removes the inner padding, e.g. for flush tables. (default: false)
406
+ - ref?: Ref<HTMLDivElement> | undefined — Receives the component's root element.
407
+
408
+ ### CardHeader
409
+
410
+ #### props (CardHeaderProps)
411
+
412
+ - title: ReactNode — The heading of the card.
413
+ - eyebrow?: ReactNode — Small all-caps label above the title, e.g. a category.
414
+ - actions?: ReactNode — Right-aligned area, e.g. buttons or badges.
415
+ - divider?: boolean — A dividing line below the head. (default: false)
416
+ - ref?: Ref<HTMLDivElement> | undefined — Receives the component's root element.
417
+
418
+ ### Checkbox
419
+
420
+ #### props (CheckboxProps)
421
+
422
+ - label?: ReactNode — Label to the right of the checkbox.
423
+ - indeterminate?: boolean — Partially checked (e.g. "select all" with a mixed selection). (default: false)
424
+ - invalid?: boolean — Marks the checkbox as invalid.
425
+ - onCheckedChange?: (checked: boolean) => void — Runs with the new state on every click.
426
+ - ref?: Ref<HTMLInputElement> | undefined — Receives the component's root element.
427
+
428
+ ### ClockGlyph
429
+
430
+ #### props (GlyphProps)
431
+
432
+ - size?: number — Edge length in pixels. (default: 12)
433
+ - ref?: Ref<SVGSVGElement> | undefined — Receives the component's root element.
434
+
435
+ ### Combobox
436
+
437
+ #### props (ComboboxProps)
438
+
439
+ - options: readonly ComboboxOption<T>[] — The possibilities, in their natural order.
440
+ - value?: T | null — The chosen value; `null` and `undefined` mean none.
441
+ - defaultValue?: T | null — Uncontrolled: the value to start at. (default: null)
442
+ - onValueChange?: (value: T | null) => void — Runs on choosing and on clearing (`null`).
443
+ - placeholder?: string — What stands in the empty field.
444
+ - size?: "sm" | "md" — `sm` for a toolbar and dense forms, `md` otherwise. (default: the size of a `ControlSizeProvider` around it, else `"md"`)
445
+ - chars?: number — The width in characters - room for the typed text and the chosen option; the field adds its own padding, chevron and cross.
446
+ - disabled?: boolean — Locks field and panel. (default: false)
447
+ - invalid?: boolean — Marks the field as invalid.
448
+ - emptyText?: string — Text shown for an empty search result.
449
+ - clearable?: boolean — Shows a cross on selection or input that clears field and selection. (default: false)
450
+ - onSearch?: (text: string) => void — Runs on every change of the typed text - the clearing cross's too, with `""` - and not on opening or closing.
451
+ - filter?: boolean — With `false` the field filters nothing: `options` are shown as given, in their order - the server's ranking. (default: true)
452
+ - loading?: boolean — Results are on their way: the list shows the wording's "Loading" line where it would show the empty text, below any `options` given, and is `aria-busy`. (default: false)
453
+ - creatable?: boolean — For string values: typed text that fits no option's label is offered as a last row, `Add "text"`, and Enter or a click makes it the value - reported through `onValueChange` like a choice. (default: false)
454
+ - onCreate?: (text: string) => void — With `creatable`: runs when the typed text was taken as the value, so the application can add it to `options`.
455
+ - ref?: Ref<HTMLInputElement> | undefined — Receives the component's root element.
456
+ - name?: string — Posts the value under this name in a `<form>` (a hidden input), as a native control would; empty posts `""`.
457
+ - formValue?: (value: T) => string — Replaces the default text a value is posted as.
458
+ - onChange?: (value: T | null) => void — The former name of `onValueChange`. (deprecated)
459
+
460
+ ### CommandPalette
461
+
462
+ #### props (CommandPaletteProps)
463
+
464
+ - open: boolean — Controlled like the modal: opening is the caller's decision.
465
+ - onClose: () => void — Reports every wish to close - Escape, an outside click, a choice.
466
+ - items: readonly CommandPaletteItem[] — The candidates that are searched.
467
+ - onChoose: (id: string) => void — Reports the `id` of the chosen candidate.
468
+ - restingItems?: readonly CommandPaletteItem[] — What stands there as long as nothing is typed.
469
+ - maxFinds?: number — The most finds that stand at once - the best by rank. (default: every find)
470
+ - ref?: Ref<HTMLDialogElement> | undefined — Receives the component's root element.
471
+
472
+ ### ConfirmDialog
473
+
474
+ #### props (ConfirmDialogProps)
475
+
476
+ - open: boolean — Whether the query stands.
477
+ - onClose: () => void — Cancelling: Escape, cross, backdrop or the second button.
478
+ - onConfirm: () => void | Promise<unknown> — Agreeing.
479
+ - title: ReactNode — The question, as a statement: "Delete invoice 2041?".
480
+ - description?: ReactNode — What about it cannot be taken back.
481
+ - confirmLabel?: string — Label of the agreeing button. (default: the wording's "Confirm")
482
+ - cancelLabel?: string — Label of the cancelling button. (default: the wording's "Cancel")
483
+ - tone?: "primary" | "danger" — "danger" for destructive actions. (default: "primary")
484
+ - loading?: boolean — Locks the actions, Escape and the backdrop while the confirmation is running. (default: false)
485
+ - ref?: Ref<HTMLDialogElement> | undefined — Receives the component's root element.
486
+
487
+ ### ContextMenu
488
+
489
+ #### props (ContextMenuProps)
490
+
491
+ - aria-label?: string — Accessible name of the menu: what it acts on.
492
+ - open: boolean — Whether the menu stands.
493
+ - onOpenChange: (open: boolean) => void — Reports every wish to change the state – an entry chosen, Escape, an outside click.
494
+ - position: { x: number; y: number } — Where the menu opens, in client coordinates – the point that `useContextMenuTrigger` hands to its callback (right-click, context-menu key or long press), or any `clientX` and `clientY` of your own.
495
+ - children: ReactNode — The entries – `MenuItem` and `MenuSeparator`, as in `Menu`.
496
+
497
+ ### ControlSizeProvider
498
+
499
+ #### props (ControlSizeProviderProps)
500
+
501
+ - size: ControlSize — The size of every control inside that does not say its own.
502
+ - children: ReactNode — The place the size holds for.
503
+
504
+ ### CrossGlyph
505
+
506
+ #### props (GlyphProps)
507
+
508
+ - size?: number — Edge length in pixels. (default: 12)
509
+ - ref?: Ref<SVGSVGElement> | undefined — Receives the component's root element.
510
+
511
+ ### DatePicker
512
+
513
+ #### props (DatePickerProps)
514
+
515
+ - value?: Date | null — The day, as a `Date` on midnight in the formats' zone (the reader's, unless the application names one); `null` means none.
516
+ - defaultValue?: Date | null — Uncontrolled: the value to start at. (default: null)
517
+ - onValueChange?: (date: Date | null) => void — Runs as soon as a day is settled - on a click in the grid, on "Today" and on clearing (`null`).
518
+ - placeholder?: string — What stands in the empty field.
519
+ - disabled?: boolean — Locks the field and the panel. (default: false)
520
+ - invalid?: boolean — Marks the field as invalid.
521
+ - size?: "sm" | "md" — `sm` for a toolbar and dense forms, `md` otherwise. (default: the size of a `ControlSizeProvider` around it, else `"md"`)
522
+ - chars?: number — The width in characters - room for the value; the field adds its own padding, glyph and cross.
523
+ - clearable?: boolean — Shows a cross where a value is set, which fades in on hover/focus and clears the value, and the open panel offers Clear. (default: false)
524
+ - min?: Date — The earliest day the picker offers, inclusive.
525
+ - max?: Date — The latest day the picker offers, inclusive; read as `min` is.
526
+ - ref?: Ref<HTMLButtonElement> | undefined — Receives the component's root element.
527
+ - name?: string — Posts the value under this name in a `<form>` (a hidden input), as a native control would; empty posts `""`.
528
+ - formValue?: (value: Date) => string — Replaces the default text a value is posted as.
529
+ - onChange?: (date: Date | null) => void — The former name of `onValueChange`. (deprecated)
530
+
531
+ ### DateRangePicker
532
+
533
+ #### props (DateRangePickerProps)
534
+
535
+ - value?: DateRange | null — The time span, both ends on midnight in the formats' zone (the reader's, unless the application names one) and both inclusive; `null` means none.
536
+ - defaultValue?: DateRange | null — Uncontrolled: the value to start at. (default: null)
537
+ - onValueChange?: (range: DateRange | null) => void — Runs as soon as both ends are settled - after the second click, on a preset and on clearing (`null`).
538
+ - placeholder?: string — What stands in the empty field.
539
+ - disabled?: boolean — Locks the field and the panel. (default: false)
540
+ - invalid?: boolean — Marks the field as invalid.
541
+ - size?: "sm" | "md" — `sm` for a toolbar and dense forms, `md` otherwise. (default: the size of a `ControlSizeProvider` around it, else `"md"`)
542
+ - chars?: number — The width in characters - room for the value; the field adds its own padding, glyph and cross.
543
+ - clearable?: boolean — Shows a cross where a value is set, which fades in on hover/focus and clears the value, and the open panel offers Clear. (default: false)
544
+ - presets?: RangePreset[] — The quick-select column in the panel. (default: `DEFAULT_PRESETS`, in the wording's labels)
545
+ - min?: Date — The earliest day the picker offers, inclusive.
546
+ - max?: Date — The latest day the picker offers, inclusive; read as `min` is.
547
+ - ref?: Ref<HTMLButtonElement> | undefined — Receives the component's root element.
548
+ - startName?: string — The name the start is posted under. (default: `${name}Start`)
549
+ - endName?: string — The name the end is posted under. (default: `${name}End`)
550
+ - name?: string — Posts the value under this name in a `<form>` (a hidden input), as a native control would; empty posts `""`.
551
+ - formValue?: (value: Date) => string — Replaces the default text a value is posted as.
552
+ - onChange?: (range: DateRange | null) => void — The former name of `onValueChange`. (deprecated)
553
+
554
+ ### DateTimePicker
555
+
556
+ #### props (DateTimePickerProps)
557
+
558
+ - value?: Date | null — The instant; `null` means none.
559
+ - defaultValue?: Date | null — Uncontrolled: the value to start at. (default: null)
560
+ - onValueChange?: (date: Date | null) => void — Runs only on completion - "Apply", "Now" or "Clear" - and not already on the click on a day: a day without a time would be a half-set value here, and a half value is no value.
561
+ - withSeconds?: boolean — Show the seconds field. (default: false)
562
+ - placeholder?: string — What stands in the empty field.
563
+ - disabled?: boolean — Locks the field and the panel. (default: false)
564
+ - size?: "sm" | "md" — `sm` for a toolbar and dense forms, `md` otherwise. (default: the size of a `ControlSizeProvider` around it, else `"md"`)
565
+ - chars?: number — The width in characters - room for the value; the field adds its own padding, glyph and cross.
566
+ - invalid?: boolean — Marks the field as invalid.
567
+ - clearable?: boolean — Shows a cross where a value is set, which fades in on hover/focus and clears the value, and the open panel offers Clear. (default: false)
568
+ - min?: Date — The earliest day the picker offers, inclusive.
569
+ - max?: Date — The latest day the picker offers, inclusive; read as `min` is.
570
+ - ref?: Ref<HTMLButtonElement> | undefined — Receives the component's root element.
571
+ - name?: string — Posts the value under this name in a `<form>` (a hidden input), as a native control would; empty posts `""`.
572
+ - formValue?: (value: Date) => string — Replaces the default text a value is posted as.
573
+ - onChange?: (date: Date | null) => void — The former name of `onValueChange`. (deprecated)
574
+
575
+ ### DateTimeRangePicker
576
+
577
+ #### props (DateTimeRangePickerProps)
578
+
579
+ - value?: DateRange | null — The time span with times at both ends; `null` means none.
580
+ - defaultValue?: DateRange | null — Uncontrolled: the value to start at. (default: null)
581
+ - onValueChange?: (range: DateRange | null) => void — Runs only on "Apply" and on clearing (`null`), never between the two clicks.
582
+ - withSeconds?: boolean — Show the seconds fields. (default: false)
583
+ - placeholder?: string — What stands in the empty field.
584
+ - disabled?: boolean — Locks the field and the panel. (default: false)
585
+ - invalid?: boolean — Marks the field as invalid.
586
+ - size?: "sm" | "md" — `sm` for a toolbar and dense forms, `md` otherwise. (default: the size of a `ControlSizeProvider` around it, else `"md"`)
587
+ - chars?: number — The width in characters - room for the value; the field adds its own padding, glyph and cross.
588
+ - clearable?: boolean — Shows a cross where a value is set, which fades in on hover/focus and clears the value, and the open panel offers Clear. (default: false)
589
+ - presets?: RangePreset[] — The quick-select column in the panel; presets apply for the whole day and close immediately. (default: `DEFAULT_PRESETS`, in the wording's labels)
590
+ - min?: Date — The earliest day the picker offers, inclusive.
591
+ - max?: Date — The latest day the picker offers, inclusive; read as `min` is.
592
+ - ref?: Ref<HTMLButtonElement> | undefined — Receives the component's root element.
593
+ - startName?: string — The name the start is posted under. (default: `${name}Start`)
594
+ - endName?: string — The name the end is posted under. (default: `${name}End`)
595
+ - name?: string — Posts the value under this name in a `<form>` (a hidden input), as a native control would; empty posts `""`.
596
+ - formValue?: (value: Date) => string — Replaces the default text a value is posted as.
597
+ - onChange?: (range: DateRange | null) => void — The former name of `onValueChange`. (deprecated)
598
+
599
+ ### Divider
600
+
601
+ #### props (DividerProps)
602
+
603
+ - orientation?: "horizontal" | "vertical" — Horizontally it separates rows, vertically it separates columns. (default: "horizontal")
604
+ - strong?: boolean — A stronger line - for section boundaries rather than row separation. (default: false)
605
+ - label?: ReactNode — A label in the middle.
606
+ - ref?: Ref<HTMLDivElement> | undefined — Receives the component's root element.
607
+
608
+ ### Drawer
609
+
610
+ #### props (DrawerProps)
611
+
612
+ - side?: "right" | "left" — The edge the drawer stands at and enters from. (default: "right")
613
+ - open: boolean — Whether the window stands.
614
+ - onClose: () => void — Reports every wish to close – Escape, cross, backdrop click.
615
+ - closeOnBackdrop?: boolean — Closes on a click on the backdrop. (default: true)
616
+ - ref?: Ref<HTMLDialogElement> | undefined — Receives the component's root element.
617
+
618
+ ### EmptyState
619
+
620
+ #### props (EmptyStateProps)
621
+
622
+ - title: ReactNode — What is missing here - as a statement, not as an apology.
623
+ - description?: ReactNode — One sentence on why nothing is here and what would put something here.
624
+ - action?: ReactNode — The way into the next action, e.g. a button.
625
+ - icon?: ReactNode — Optional symbol above the title.
626
+ - ref?: Ref<HTMLDivElement> | undefined — Receives the component's root element.
627
+
628
+ ### EndGlyph
629
+
630
+ #### props (GlyphProps)
631
+
632
+ - size?: number — Edge length in pixels. (default: 12)
633
+ - ref?: Ref<SVGSVGElement> | undefined — Receives the component's root element.
634
+
635
+ ### FileInput
636
+
637
+ #### props (FileInputProps)
638
+
639
+ - value?: readonly File[] — Controlled: the chosen files; `undefined` reads as none.
640
+ - defaultValue?: readonly File[] — Uncontrolled: the files to start with. (default: [])
641
+ - onValueChange?: (files: File[]) => void — Reports the files after a choice, a drop or a removal - only those `accept` takes, and one where the input takes one.
642
+ - invalid?: boolean — Marks the input as invalid.
643
+ - ref?: Ref<HTMLInputElement> | undefined — Receives the component's root element.
644
+ - onChange?: (files: File[]) => void — The former name of `onValueChange`. (deprecated)
645
+
646
+ ### FormField
647
+
648
+ #### props (FormFieldProps)
649
+
650
+ - label: ReactNode — The label of the field.
651
+ - hint?: ReactNode — Help text below the field.
652
+ - error?: ReactNode — Error message; it marks the field as invalid at the same time.
653
+ - required?: boolean — Sets the required mark on the label and `aria-required` on the field - on Input, Select, Textarea, NumberInput, Combobox, RadioGroup and Checkbox. (default: false)
654
+ - fieldId?: string — Optional: a fixed id for the input element (instead of a generated one).
655
+ - labelPlacement?: "top" | "start" — Where the label stands: `"top"` above the field (the default) or `"start"` beside it, in a column as wide as `--u-label-width`, level on the first baseline. (default: "top")
656
+ - ref?: Ref<HTMLDivElement> | undefined — Receives the component's root element.
657
+
658
+ ### Grid
659
+
660
+ #### props (GridProps)
661
+
662
+ - columns?: number | readonly GridColumnWidth[] — How many columns, all of one width - or a list with one width per column: a number in pixels, or `"fill"` for a share of what is left. (default: 2)
663
+ - minItemWidth?: string — Responsive: as many columns as fit at this minimum width; wins over `columns`, a list included.
664
+ - gap?: SpaceStep — Spacing as a step of the 4 px spacing steps (1–8); applies in both directions. (default: 4)
665
+ - ref?: Ref<HTMLDivElement> | undefined — Receives the component's root element.
666
+
667
+ ### GridGlyph
668
+
669
+ #### props (GlyphProps)
670
+
671
+ - size?: number — Edge length in pixels. (default: 12)
672
+ - ref?: Ref<SVGSVGElement> | undefined — Receives the component's root element.
673
+
674
+ ### GripGlyph
675
+
676
+ #### props (GlyphProps)
677
+
678
+ - size?: number — Edge length in pixels. (default: 12)
679
+ - ref?: Ref<SVGSVGElement> | undefined — Receives the component's root element.
680
+
681
+ ### Heading
682
+
683
+ #### props (HeadingProps)
684
+
685
+ - level?: 1 | 2 | 3 | 4 | 5 | 6 — The page's outline level (h1–h6). (default: 2)
686
+ - size?: TextSize — Optical size; independent of the level. (default: the size matching the level)
687
+ - weight?: TextWeight — Font weight from the token set. (default: "semibold")
688
+ - tone?: TextTone — How loud the heading is. (default: "default")
689
+ - ref?: Ref<HTMLHeadingElement> | undefined — Receives the component's root element.
690
+
691
+ ### IconButton
692
+
693
+ #### props (IconButtonProps)
694
+
695
+ - aria-label: string — The name: what a screen reader announces and the tooltip shows.
696
+ - children: ReactNode — The icon: an SVG, a glyph of the set or an icon font's element.
697
+ - variant?: ButtonVariant — How loud the button is; `plain` is quiet and neutral, and the rest mean what they mean on a `Button`. (default: "plain")
698
+ - size?: ButtonSize — `sm` for buttons in header bars and table rows, `md` otherwise. (default: the size of a `ControlSizeProvider` around it, else `"md"`)
699
+ - loading?: boolean — Shows a loading indicator and locks the button. (default: false)
700
+ - ref?: Ref<HTMLButtonElement> | undefined — Receives the component's root element.
701
+
702
+ ### Input
703
+
704
+ #### props (InputProps)
705
+
706
+ - value?: string | number | readonly string[] | null — The text; `null` and `undefined` mean empty.
707
+ - onValueChange?: (value: string) => void — Runs with the new text on every edit.
708
+ - size?: "sm" | "md" — `sm` for a toolbar and dense forms, `md` otherwise. (default: the size of a `ControlSizeProvider` around it, else `"md"`)
709
+ - chars?: number — The width in characters - room for the value; the field adds its own padding, cross and a text `start` or `end` (an icon is not counted: `chars` makes room for it).
710
+ - start?: ReactNode — Inside the frame before the value: a unit as text ("kg"), or an icon.
711
+ - end?: ReactNode — Inside the frame after the value, after the cross: a unit as text ("%"), or an icon or an `IconButton`.
712
+ - invalid?: boolean — Marks the field as invalid.
713
+ - numeric?: boolean — Right-aligned tabular figures in Geist Mono, e.g. for key figures. (default: false)
714
+ - clearable?: boolean — Shows a gently appearing cross where there is content, which clears the input. (default: false)
715
+ - onClear?: () => void — Called by the cross.
716
+ - ref?: Ref<HTMLInputElement> | undefined — Receives the component's root element.
717
+
718
+ ### LanguageProvider
719
+
720
+ #### props (LanguageProviderProps)
721
+
722
+ - children: ReactNode
723
+ - formats?: Partial<Formats> — How numbers, dates and durations are written.
724
+ - wording?: Partial<Omit<Wording, "presets">> & { presets?: Partial<Wording["presets"]> } — The presets are a register of their own and are likewise overridden entry by entry.
725
+
726
+ ### Link
727
+
728
+ #### props (LinkProps)
729
+
730
+ - size?: TextSize — Size from the token set – a link has to match its body text. (default: "md")
731
+ - external?: boolean — Opens in a new tab and sets the necessary protective attributes. (default: false)
732
+ - ref?: Ref<HTMLAnchorElement> | undefined — Receives the component's root element.
733
+
734
+ ### MeasureGlyph
735
+
736
+ #### props (GlyphProps)
737
+
738
+ - size?: number — Edge length in pixels. (default: 12)
739
+ - ref?: Ref<SVGSVGElement> | undefined — Receives the component's root element.
740
+
741
+ ### Menu
742
+
743
+ #### props (MenuProps)
744
+
745
+ - trigger: ReactElement<{ ref?: Ref<HTMLElement>; "aria-expanded"?: boolean; "aria-describ… — Trigger, e.g. a <Button>; must accept refs.
746
+ - children: ReactNode — The entries – typically `MenuItem` and `MenuSeparator`.
747
+ - align?: "start" | "end" — Alignment of the panel relative to the trigger. (default: "start")
748
+
749
+ ### MenuItem
750
+
751
+ #### props (MenuItemProps)
752
+
753
+ - onSelect?: () => void — What the entry does.
754
+ - tone?: "default" | "danger" — "danger" for destructive actions. (default: "default")
755
+ - role?: "menuitem" | "menuitemradio" | "menuitemcheckbox" — What kind of entry it is: a plain one, one of a group of which one is chosen, or one that is on or off. (default: "menuitem")
756
+ - ref?: Ref<HTMLButtonElement> | undefined — Receives the component's root element.
757
+
758
+ ### MenuSeparator
759
+
760
+ #### props (RefProp)
761
+
762
+ - ref?: Ref<E> | undefined — Receives the component's root element.
763
+
764
+ ### Meter
765
+
766
+ #### props (MeterProps)
767
+
768
+ - value: number — Fill level from 0 to 1.
769
+ - tone?: MeterTone — The colour of the bar. (default: "accent")
770
+ - showLabel?: boolean — The percentage to the right of the bar (Geist Mono). (default: true)
771
+ - label?: string — What is being measured, e.g. "Utilisation". (default: the wording's "Fill level")
772
+ - ref?: Ref<HTMLSpanElement> | undefined — Receives the component's root element.
773
+
774
+ ### MinusGlyph
775
+
776
+ #### props (GlyphProps)
777
+
778
+ - size?: number — Edge length in pixels. (default: 12)
779
+ - ref?: Ref<SVGSVGElement> | undefined — Receives the component's root element.
780
+
781
+ ### Modal
782
+
783
+ #### props (ModalProps)
784
+
785
+ - open: boolean — Whether the window stands.
786
+ - onClose: () => void — Reports every wish to close – Escape, cross, backdrop click.
787
+ - size?: ModalSize — The width of the window. (default: "md")
788
+ - closeOnBackdrop?: boolean — Closes on a click on the backdrop. (default: true)
789
+ - ref?: Ref<HTMLDialogElement> | undefined — Receives the component's root element.
790
+
791
+ ### ModalBody
792
+
793
+ #### props (RefProp)
794
+
795
+ - ref?: Ref<E> | undefined — Receives the component's root element.
796
+
797
+ ### ModalFooter
798
+
799
+ #### props (RefProp)
800
+
801
+ - ref?: Ref<E> | undefined — Receives the component's root element.
802
+
803
+ ### ModalHeader
804
+
805
+ #### props (ModalHeaderProps)
806
+
807
+ - title?: ReactNode — The heading of the window.
808
+ - description?: ReactNode — One sentence below the heading: what is to be decided here.
809
+ - hideClose?: boolean — Hides the close button. (default: false)
810
+ - ref?: Ref<HTMLDivElement> | undefined — Receives the component's root element.
811
+
812
+ ### MoreGlyph
813
+
814
+ #### props (GlyphProps)
815
+
816
+ - size?: number — Edge length in pixels. (default: 12)
817
+ - ref?: Ref<SVGSVGElement> | undefined — Receives the component's root element.
818
+
819
+ ### MultiSelect
820
+
821
+ #### props (MultiSelectProps)
822
+
823
+ - options: readonly MultiSelectOption<T>[] — The possibilities, in their natural order.
824
+ - value?: readonly T[] — The chosen values; `undefined` means none.
825
+ - defaultValue?: readonly T[] — Uncontrolled: the values to start with. (default: [])
826
+ - onValueChange?: (value: T[]) => void — Runs on every change of the selection, with the complete new list – not with the one value that moved.
827
+ - placeholder?: string — What stands in the empty field.
828
+ - searchPlaceholder?: string — What stands in the panel's search field.
829
+ - emptyText?: string — Text when the search finds nothing.
830
+ - size?: "sm" | "md" — `sm` for a toolbar and dense forms, `md` otherwise. (default: the size of a `ControlSizeProvider` around it, else `"md"`)
831
+ - chars?: number — The width in characters - room for the chips; the field adds its own padding and chevron.
832
+ - disabled?: boolean — Locks field and panel. (default: false)
833
+ - invalid?: boolean — Marks the field as invalid.
834
+ - clearable?: boolean — Shows a cross beside the chips that empties the selection, as "Select none" does: a chosen value whose option is disabled stays. (default: false)
835
+ - ref?: Ref<HTMLButtonElement> | undefined — Receives the component's root element.
836
+ - name?: string — Posts the value under this name in a `<form>` (a hidden input), as a native control would; empty posts `""`.
837
+ - formValue?: (value: T) => string — Replaces the default text a value is posted as.
838
+ - onChange?: (value: T[]) => void — The former name of `onValueChange`. (deprecated)
839
+
840
+ ### NumberInput
841
+
842
+ #### props (NumberInputProps)
843
+
844
+ - value?: number | null — The number, or `null` (or `undefined`) for "not stated".
845
+ - defaultValue?: number | null — Uncontrolled: the number to start at. (default: null)
846
+ - onValueChange?: (value: number | null) => void — Runs on every valid input, with `null` for the emptied field – and always clamped: what goes out lies between `min` and `max`, by every route, while typing included.
847
+ - min?: number — Lower bound.
848
+ - max?: number — Upper bound.
849
+ - step?: number — Step size for the arrow keys; Shift multiplies it by ten. (default: 1)
850
+ - decimals?: number — Fixed decimal places; 0 = whole numbers, undefined = free.
851
+ - grouping?: boolean — Group separators in the text: `false` writes none ("2024"), and the field still reads what it writes. (default: true)
852
+ - prefix?: ReactNode — Adornment before the number, e.g. "±".
853
+ - suffix?: ReactNode — Adornment after the number, e.g. "€" or "%".
854
+ - size?: "sm" | "md" — `sm` for a toolbar and dense forms, `md` otherwise. (default: the size of a `ControlSizeProvider` around it, else `"md"`)
855
+ - chars?: number — The width in characters - room for the number; the field adds its own padding and steppers, and the room for a `prefix` and `suffix` given as text.
856
+ - invalid?: boolean — Marks the field as invalid.
857
+ - ref?: Ref<HTMLInputElement> | undefined — Receives the component's root element.
858
+ - name?: string — Posts the value under this name in a `<form>` (a hidden input), as a native control would; empty posts `""`.
859
+ - formValue?: (value: number) => string — Replaces the default text a value is posted as.
860
+ - onChange?: (value: number | null) => void — The former name of `onValueChange`. (deprecated)
861
+
862
+ ### PlusGlyph
863
+
864
+ #### props (GlyphProps)
865
+
866
+ - size?: number — Edge length in pixels. (default: 12)
867
+ - ref?: Ref<SVGSVGElement> | undefined — Receives the component's root element.
868
+
869
+ ### Popover
870
+
871
+ #### props (PopoverProps)
872
+
873
+ - open: boolean — Whether the surface stands.
874
+ - onOpenChange: (open: boolean) => void — Reports every wish to change the state – outside click, Escape, scrolling.
875
+ - anchorRef: RefObject<HTMLElement | null> — Trigger the panel hangs from (the reference for the position).
876
+ - focusRef?: RefObject<HTMLElement | null> — Element that receives the focus on closing. (default: anchorRef)
877
+ - insideRefs?: ReadonlyArray<RefObject<HTMLElement | null>> — Further elements whose click does not count as an outside click (e.g. the clear ×).
878
+ - align?: Align — Where the surface points as long as there is room. (default: "start")
879
+ - offset?: number — Distance between trigger and surface, in pixels.
880
+ - width?: "anchor" | "auto" | number — "anchor" takes over the width of the trigger, a number fixes it. (default: "auto")
881
+ - minWidth?: number — Minimum width when the width comes from the anchor.
882
+ - restoreFocus?: boolean — Give the focus back to the trigger on closing. (default: true)
883
+ - hideOnScroll?: boolean — Close on scrolling instead of travelling along – for tooltips. (default: false)
884
+ - role?: "dialog" | "listbox" | "menu" | "tooltip" | "none" — Role of the surface. (default: "dialog")
885
+ - aria-label?: string — Accessible name of the surface.
886
+ - id?: string — Fixed id of the surface – for `aria-controls` on the trigger.
887
+ - className?: string — Additional class on the surface.
888
+ - closeOnTabOut?: boolean — A Tab past the last control of the panel, or a Shift+Tab before its first, closes it and moves on from the anchor, so that the focus never falls to the page's end. (default: false)
889
+ - onBlur?: (event: FocusEvent<HTMLDivElement>) => void — Runs when the focus leaves any element of the surface (it bubbles from the panel and from what is portalled out of it).
890
+ - children: ReactNode — What stands in the surface.
891
+
892
+ ### ProgressBar
893
+
894
+ #### props (ProgressBarProps)
895
+
896
+ - value?: number — How far the task has come, from 0 to 1.
897
+ - label?: string — What is progressing, e.g. "Import of the invoice records". (default: the wording's "Progress")
898
+ - valueText?: string — What a screen reader says instead of the percentage, where a count says it better - "3 of 12 files".
899
+ - showLabel?: boolean — The percentage beside the bar (Geist Mono). (default: false)
900
+ - ref?: Ref<HTMLDivElement> | undefined — Receives the component's root element.
901
+
902
+ ### RadioGroup
903
+
904
+ #### props (RadioGroupProps)
905
+
906
+ - options: readonly RadioOption<T>[] — The possibilities, in the order in which they are meant to stand.
907
+ - value?: T | null — The chosen possibility; `null` means: none yet.
908
+ - defaultValue?: T | null — Initial value of an uncontrolled group.
909
+ - onValueChange?: (value: T) => void — Runs on every choice – on the one made with the arrow keys as well.
910
+ - orientation?: "vertical" | "horizontal" — Arrangement: one below the other, or side by side. (default: "vertical")
911
+ - size?: "sm" | "md" — `sm` for a toolbar and dense forms, `md` otherwise. (default: the size of a `ControlSizeProvider` around it, else `"md"`)
912
+ - disabled?: boolean — Disables the whole group. (default: false)
913
+ - name?: string — Name of the radio group within the form. (default: a generated one)
914
+ - ref?: Ref<HTMLDivElement> | undefined — Receives the component's root element.
915
+ - onChange?: (value: T) => void — The former name of `onValueChange`. (deprecated)
916
+
917
+ ### RangeSlider
918
+
919
+ #### props (RangeSliderProps)
920
+
921
+ - value?: RangeSliderValue — Controlled: `[from, to]`; `undefined` reads as the whole range.
922
+ - defaultValue?: RangeSliderValue — Uncontrolled: the pair to start at. (default: [min, max])
923
+ - onValueChange?: (value: [from: number, to: number]) => void — Reports every change, by pointer or key, as a pair on the step and inside the bounds, with `from <= to`.
924
+ - min?: number — The smallest value. (default: 0)
925
+ - max?: number — The largest value. (default: 100)
926
+ - step?: number — The step both ends move by, counted from `min`. (default: 1)
927
+ - format?: (value: number) => string — The value as text: for the readout and for the screen reader (`aria-valuetext`). (default: the number in the formats' notation, with as many decimals as the step has)
928
+ - showValue?: boolean — The pair in mono beside the track. (default: true)
929
+ - name?: string — Posts the two ends in a `<form>` as `<name>Start` and `<name>End`, both overridable.
930
+ - startName?: string — The name the lower end is posted under. (default: `${name}Start`)
931
+ - endName?: string — The name the upper end is posted under. (default: `${name}End`)
932
+ - ref?: Ref<HTMLInputElement> | undefined — Receives the component's root element.
933
+
934
+ ### SegmentedControl
935
+
936
+ #### props (SegmentedControlProps)
937
+
938
+ - options: readonly SegmentedOption<T>[] — The possibilities, two to four, in the order in which they stand.
939
+ - value?: T | null — The chosen possibility; `null` means: none yet.
940
+ - defaultValue?: T | null — Initial value of an uncontrolled control.
941
+ - onValueChange?: (value: T) => void — Runs on every choice – on the one made with the arrow keys as well.
942
+ - size?: "sm" | "md" — `sm` for a toolbar and dense forms, `md` otherwise. (default: the size of a `ControlSizeProvider` around it, else `"md"`)
943
+ - variant?: "field" | "inset" — How it is drawn. (default: "inset")
944
+ - fill?: boolean — Takes the whole width its place gives it, as a field in a column does, and shares it equally between the segments. (default: false)
945
+ - disabled?: boolean — Disables the whole control. (default: false)
946
+ - name?: string — Name of the radio group within the form. (default: a generated one)
947
+ - ref?: Ref<HTMLDivElement> | undefined — Receives the component's root element.
948
+ - onChange?: (value: T) => void — The former name of `onValueChange`. (deprecated)
949
+
950
+ ### Select
951
+
952
+ #### props (SelectProps)
953
+
954
+ - value?: T | readonly string[] | null — The chosen option's value; `null` and `undefined` mean the empty option.
955
+ - defaultValue?: T | readonly string[] | null — Uncontrolled: the value to start at.
956
+ - onValueChange?: (value: T | null) => void — Runs with the chosen option's value on every choice, `null` for the empty option.
957
+ - size?: "sm" | "md" — `sm` for a toolbar and dense forms, `md` otherwise. (default: the size of a `ControlSizeProvider` around it, else `"md"`)
958
+ - chars?: number — The width in characters - room for the chosen option; the field adds its own padding, chevron and cross.
959
+ - invalid?: boolean — Marks the field as invalid.
960
+ - clearable?: boolean — Shows a × once a selection has been made, which fades in on hover/focus and empties the selection. (default: false)
961
+ - onClear?: () => void — Called by the ×; resets the selection to the placeholder option.
962
+ - ref?: Ref<HTMLSelectElement> | undefined — Receives the component's root element.
963
+
964
+ ### Skeleton
965
+
966
+ #### props (SkeletonProps)
967
+
968
+ - width?: string | number — Width, e.g. "120px" or "60%". (default: "100%")
969
+ - height?: string | number — Height, e.g. "12px" or 16. (default: "12px")
970
+ - circle?: boolean — Circular shape, e.g. for an avatar placeholder. (default: false)
971
+ - ref?: Ref<HTMLSpanElement> | undefined — Receives the component's root element.
972
+
973
+ ### Slider
974
+
975
+ #### props (SliderProps)
976
+
977
+ - value?: number — Controlled: the value; `undefined` reads as `min`.
978
+ - defaultValue?: number — Uncontrolled: the value to start at. (default: min)
979
+ - onValueChange?: (value: number) => void — Reports every change, by pointer or key, as a number on the step.
980
+ - min?: number — The smallest value. (default: 0)
981
+ - max?: number — The largest value. (default: 100)
982
+ - step?: number — The step the value moves by, by pointer or key. (default: 1)
983
+ - marks?: readonly SliderMark[] — Values marked on the track; an object with a `label` writes the word beneath its mark.
984
+ - format?: (value: number) => string — The value as text: for the readout and for the screen reader (`aria-valuetext`). (default: the number in the formats' notation, with as many decimals as the step has)
985
+ - showValue?: boolean — The value in mono beside the track. (default: true)
986
+ - ref?: Ref<HTMLInputElement> | undefined — Receives the component's root element.
987
+ - onChange?: (value: number) => void — The former name of `onValueChange`. (deprecated)
988
+
989
+ ### Sparkline
990
+
991
+ #### props (SparklineProps)
992
+
993
+ - data: readonly number[] — Values in chronological order; at least two.
994
+ - width?: number | "fill" — Width in pixels; the default is a row width, not a chart width. (default: 96)
995
+ - height?: number — Height in pixels; the default is as high as a table row. (default: 28)
996
+ - tone?: "ink" | "accent" — The line is ink, not meaning: `accent` only where exactly one line among several is to be emphasised. (default: "ink")
997
+ - ref?: Ref<HTMLSpanElement> | undefined — Receives the component's root element.
998
+
999
+ ### Spinner
1000
+
1001
+ #### props (SpinnerProps)
1002
+
1003
+ - size?: number — Edge length in pixels. (default: 14)
1004
+ - ref?: Ref<SVGSVGElement> | undefined — Receives the component's root element.
1005
+
1006
+ ### SplitButton
1007
+
1008
+ #### props (SplitButtonProps)
1009
+
1010
+ - children: ReactNode — Label of the main action.
1011
+ - onClick?: ButtonProps["onClick"] — The main action.
1012
+ - menu: ReactNode — Entries of the menu - typically `MenuItem`.
1013
+ - variant?: ButtonVariant — How loud the main action is; the trigger beside it follows suit. (default: "secondary")
1014
+ - size?: ButtonSize — `sm` for buttons in header bars and table rows, `md` otherwise. (default: the size around it, else `"md"`)
1015
+ - menuLabel?: string — Label of the trigger. (default: the wording's "More actions")
1016
+ - align?: "start" | "end" — Alignment of the menu relative to the trigger. (default: "end")
1017
+ - loading?: boolean — Shows a loading indicator and locks the button. (default: false)
1018
+ - ref?: Ref<HTMLButtonElement> | undefined — Receives the component's root element.
1019
+
1020
+ ### Splitter
1021
+
1022
+ #### props (SplitterProps)
1023
+
1024
+ - orientation?: "horizontal" | "vertical" — How the two panes stand: `horizontal` side by side, `vertical` one above the other - a trend above, its alarms below. (default: "horizontal")
1025
+ - value?: number — Controlled: the first pane's share of the room, in per cent.
1026
+ - defaultValue?: number — Uncontrolled: the share to start at. (default: 50)
1027
+ - onChange?: (value: number) => void — Reports every move, by pointer or key, as the first pane's share.
1028
+ - min?: number — The smallest share of the first pane, and where Enter collapses it to. (default: 0)
1029
+ - max?: number — The largest share of the first pane. (default: 100)
1030
+ - step?: number — How far an arrow key moves the separator, in per cent. (default: 5)
1031
+ - separatorLabel?: string — The separator's name. (default: the wording's "Resize the panes")
1032
+ - children: [ReactNode, ReactNode] — The first pane and the second, in this order.
1033
+ - ref?: Ref<HTMLDivElement> | undefined — Receives the component's root element.
1034
+
1035
+ ### Stack
1036
+
1037
+ #### props (StackProps)
1038
+
1039
+ - direction?: "row" | "column" — Below one another or beside one another. (default: "column")
1040
+ - gap?: SpaceStep — Spacing as a step of the 4 px spacing steps (1–8). (default: 3)
1041
+ - align?: CSSProperties["alignItems"] — Alignment across the direction – `alignItems` unchanged.
1042
+ - justify?: CSSProperties["justifyContent"] — Distribution along the direction – `justifyContent` unchanged.
1043
+ - wrap?: boolean — Lets the children wrap when the line does not suffice. (default: false)
1044
+ - ref?: Ref<HTMLDivElement> | undefined — Receives the component's root element.
1045
+
1046
+ ### Stat
1047
+
1048
+ #### props (StatProps)
1049
+
1050
+ - label: string — What is being measured.
1051
+ - value: number | null | undefined — The measured value.
1052
+ - unit?: string — The unit as it stands behind the value – „ms", „%", „GB".
1053
+ - decimals?: number — Fixed number of decimal places.
1054
+ - limits?: LimitSet — The rule the value is read against.
1055
+ - history?: readonly number[] — Values in chronological order; yields the history line, across the tile beneath the figures, or beside them in a tile of 380 px and more.
1056
+ - asOf?: Date | number | null — When the value was true – not when it was fetched.
1057
+ - ages?: FreshnessAges — Without ages there is no freshness display and no cadence.
1058
+ - quality?: Quality — How far the value's source vouches for it.
1059
+ - ref?: Ref<HTMLDivElement> | undefined — Receives the component's root element.
1060
+
1061
+ ### Stepper
1062
+
1063
+ #### props (StepperProps)
1064
+
1065
+ - steps: readonly StepperStep[] — The steps in the order they are walked.
1066
+ - current: number — The index of the step being worked on.
1067
+ - orientation?: "horizontal" | "vertical" — `horizontal` in a row, `vertical` in a column for steps with longer descriptions. (default: "horizontal")
1068
+ - ref?: Ref<HTMLOListElement> | undefined — Receives the component's root element.
1069
+
1070
+ ### Switch
1071
+
1072
+ #### props (SwitchProps)
1073
+
1074
+ - label?: ReactNode — Label to the right of the switch.
1075
+ - size?: "sm" | "md" — `sm` for a toolbar and dense forms, `md` otherwise. (default: the size of a `ControlSizeProvider` around it, else `"md"`)
1076
+ - invalid?: boolean — Marks the switch as invalid.
1077
+ - onCheckedChange?: (checked: boolean) => void — Runs with the new state on every click.
1078
+ - ref?: Ref<HTMLInputElement> | undefined — Receives the component's root element.
1079
+
1080
+ ### Tab
1081
+
1082
+ #### props (TabProps)
1083
+
1084
+ - value: string — The value this tab reports – and under which its panel stands.
1085
+ - ref?: Ref<HTMLButtonElement> | undefined — Receives the component's root element.
1086
+
1087
+ ### TabList
1088
+
1089
+ #### props (RefProp)
1090
+
1091
+ - ref?: Ref<E> | undefined — Receives the component's root element.
1092
+
1093
+ ### TabPanel
1094
+
1095
+ #### props (TabPanelProps)
1096
+
1097
+ - value: string — The value of the tab this panel belongs to.
1098
+ - ref?: Ref<HTMLDivElement> | undefined — Receives the component's root element.
1099
+
1100
+ ### Tabs
1101
+
1102
+ #### props (TabsProps)
1103
+
1104
+ - value?: string — The value of the visible tab.
1105
+ - defaultValue?: string — Uncontrolled: the tab that stands first.
1106
+ - onChange?: (value: string) => void — Receives the value of the chosen tab.
1107
+ - ref?: Ref<HTMLDivElement> | undefined — Receives the component's root element.
1108
+
1109
+ ### Tag
1110
+
1111
+ #### props (TagProps)
1112
+
1113
+ - tone?: TagTone — What the label stands for. (default: "neutral")
1114
+ - children: ReactNode — The text of the label – short enough to stand on one line.
1115
+ - onRemove?: () => void — Makes the tag removable.
1116
+ - removeLabel?: string — Label of the remove key.
1117
+ - disabled?: boolean — Takes the remove key away from the tag without hiding it: disabled is a statement about the key and not about the label. (default: false)
1118
+ - ref?: Ref<HTMLSpanElement> | undefined — Receives the component's root element.
1119
+
1120
+ ### TagGroup
1121
+
1122
+ #### props (TagGroupProps)
1123
+
1124
+ - aria-label: string — Label of the group for the screen reader.
1125
+ - ref?: Ref<HTMLDivElement> | undefined — Receives the component's root element.
1126
+
1127
+ ### Text
1128
+
1129
+ #### props (TextProps)
1130
+
1131
+ - as?: ElementType — Element to render as. (default: "p")
1132
+ - size?: TextSize — Type size from the token set. (default: "md")
1133
+ - weight?: TextWeight — Font weight from the token set. (default: "regular")
1134
+ - tone?: TextTone — How loud the text is. (default: "default")
1135
+ - mono?: boolean — Geist Mono with tabular figures – for numbers and identifiers. (default: false)
1136
+ - tracking?: TextTracking — Letter spacing from the token set. (default: "normal")
1137
+ - leading?: TextLeading — Line spacing. (default: "normal")
1138
+ - ref?: Ref<HTMLElement> | undefined — Receives the component's root element.
1139
+
1140
+ ### Textarea
1141
+
1142
+ #### props (TextareaProps)
1143
+
1144
+ - value?: string | number | readonly string[] | null — The text; `null` and `undefined` mean empty.
1145
+ - onValueChange?: (value: string) => void — Runs with the new text on every edit.
1146
+ - size?: "sm" | "md" — `sm` for a toolbar and dense forms, `md` otherwise. (default: the size of a `ControlSizeProvider` around it, else `"md"`)
1147
+ - chars?: number — The width in characters - the length of a line; the field adds its own padding.
1148
+ - invalid?: boolean — Marks the field as invalid.
1149
+ - autoGrow?: boolean — Grows with its content instead of scrolling. (default: false)
1150
+ - maxRows?: number — Upper bound for `autoGrow` in rows; beyond it the field scrolls.
1151
+ - showCount?: boolean — Shows at the bottom right how many characters still fit. (default: false)
1152
+ - resize?: "none" | "vertical" — Whether the browser's handle for dragging is offered. (default: `"none"` while the field grows by itself, else `"vertical"`)
1153
+ - ref?: Ref<HTMLTextAreaElement> | undefined — Receives the component's root element.
1154
+
1155
+ ### TimeInput
1156
+
1157
+ #### props (TimeInputProps)
1158
+
1159
+ - value?: string | null — Controlled: the time as `HH:mm`, or `HH:mm:ss` with `withSeconds`; `null` or `undefined` reads as empty.
1160
+ - defaultValue?: string | null — Uncontrolled: the time to start at. (default: null)
1161
+ - onValueChange?: (value: string | null) => void — Reports every change as `HH:mm` (`HH:mm:ss` with `withSeconds`); `null` when a form's reset empties the field.
1162
+ - withSeconds?: boolean — Adds a field for the seconds. (default: false)
1163
+ - invalid?: boolean — Marks the field as invalid.
1164
+ - size?: "sm" | "md" — The size of the fields. (default: the size of a `ControlSizeProvider` around it, else `"md"`)
1165
+ - ref?: Ref<HTMLInputElement> | undefined — Receives the component's root element.
1166
+ - name?: string — Posts the value under this name in a `<form>` (a hidden input), as a native control would; empty posts `""`.
1167
+ - formValue?: (value: string) => string — Replaces the default text a value is posted as.
1168
+
1169
+ ### ToastProvider
1170
+
1171
+ #### props (ToastProviderProps)
1172
+
1173
+ - children: ReactNode
1174
+ - held?: boolean — While true, the toasts are held back: none is seen or heard, no time runs out, and a new one waits. (default: false)
1175
+
1176
+ ### ToneGlyph
1177
+
1178
+ #### props (GlyphProps)
1179
+
1180
+ - size?: number — Edge length in pixels. (default: 12)
1181
+ - ref?: Ref<SVGSVGElement> | undefined — Receives the component's root element.
1182
+
1183
+ ### Tooltip
1184
+
1185
+ #### props (TooltipProps)
1186
+
1187
+ - content: ReactNode — Short help text; no interaction, no long content.
1188
+ - children: ReactElement<{ ref?: Ref<HTMLElement>; "aria-expanded"?: boolean; "aria-describ… — Exactly one element that triggers the tooltip (must accept refs).
1189
+ - delay?: number — Delay in ms before the tooltip appears. (default: 300)
1190
+
1191
+ ### TreeSearch
1192
+
1193
+ #### props (TreeSearchProps)
1194
+
1195
+ - tree: Tree<K, S> — The same tree as the view's.
1196
+ - onValueChange?: (value: string) => void — Runs with the new text on every edit.
1197
+ - size?: "sm" | "md" — `sm` for a toolbar and dense forms, `md` otherwise. (default: the size of a `ControlSizeProvider` around it, else `"md"`)
1198
+ - chars?: number — The width in characters - room for the value; the field adds its own padding, cross and a text `start` or `end` (an icon is not counted: `chars` makes room for it).
1199
+ - start?: ReactNode — Inside the frame before the value: a unit as text ("kg"), or an icon.
1200
+ - end?: ReactNode — Inside the frame after the value, after the cross: a unit as text ("%"), or an icon or an `IconButton`.
1201
+ - invalid?: boolean — Marks the field as invalid.
1202
+ - numeric?: boolean — Right-aligned tabular figures in Geist Mono, e.g. for key figures. (default: false)
1203
+ - clearable?: boolean — Shows a gently appearing cross where there is content, which clears the input. (default: false)
1204
+ - onClear?: () => void — Called by the cross.
1205
+ - ref?: Ref<HTMLInputElement> | undefined — Receives the component's root element.
1206
+
1207
+ ### TreeView
1208
+
1209
+ #### props (TreeViewProps)
1210
+
1211
+ - tree: Tree<K, S> — The tree from `useTree`.
1212
+ - checkable?: boolean — Show ticks. (default: false)
1213
+ - children: (entry: FlatteningEntry<K, S>) => ReactNode — What the node says.
1214
+ - ref?: Ref<HTMLDivElement> | undefined — Receives the component's root element.
1215
+ - aria-label: string — Accessible name of the tree.
1216
+
1217
+ ### UmrissProvider
1218
+
1219
+ #### props (UmrissProviderProps)
1220
+
1221
+ - density?: Density — The default for the `density` of every component that reads it with `useDensityFor` - in `@umriss-ui/table` `Table`, in `@umriss-ui/calculation` `Calculation` ("comfortable" means "regular"). (default: none - a component keeps its own density)
1222
+ - portalTarget?: PortalTarget — Where overlays portal to, unless an open dialog takes them. (default: null)
1223
+ - toast?: ToastConfig — The setting for toasts: the display duration where the individual toast names none, where they stand, and how many stand at once.
1224
+ - language?: LanguageOptions — Formats and wording, entry by entry - see [Language](#/language). (default: none - the surrounding language holds, English at the root)
1225
+ - children: ReactNode — The subtree the settings apply to.
1226
+
1227
+ ### VisuallyHidden
1228
+
1229
+ #### props (VisuallyHiddenProps)
1230
+
1231
+ - as?: E — Element to render as. (default: "span")
1232
+ - focusable?: boolean — Becomes visible as soon as the content receives the focus (skip link). (default: false)
1233
+ - ref?: Ref<HTMLElement> | undefined — Receives the component's root element.
1234
+
1235
+ ## Options and returns
1236
+
1237
+ ### useCommandPaletteShortcut
1238
+
1239
+ #### options (CommandPaletteShortcutOptions)
1240
+
1241
+ - slash?: boolean — Whether "/" opens the palette (WCAG 2.1.4: offer the user a way to turn a single-key shortcut off). (default: true)
1242
+ - target?: Window | null — The window the keys are bound to - an iframe's `contentWindow`, when the palette lives in the frame's document. (default: window)
1243
+
1244
+ ### useContextMenuTrigger
1245
+
1246
+ #### returns (ContextMenuTriggerProps)
1247
+
1248
+ - onContextMenu: (event: ReactMouseEvent<HTMLElement>) => void — Opens at the pointer on a right-click; a finger's own `contextmenu` is held back.
1249
+ - onKeyDown: (event: ReactKeyboardEvent<HTMLElement>) => void — Opens at the target's box on the context-menu key or Shift+F10.
1250
+ - style: CSSProperties — Keeps the system from selecting text or showing its callout under the held finger.
1251
+ - onPointerDown: (event: ReactPointerEvent<HTMLElement>) => void
1252
+ - onPointerMove: (event: ReactPointerEvent<HTMLElement>) => void
1253
+ - onPointerUp: (event: ReactPointerEvent<HTMLElement>) => void
1254
+ - onPointerCancel: (event: ReactPointerEvent<HTMLElement>) => void
1255
+ - onClickCapture: (event: ReactMouseEvent<HTMLElement>) => void
1256
+
1257
+ ### useDensity
1258
+
1259
+ `const useDensity: () => Density;`
1260
+
1261
+ ### useDensityFor
1262
+
1263
+ `function useDensityFor(own: "regular" | "compact" | undefined, fallback: "regular" | "compact"): "regular" | "compact";`
1264
+
1265
+ ### useFormField
1266
+
1267
+ #### returns (FormFieldContextValue)
1268
+
1269
+ - id: string
1270
+ - labelId: string — The label's own id.
1271
+ - describedBy?: string
1272
+ - invalid: boolean
1273
+ - required: boolean — A required field.
1274
+
1275
+ ### useFormats
1276
+
1277
+ #### returns (Formats)
1278
+
1279
+ - locale: string — The language tag the set was built in: "en-GB".
1280
+ - timeZone: string | undefined — The IANA name of the time zone instants are written in, or `undefined` for the reader's own.
1281
+ - timeZoneName: (d: Date) => string — The zone's generic name in the set's locale: "Central European Time".
1282
+ - date: (d: Date) => string — Date as displayed: 17/03/2026
1283
+ - dateShort: (d: Date) => string — Short form without the year, in the range footer: 17/03
1284
+ - month: (d: Date) => string — The calendar's month header: March 2026
1285
+ - monthName: (d: Date) => string — The month alone, in the calendar head's month list: March
1286
+ - dateLong: (d: Date) => string — Accessible name of a calendar cell: Tuesday, 17 March 2026
1287
+ - weekStart: number — The first day of the calendars' week, ISO-numbered: 1 = Monday ...
1288
+ - time: (d: Date, withSeconds: boolean) => string — Time of day, optionally with seconds: 09:05 or 09:05:03
1289
+ - dateTime: (d: Date, withSeconds: boolean) => string — Date and time together: 17/03/2026, 09:05
1290
+ - offset: (d: Date) => string — Short form of the UTC offset: GMT+2
1291
+ - number: (n: number, decimals?: number) => string — A number in the set's notation.
1292
+ - numberWith: (n: number, options: Intl.NumberFormatOptions) => string — A number written with Intl's own options in the set's locale: a currency, a year without grouping, scientific notation.
1293
+ - count: (n: number) => string — A count.
1294
+ - percent: (share: number) => string — A share from 0 to 1 as whole per cent: 74 %
1295
+ - compareText: (a: string, b: string) => number — The ordering of two texts by the set's collation.
1296
+ - relative: (ms: number) => string — An elapsed duration as a phrase: "3 minutes ago".
1297
+
1298
+ ### useFreshness
1299
+
1300
+ #### options (FreshnessAges)
1301
+
1302
+ - stale: number — From this age on the value counts as stale, but keeps its verdict.
1303
+ - lost: number — From this age on the connection counts as disconnected.
1304
+
1305
+ #### returns (FreshnessReading)
1306
+
1307
+ - freshness: Freshness — `fresh`, `stale` or `lost` - never a verdict.
1308
+ - age: number | null — Age in milliseconds, never negative; `null` without an as-of time.
1309
+ - now: number — The reference time of this reading, in milliseconds since the epoch.
1310
+
1311
+ ### useLanguage
1312
+
1313
+ #### returns (Language)
1314
+
1315
+ - formats: Formats
1316
+ - wording: Wording
1317
+
1318
+ ### usePortalTarget
1319
+
1320
+ `function usePortalTarget(): () => HTMLElement | null;`
1321
+
1322
+ ### useTimeZoneLabel
1323
+
1324
+ `function useTimeZoneLabel(): string | null;`
1325
+
1326
+ ### useToast
1327
+
1328
+ #### returns (ToastContextValue)
1329
+
1330
+ - toast: (options: ToastOptions) => number — Shows a toast and returns its id.
1331
+ - update: (id: number, options: Partial<ToastOptions>) => void — Changes a standing toast.
1332
+ - dismiss: (id: number) => void — Closes a toast, with the reason `dismiss`.
1333
+
1334
+ ### useToastConfig
1335
+
1336
+ #### returns (ToastConfig)
1337
+
1338
+ - duration?: number — Display duration in ms, where the individual toast names none. (default: 5000)
1339
+ - position?: ToastPosition — Where the toasts stand. (default: "bottom-end")
1340
+ - limit?: number — How many toasts that leave by themselves stand at once; the oldest of them gives way to a new one, as if it had been closed. (default: 3)
1341
+
1342
+ ### useTree
1343
+
1344
+ #### options (TreeOptions)
1345
+
1346
+ - reader: NodeReader<K, S>
1347
+ - defaultExpanded?: Iterable<S> — Initial values, where the tree holds its own state.
1348
+ - defaultChecked?: Iterable<S>
1349
+ - defaultActive?: S | null
1350
+ - expanded?: ReadonlySet<S> — Controlled from outside; where set, it wins over the tree's own state.
1351
+ - checked?: ReadonlySet<S>
1352
+ - active?: S | null
1353
+ - anchor?: S | null — Where a range gesture spans from.
1354
+ - search?: string
1355
+ - onExpanded?: (next: ReadonlySet<S>) => void
1356
+ - onChecked?: (next: ReadonlySet<S>) => void
1357
+ - onActive?: (next: S | null) => void
1358
+ - onAnchor?: (next: S | null) => void
1359
+ - onSearch?: (text: string) => void
1360
+ - onActivate?: (node: K) => void — Enter on a node, or a click on its label.
1361
+ - onLoadChildren?: (node: K) => void — An unloaded branch has been expanded: now would be the moment to fetch its children.
1362
+ - virtual?: VirtualOptions — Render only what stands in the scroll area.
1363
+
1364
+ #### returns (Tree)
1365
+
1366
+ - flattening: readonly FlatteningEntry<K, S>[] — The visible nodes – complete, even where only a window of them is rendered.
1367
+ - active: S | null
1368
+ - search: string
1369
+ - toggleExpanded: (key: S) => void
1370
+ - toggleCheck: (key: S) => void
1371
+ - activate: (key: S) => void
1372
+ - move: (direction: Direction) => void
1373
+ - setSearch: (text: string) => void
1374
+ - revealNode: (key: S) => S | null — Expands the ancestors, brings the row into view and sets the active node.
1375
+ - revealPath: (path: readonly S[]) => S | null — Like revealNode, but with a path the caller knows and the data does not yet - from a deep link, say.
1376
+ - expandAll: () => void
1377
+ - collapseAll: () => void
1378
+ - typeahead: (prefix: string) => void — Moves the active node to the next one whose label starts like this.
1379
+ - checkTo: (to: S) => void — Checks the range from the anchor up to this node.
1380
+ - moveAndCheck: (direction: Direction) => void — Moves the active node **and** toggles the new one – one gesture, one report.
1381
+ - toggleAll: () => void — Checks everything checkable – or empties, if everything is on already.
1382
+ - revealCount: number — Counts up every explicit request "show me this node".
1383
+ - virtual?: VirtualRows — Set where virtualisation runs; goes to `<TreeView virtual={…}>`.
1384
+
1385
+ ### useUmriss
1386
+
1387
+ #### returns (UmrissConfig)
1388
+
1389
+ - density: Density
1390
+ - portalTarget: PortalTarget
1391
+ - toast: ToastConfig
1392
+
1393
+ ### useVirtual
1394
+
1395
+ #### options (VirtualOptions)
1396
+
1397
+ - rowHeight: number — Expected row height in pixels.
1398
+ - overscan?: number — Rows above and below the visible area. (default: 4)
1399
+
1400
+ #### returns (VirtualRows)
1401
+
1402
+ - scrollRef: RefObject<HTMLDivElement | null> — Goes on the scroll area - in
1403
+ - from: number — Index of the first rendered row within the filtered set.
1404
+ - to: number
1405
+ - fillerBefore: number — Height of the upper filler row, in pixels.
1406
+ - fillerAfter: number — Height of the lower filler row, in pixels.
1407
+ - count: number — Rows in total - the filler rows carry the rest.
1408
+ - showRow: (index: number) => void — Brings a row into view; for the keyboard.
1409
+ - onScroll: () => void — Reports a new scroll position to the container.
1410
+
1411
+ ### useWording
1412
+
1413
+ #### returns (Wording)
1414
+
1415
+ 420 members; see `docs/llms-full.md`.