rift-ds 1.28.0 → 1.29.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/README.md +1 -1
- package/bin/rift-ds.mjs +5 -4
- package/bin/templates/blocks/app/shader/page.module.css +75 -0
- package/bin/templates/blocks/app/shader/page.tsx +81 -0
- package/bin/templates/blocks/components/blocks/emberScene.ts +53 -0
- package/bin/templates/blocks/registry.json +11 -0
- package/chat/threads.js +7 -4
- package/components/Button/Button.css +38 -0
- package/components/Button/Button.d.ts +8 -0
- package/components/Button/Button.js +2 -0
- package/components/ShaderScene/ShaderScene.d.ts +36 -13
- package/components/ShaderScene/ShaderScene.js +41 -3
- package/components/ShaderScene/assemble.d.ts +10 -3
- package/components/ShaderScene/assemble.js +29 -0
- package/components/ShaderScene/renderer.d.ts +12 -4
- package/components/ShaderScene/renderer.js +32 -20
- package/components/ShaderScene/scenes.d.ts +78 -0
- package/components/ShaderScene/scenes.js +933 -1
- package/components/ShaderScene/types.d.ts +52 -23
- package/components/registry.json +1 -1
- package/components/registry.json.d.ts +1 -1
- package/components/registry.json.js +1 -1
- package/package.json +1 -1
|
@@ -5,51 +5,80 @@
|
|
|
5
5
|
* with theirs. Every setting is declared as data, so the panel draws its
|
|
6
6
|
* sliders from the declaration and never needs a hand-built control.
|
|
7
7
|
*/
|
|
8
|
-
/** One numeric setting, drawn as a slider. */
|
|
9
|
-
export type
|
|
8
|
+
/** One numeric setting of a scene, drawn as a slider by a host that offers controls. */
|
|
9
|
+
export type ShaderSceneParamSpec = {
|
|
10
|
+
/** The setting's name: a GLSL identifier, which the scene reads as `uniform float u_<key>`. */
|
|
10
11
|
key: string;
|
|
12
|
+
/** The name a host prints beside the slider. */
|
|
11
13
|
label: string;
|
|
14
|
+
/** The lowest value the slider offers. */
|
|
12
15
|
min: number;
|
|
16
|
+
/** The highest value the slider offers. */
|
|
13
17
|
max: number;
|
|
18
|
+
/** The slider's step. */
|
|
14
19
|
step: number;
|
|
20
|
+
/** The value the scene takes when `params` does not set this key. */
|
|
15
21
|
default: number;
|
|
16
22
|
};
|
|
23
|
+
/** The engine's own name for a setting; `ShaderSceneParamSpec` is the published one. */
|
|
24
|
+
export type ParamSpec = ShaderSceneParamSpec;
|
|
17
25
|
/**
|
|
18
|
-
* A
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
26
|
+
* A scene of your own, as ShaderScene's `scene` prop takes it: the colour
|
|
27
|
+
* roles it reads, its settings, and the GLSL that paints it. Hold it at
|
|
28
|
+
* module scope or pass it inline; the program is rebuilt only when its
|
|
29
|
+
* content changes.
|
|
22
30
|
*/
|
|
23
|
-
export type
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
31
|
+
export type ShaderSceneSource = {
|
|
32
|
+
/**
|
|
33
|
+
* The colour custom properties the scene reads, resolved from the live
|
|
34
|
+
* cascade at the scene into `u_col[0..]` in this order, eight at most.
|
|
35
|
+
* Name the `--color-ambient-*` roles and the scene re-themes with the page.
|
|
36
|
+
*/
|
|
28
37
|
colours: string[];
|
|
29
38
|
/**
|
|
30
|
-
* `dark` for a scene that only reads on a dark
|
|
31
|
-
* On a light page its
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
39
|
+
* `dark` for a scene that only adds light and so only reads on a dark
|
|
40
|
+
* ground. On a light page its light is computed against a near-black
|
|
41
|
+
* ground of its own and laid onto the page as a pale tint. A scene
|
|
42
|
+
* without it paints for both modes itself, from the page ground
|
|
43
|
+
* (`u_ground`).
|
|
35
44
|
*/
|
|
36
45
|
mode?: "dark";
|
|
37
46
|
/**
|
|
38
|
-
* A ramp of characters, thin to heavy, for a scene that prints type.
|
|
39
|
-
*
|
|
40
|
-
* (`--font-family-code`) and
|
|
41
|
-
*
|
|
47
|
+
* A ramp of characters, thin to heavy, for a scene that prints type. It
|
|
48
|
+
* is drawn once into a strip texture in the theme's code face
|
|
49
|
+
* (`--font-family-code`) and reaches the GLSL as `u_glyphs`, with the
|
|
50
|
+
* number of characters in `u_glyphCount`.
|
|
42
51
|
*/
|
|
43
52
|
glyphs?: string;
|
|
44
53
|
/**
|
|
45
54
|
* The most drawing-buffer pixels per CSS pixel the scene may use, for a
|
|
46
|
-
* scene with detail finer than soft light (type). Defaults to 1;
|
|
47
|
-
* ratio in use reaches the GLSL as `u_ratio`.
|
|
55
|
+
* scene with detail finer than soft light (type, points). Defaults to 1;
|
|
56
|
+
* the ratio in use reaches the GLSL as `u_ratio`.
|
|
48
57
|
*/
|
|
49
58
|
pixelRatio?: number;
|
|
50
|
-
|
|
59
|
+
/** The scene's settings. Each arrives in the GLSL as `uniform float u_<key>`, declared for you. */
|
|
60
|
+
params: ShaderSceneParamSpec[];
|
|
61
|
+
/**
|
|
62
|
+
* GLSL ES 3.00 defining `vec3 scene(vec2 uv, float t)`, which returns the
|
|
63
|
+
* pixel's linear colour over the ground (`u_ground`). `uv` runs 0 to 1
|
|
64
|
+
* from the bottom left and `t` is the scene's clock in seconds. The
|
|
65
|
+
* uniforms and the noise helpers are declared before it.
|
|
66
|
+
*/
|
|
51
67
|
glsl: string;
|
|
52
68
|
};
|
|
69
|
+
/**
|
|
70
|
+
* A scene the library ships: a source with the id it is picked by, and the
|
|
71
|
+
* label and description a picker prints. `glsl` defines
|
|
72
|
+
* `vec3 scene(vec2 uv, float t)`, returning the final linear colour of the
|
|
73
|
+
* pixel over the page ground (`u_ground`). Its settings arrive as
|
|
74
|
+
* `uniform float u_<key>`, and its colours as `u_col[i]` in the order
|
|
75
|
+
* `colours` lists their tokens.
|
|
76
|
+
*/
|
|
77
|
+
export type Scene = ShaderSceneSource & {
|
|
78
|
+
id: string;
|
|
79
|
+
label: string;
|
|
80
|
+
description: string;
|
|
81
|
+
};
|
|
53
82
|
/**
|
|
54
83
|
* A finishing step. `glsl` defines one function named `pass_<id>`: a
|
|
55
84
|
* `light` pass takes and returns the linear colour, before encoding; an
|
package/components/registry.json
CHANGED
|
@@ -1317,7 +1317,7 @@
|
|
|
1317
1317
|
"name": "ShaderScene",
|
|
1318
1318
|
"label": "Shader scene",
|
|
1319
1319
|
"slug": "shader-scene",
|
|
1320
|
-
"description": "A WebGL2 scene, from a night horizon
|
|
1320
|
+
"description": "A WebGL2 scene, from a night horizon to a spiral galaxy or one of your own in GLSL, in the theme's field colours, with fades, vignette and grain.",
|
|
1321
1321
|
"category": "effects",
|
|
1322
1322
|
"client": true,
|
|
1323
1323
|
"keys": { "by": "none" }
|
|
@@ -1317,7 +1317,7 @@ declare const _default: {
|
|
|
1317
1317
|
"name": "ShaderScene",
|
|
1318
1318
|
"label": "Shader scene",
|
|
1319
1319
|
"slug": "shader-scene",
|
|
1320
|
-
"description": "A WebGL2 scene, from a night horizon
|
|
1320
|
+
"description": "A WebGL2 scene, from a night horizon to a spiral galaxy or one of your own in GLSL, in the theme's field colours, with fades, vignette and grain.",
|
|
1321
1321
|
"category": "effects",
|
|
1322
1322
|
"client": true,
|
|
1323
1323
|
"keys": { "by": "none" }
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const categories = [{ "id": "actions", "label": "Actions", "description": "Buttons, button groups, and toggles for triggering actions and switching modes." }, { "id": "ai", "label": "AI", "description": "Chat, agent, and model surfaces for building AI products, from the composer to the reasoning trace and the diff an agent proposes." }, { "id": "charts", "label": "Charts", "description": "Data visualisation components for plotting series and activity over time." }, { "id": "data-display", "label": "Data display", "description": "Cards, tables, lists, and badges for presenting structured content." }, { "id": "effects", "label": "Effects", "description": "Ambient and decorative surfaces that sit behind or around the interface." }, { "id": "feedback", "label": "Feedback", "description": "Alerts, toasts, progress, and empty states that tell people what is happening." }, { "id": "forms", "label": "Forms", "description": "Inputs, pickers, and selection controls for collecting and editing values." }, { "id": "inspector", "label": "Inspector", "description": "One-row controls for tool panels and settings rails, each carrying its name inside the control and sized to match Button." }, { "id": "layout", "label": "Layout", "description": "Page scaffolding: app shells, sidebars, dividers, and section headings." }, { "id": "maps", "label": "Maps", "description": "Geographic surfaces for showing where things are and what connects them: a globe, a flat world map, and the callout and key that explain them." }, { "id": "navigation", "label": "Navigation", "description": "Top bars, breadcrumbs, tabs, steppers, and pagination for moving through a product." }, { "id": "overlays", "label": "Overlays", "description": "Dialogs, drawers, menus, and tooltips that float above the page." }, { "id": "typography", "label": "Typography", "description": "Headings, running text, links, and lists, each drawn from a tier of the type scale." }];
|
|
2
|
-
const components = /* @__PURE__ */ JSON.parse(`[{"name":"Accordion","label":"Accordion","slug":"accordion","description":"Collapsible content sections for organising related information.","category":"data-display","client":true,"pattern":"accordion"},{"name":"ActionCard","label":"Action card","slug":"action-card","description":"A change an assistant proposes and the reader confirms, then the record of what happened, with Undo while it can be reversed.","category":"ai","client":false,"partPatterns":[{"pattern":"button","part":"buttons"}]},{"name":"ActionReadout","label":"Action readout","slug":"action-readout","description":"What a confirmed change did: a title over a list of facts, worked out from the records as they were just before it.","category":"ai","client":false,"keys":{"by":"none"}},{"name":"AgentPlan","label":"Agent plan","slug":"agent-plan","description":"A collapsible checklist of an agent's task, with live step states and a progress readout.","category":"ai","client":true,"partPatterns":[{"pattern":"disclosure","part":"collapsible section"}]},{"name":"AgentRail","label":"Agent rail","slug":"agent-rail","description":"The companion rail of an agent product: the agent's portrait over tabbed panes for activity, approvals, automations, and personalization.","category":"ai","client":false,"partPatterns":[{"pattern":"tabs","part":"tabs"}]},{"name":"AgentStatus","label":"Agent status","slug":"agent-status","description":"What an agent is doing right now, as a dot matrix and status line, a floating pill, a square mark for icon slots, or a ring around any element.","category":"ai","client":true,"keys":{"by":"none"}},{"name":"AiButton","label":"AI button","slug":"ai-button","description":"The AI entry point: a turning gradient ring that reports the agent's status, with a hover-summoned summary and a panel for what the agent asks of you.","category":"ai","client":true,"partPatterns":[{"pattern":"disclosure","part":"button that opens the request field"}]},{"name":"Alert","label":"Alert","slug":"alert","description":"Contextual feedback with status variants, optional dismiss, and compact sizing.","category":"feedback","client":false,"partPatterns":[{"pattern":"button","part":"dismiss button"}]},{"name":"AlertDialog","label":"Alert dialog","slug":"alert-dialog","description":"Modal confirmation overlay with title, description, and confirm / cancel actions.","category":"overlays","client":true,"pattern":"dialog"},{"name":"AnchorNav","label":"Anchor nav","slug":"anchor-nav","description":"An on-page list of anchor links that tracks the reader's position and jumps between sections.","category":"navigation","client":true,"pattern":"link"},{"name":"AnimatedNumber","label":"Animated number","slug":"animated-number","description":"A number that counts to its value: count-up on mount, eased tweens on change, tabular digits that never jitter.","category":"data-display","client":true,"keys":{"by":"none"}},{"name":"AppLayout","label":"App layout","slug":"app-layout","description":"Full-page template pairing the collapsible App sidebar with a content area, in one of the three app shell modes: flush, floating or inset.","category":"layout","client":true,"keys":{"by":"component","note":"The rail is AppSidebar, which carries the layout’s keys. The layout adds none of its own.","see":"AppSidebar"}},{"name":"AppSidebar","label":"App sidebar","slug":"app-sidebar","description":"Collapsible navigation rail with accordion sub-items, a side panel for a third level, category headings, and a profile section.","category":"layout","client":true,"keys":{"by":"component","note":"Below the mobile breakpoint the rail is a modal drawer: opening moves focus inside, Tab stays inside, and Escape closes it."}},{"name":"AreaChart","label":"Area chart","slug":"area-chart","description":"Filled area chart for showing volume over time, with stacked and single-series variants.","category":"charts","client":true,"folder":"Chart","recharts":true,"keys":{"by":"platform","note":"The chart takes focus and the arrow keys step through its data points, which is the charting engine’s own keyboard layer."}},{"name":"ArtifactCard","label":"Artifact card","slug":"artifact-card","description":"The tile a chat leaves in the thread for something it made, a toggle that opens the artifact in its panel.","category":"ai","client":false,"pattern":"toggle-button"},{"name":"ArtifactPanel","label":"Artifact panel","slug":"artifact-panel","description":"The panel a chat opens beside the conversation to preview what it made: live content, a sandboxed page or a site, with the source a switch away.","category":"ai","client":true,"partPatterns":[{"pattern":"button","part":"buttons"}]},{"name":"AttachmentDropZone","label":"Attachment drop zone","slug":"attachment-drop-zone","description":"A wrapper that makes a whole surface a file drop target, with an outlined overlay while files hover over it.","category":"ai","client":true,"folder":"Attachment","keys":{"by":"none"}},{"name":"AttachmentGroup","label":"Attachment group","slug":"attachment-group","description":"The files on a sent message: one picture at its own shape, or a grid of tiles that collapses behind a count.","category":"ai","client":true,"folder":"Attachment","partPatterns":[{"pattern":"disclosure","part":"control that shows the rest of the files"}]},{"name":"AttachmentTile","label":"Attachment tile","slug":"attachment-tile","description":"One file as a square: a picture, a coloured mark for well-known formats, or a neutral badge, with upload states.","category":"ai","client":false,"folder":"Attachment","keys":{"by":"none"}},{"name":"AttachmentViewer","label":"Attachment viewer","slug":"attachment-viewer","description":"A preview dialog for a message's files, with download, stepping, and plain states for files it cannot show.","category":"ai","client":true,"folder":"Attachment","pattern":"dialog"},{"name":"Avatar","label":"Avatar","slug":"avatar","description":"User profile image with initials and icon fallback, status indicator, and multiple sizes.","category":"data-display","client":true,"keys":{"by":"none"}},{"name":"AvatarGroup","label":"Avatar group","slug":"avatar-group","description":"Overlapping avatar stack with a +N counter for the overflow.","category":"data-display","client":false,"keys":{"by":"none"}},{"name":"Badge","label":"Badge","slug":"badge","description":"Small inline status labels with info, positive, warning, error, and neutral variants.","category":"data-display","client":false,"keys":{"by":"none"}},{"name":"Banner","label":"Banner","slug":"banner","description":"Full-width status strip for page-level announcements, with an action slot and optional dismissal.","category":"feedback","client":false,"keys":{"by":"none"}},{"name":"BarChart","label":"Bar chart","slug":"bar-chart","description":"Vertical bars for comparing values across categories or time, with summary stats and tooltips.","category":"charts","client":true,"folder":"Chart","recharts":true,"keys":{"by":"platform","note":"The chart takes focus and the arrow keys step through its data points, which is the charting engine’s own keyboard layer."}},{"name":"BentoTile","label":"Bento tile","slug":"bento-tile","description":"A feature tile for a bento grid, with a safe content area, a shader pair, solid or transparent background, and an overlay it opens into.","category":"data-display","client":true,"partPatterns":[{"pattern":"dialog","part":"expanded overlay"}]},{"name":"BentoTileArt","label":"Bento tile art","slug":"bento-tile-art","description":"The texture half of a bento tile's shader pair: six fine patterns in one vocabulary, fading in from a corner.","category":"effects","client":false,"folder":"BentoTile","keys":{"by":"none"}},{"name":"BottomNav","label":"Bottom nav","slug":"bottom-nav","description":"Mobile tab bar for three to five destinations, in the Rift style or as iOS Liquid Glass or Material 3 Expressive.","category":"navigation","client":true,"partPatterns":[{"pattern":"button","part":"destinations"}]},{"name":"Breadcrumb","label":"Breadcrumb","slug":"breadcrumb","description":"Hierarchical navigation trail showing the user's location within the site.","category":"navigation","client":false,"pattern":"link"},{"name":"Button","label":"Button","slug":"button","description":"Primary, secondary and tertiary emphasis, each in a default, neutral or destructive tone, with icons, loading, and default and compact sizes.","category":"actions","client":true,"pattern":"button"},{"name":"ButtonGroup","label":"Button group","slug":"button-group","description":"Horizontal and vertical button group layouts for related actions and navigation patterns.","category":"actions","client":false,"partPatterns":[{"pattern":"button","part":"buttons"}]},{"name":"Card","label":"Card","slug":"card","description":"A titled preview tile for index grids, with a case-study variant carrying a cover, company logo and dek.","category":"data-display","client":true,"keys":{"by":"none"}},{"name":"CardStack","label":"Card stack","slug":"card-stack","description":"A deck of cards showing one at a time, flipped through with a lift-and-settle animation.","category":"data-display","client":true,"keys":{"by":"component","note":"With the stack focused, the arrow keys step to the next card and back, and Space and Enter also advance."}},{"name":"Carousel","label":"Carousel","slug":"carousel","description":"Sliding content viewer with navigation arrows, dot indicators, auto-play, and keyboard support.","category":"data-display","client":true,"partPatterns":[{"pattern":"tabs","part":"slide dots"}]},{"name":"ChatHeader","label":"Chat header","slug":"chat-header","description":"The top row of a chat surface, with the conversation title and its controls.","category":"ai","client":false,"partPatterns":[{"pattern":"button","part":"buttons"}]},{"name":"ChatMarker","label":"Chat marker","slug":"chat-marker","description":"An inline conversation separator for date breaks and system notes.","category":"ai","client":false,"keys":{"by":"none"}},{"name":"ChatMessage","label":"Chat message","slug":"chat-message","description":"A single chat turn with avatar, author, timestamp, and bubble or plain content aligned by role.","category":"ai","client":false,"partPatterns":[{"pattern":"button","part":"action buttons"}]},{"name":"ChatThread","label":"Chat thread","slug":"chat-thread","description":"A scrollable conversation column with edge fades, send anchoring, and a subtle scrollbar.","category":"ai","client":true,"keys":{"by":"platform","note":"A focusable scroll region: the browser scrolls it with the arrow, Page, Home and End keys."}},{"name":"Checkbox","label":"Checkbox","slug":"checkbox","description":"Custom checkbox with check and indeterminate states, keyboard accessible with animated transitions.","category":"forms","client":true,"pattern":"checkbox"},{"name":"Chip","label":"Chip","slug":"chip","description":"Compact pills for attributes, filters, and inline metadata.","category":"data-display","client":false,"keys":{"by":"none"}},{"name":"CircularButton","label":"Circular button","slug":"circular-button","description":"Round icon button in primary, secondary and tertiary emphasis and a default, neutral or destructive tone, in default and compact sizes.","category":"actions","client":false,"pattern":"button"},{"name":"CodeBlock","label":"Code block","slug":"code-block","description":"Monospace code with a header and one-click copy.","category":"data-display","client":true,"partPatterns":[{"pattern":"disclosure","part":"collapsible section"}]},{"name":"CodeDiff","label":"Code diff","slug":"code-diff","description":"Unified diff view for code changes, with added, removed, and context lines.","category":"ai","client":false,"keys":{"by":"platform","note":"A focusable scroll region: the browser scrolls it with the arrow, Page, Home and End keys."}},{"name":"ColorPicker","label":"Colour picker","slug":"color-picker","description":"Swatch trigger opening a saturation area, hue and alpha sliders, and a hex field; controlled or uncontrolled.","category":"forms","client":true,"keys":{"by":"component","note":"Opening moves focus onto the colour area, where the arrow keys move both axes, Home and End take saturation to its ends, and Escape closes the panel."}},{"name":"ComboChart","label":"Combo chart","slug":"combo-chart","description":"Bar and line series in one chart, with an optional second y-axis for pairs in different units, like spend and ROAS.","category":"charts","client":true,"folder":"Chart","recharts":true,"keys":{"by":"platform","note":"The chart takes focus and the arrow keys step through its data points, which is the charting engine’s own keyboard layer."}},{"name":"Combobox","label":"Combobox","slug":"combobox","description":"A filterable select that narrows options as the user types, with multi-select chips, grouping, and async loading.","category":"forms","client":true,"pattern":"combobox"},{"name":"CommandPalette","label":"Command palette","slug":"command-palette","description":"A modal Cmd+K launcher that searches a grouped command list, with keyboard navigation and shortcut hints.","category":"overlays","client":true,"pattern":"dialog","partPatterns":[{"pattern":"listbox","part":"list of results"}]},{"name":"CommandPaletteTrigger","label":"Command palette trigger","slug":"command-palette-trigger","description":"The entry point to a command palette: a button dressed as a search field, with the shortcut's keycaps, at the row-control height.","category":"actions","client":false,"pattern":"button"},{"name":"Composer","label":"Composer","slug":"composer","description":"An auto-growing message input with send and stop states, a page-context note, a file tray fed by picker, paste and drop, and Enter-to-send.","category":"ai","client":true,"keys":{"by":"component","note":"Enter sends, Shift and Enter adds a line, and with a mention list open the arrow keys move through it, Enter or Tab writes the choice and Escape closes it."}},{"name":"ContactCard","label":"Contact card","slug":"contact-card","description":"Linked contact method with icon, label, and value.","category":"data-display","client":true,"partPatterns":[{"pattern":"link","part":"contact link"},{"pattern":"button","part":"copy button"}]},{"name":"ContextMenu","label":"Context menu","slug":"context-menu","description":"Right-click menu at the pointer with groups, sub-menus, and shortcut hints.","category":"overlays","client":true,"pattern":"menu"},{"name":"ContributionGraph","label":"Contribution graph","slug":"contribution-graph","description":"A year of activity, one cell per day.","category":"charts","client":false,"keys":{"by":"none"}},{"name":"CurrencyInput","label":"Currency input","slug":"currency-input","description":"An amount of money as a decimal string, read in the locale's marks and grouped once the field is left.","category":"forms","client":true,"keys":{"by":"component","note":"Arrow Up and Arrow Down step the amount by its step, between its minimum and maximum."}},{"name":"DataTable","label":"Data table","slug":"data-table","description":"The wired table: typed columns, sorting, filters, editing, grouping with totals, row details, saved views, thousands of rows, and rows from a server.","category":"data-display","client":true,"keys":{"by":"component","note":"In grid navigation the arrow keys move between cells, Enter or F2 starts an edit and Escape cancels it. The page has the full table of keys."}},{"name":"DateInput","label":"Date input","slug":"date-input","description":"Date input with native picker, calendar icon, label, and validation states.","category":"forms","client":true,"keys":{"by":"platform","note":"A native date input: the browser owns its keys and its picker."}},{"name":"DatePicker","label":"Date picker","slug":"date-picker","description":"Inline calendar with month navigation, day selection, and today indicator.","category":"forms","client":true,"pattern":"calendar"},{"name":"DateRangePicker","label":"Date range picker","slug":"date-range-picker","description":"An inline calendar for choosing a range of days, one or two months wide, with presets.","category":"forms","client":true,"pattern":"calendar"},{"name":"Deadline","label":"Deadline","slug":"deadline","description":"A due date against now that turns from neutral to warning to error as it nears.","category":"data-display","client":true,"keys":{"by":"none"}},{"name":"DescriptionList","label":"Description list","slug":"description-list","description":"Terms and their values for review screens, receipts, and account details, stacked, in two columns, or in a grid.","category":"data-display","client":false,"partPatterns":[{"pattern":"button","part":"copy button"}]},{"name":"Dialog","label":"Dialog","slug":"dialog","description":"A general-purpose modal for focused tasks, with sizes, an optional footer, and full focus management.","category":"overlays","client":true,"pattern":"dialog"},{"name":"Divider","label":"Divider","slug":"divider","description":"A thin rule separating stacked content, with optional inline label and vertical orientation.","category":"layout","client":false,"keys":{"by":"none"}},{"name":"DocumentChip","label":"Document chip","slug":"document-chip","description":"A legacy one-row file reference, superseded by the attachment tile and kept for existing consumers.","category":"ai","client":false,"keys":{"by":"none"}},{"name":"DocumentViewer","label":"Document viewer","slug":"document-viewer","description":"A PDF, an image or a text file shown on the page, with download and a fallback where the browser will not embed it.","category":"data-display","client":true,"keys":{"by":"platform","note":"A focusable scroll region: the browser scrolls it with the arrow, Page, Home and End keys."}},{"name":"Drawer","label":"Drawer","slug":"drawer","description":"An edge-anchored modal panel that slides in from any side, for filter panels, detail views, and mobile navigation.","category":"overlays","client":true,"pattern":"dialog"},{"name":"Dropdown","label":"Dropdown","slug":"dropdown","description":"Custom select dropdown with keyboard navigation, disabled options, and error states.","category":"forms","client":true,"pattern":"combobox"},{"name":"DropdownMenu","label":"Dropdown menu","slug":"dropdown-menu","description":"Action menu opened from a trigger, with groups, sub-menus, shortcuts, radio and checkbox items, placed to stay on screen.","category":"overlays","client":true,"pattern":"menu"},{"name":"EmptyState","label":"Empty state","slug":"empty-state","description":"The placeholder for a list, table, or search with nothing to show: icon, headline, guidance, and a next action.","category":"feedback","client":false,"keys":{"by":"none"}},{"name":"EntityCard","label":"Entity card","slug":"entity-card","description":"Compact display-only card with a centred icon or image and a label, used in the Icons and Logos galleries.","category":"data-display","client":false,"keys":{"by":"none"}},{"name":"EntitySwitcher","label":"Entity switcher","slug":"entity-switcher","description":"Switcher for the company, team, or account a screen is scoped to, with a logo, icon, or initials mark and levels that drill in.","category":"navigation","client":true,"pattern":"menu"},{"name":"ErrorSummary","label":"Error summary","slug":"error-summary","description":"Every error on a form at the top of it, each a link that moves focus to its field.","category":"feedback","client":true,"partPatterns":[{"pattern":"link","part":"links to each field"}]},{"name":"EventCalendar","label":"Event calendar","slug":"event-calendar","description":"A month grid with event pills, overflow counts, and month navigation.","category":"data-display","client":true,"partPatterns":[{"pattern":"button","part":"navigation buttons"}]},{"name":"Field","label":"Field","slug":"field","description":"The shared scaffolding for labelled form controls: label, required marker, helper and error text, and the ARIA wiring that ties them together.","category":"forms","client":true,"pattern":"textbox"},{"name":"Figure","label":"Figure","slug":"figure","description":"Images with captions, in the case-study frame.","category":"data-display","client":false,"keys":{"by":"none"}},{"name":"FileInput","label":"File input","slug":"file-input","description":"A click-or-drop upload zone paired with a controlled file list showing size, progress, and per-file errors.","category":"forms","client":true,"pattern":"button"},{"name":"FilterBar","label":"Filter bar","slug":"filter-bar","description":"A row of filter chips for narrowing a collection, each opening a popover of options, with per-filter and clear-all resets.","category":"forms","client":true,"partPatterns":[{"pattern":"listbox","part":"list of options"}]},{"name":"FunnelChart","label":"Funnel chart","slug":"funnel-chart","description":"Ordered funnel stages as centred trapezoid bands, each sized by its share of the first stage.","category":"charts","client":true,"recharts":true,"keys":{"by":"platform","note":"The chart takes focus and the arrow keys step through its data points, which is the charting engine’s own keyboard layer."}},{"name":"GanttChart","label":"Gantt chart","slug":"gantt-chart","description":"Phases and tasks as bars on a shared timeline, with milestones, progress, and a today rule.","category":"charts","client":false,"keys":{"by":"none"}},{"name":"Gauge","label":"Gauge","slug":"gauge","description":"A radial dial for a single bounded reading, recoloured through the status roles as it crosses thresholds.","category":"charts","client":false,"keys":{"by":"none"}},{"name":"Globe","label":"Globe","slug":"globe","description":"An orthographic globe with markers and great-circle arcs, rotated by drag, keys, or a slow spin.","category":"maps","client":true,"keys":{"by":"component","note":"The arrow keys turn the globe while it has focus."}},{"name":"Heading","label":"Heading","slug":"heading","description":"A heading whose outline level and type tier are chosen apart.","category":"typography","client":false,"keys":{"by":"none"}},{"name":"HoverCard","label":"Hover card","slug":"hover-card","description":"Rich preview panel that opens from hover or focus, with interactive content and position options.","category":"overlays","client":true,"pattern":"tooltip"},{"name":"ImageCompare","label":"Image compare","slug":"image-compare","description":"Before-and-after image comparison with a draggable divider, keyboard control, and corner labels.","category":"data-display","client":true,"pattern":"slider"},{"name":"Input","label":"Input","slug":"input","description":"Text input with label, placeholder, icons, a prefix or suffix, a clear button, helper text, and error states.","category":"forms","client":true,"pattern":"textbox"},{"name":"InspectorColorPicker","label":"Inspector colour picker","slug":"inspector-color-picker","description":"One-row colour setting for inspector panels, with the hex and a round swatch at the bar's end and ColorPicker's own panel.","category":"inspector","client":true,"folder":"Inspector","keys":{"by":"component","note":"It is ColorPicker in the inspector’s dress: opening moves focus onto the colour area, where the arrow keys move both axes, and Escape closes the panel with focus back on the swatch.","see":"ColorPicker"}},{"name":"InspectorDropdown","label":"Inspector dropdown","slug":"inspector-dropdown","description":"One-row select for inspector panels, with the name inside the bar and the library Dropdown's menu and font previews.","category":"inspector","client":true,"folder":"Inspector","pattern":"combobox"},{"name":"InspectorInput","label":"Inspector input","slug":"inspector-input","description":"One-row text field for inspector panels, with the name on the left and the value right-aligned in the bar.","category":"inspector","client":true,"folder":"Inspector","pattern":"textbox"},{"name":"InspectorSection","label":"Inspector section","slug":"inspector-section","description":"Collapsible, titled run of inspector controls whose open body lets a dropdown menu open past its edge.","category":"inspector","client":true,"folder":"Inspector","partPatterns":[{"pattern":"disclosure","part":"collapsible section"}]},{"name":"InspectorSegmentedControl","label":"Inspector segments","slug":"inspector-segmented-control","description":"One-row choice between a few options for inspector panels, as native radios under a sliding selection pill.","category":"inspector","client":true,"folder":"Inspector","keys":{"by":"platform","note":"Native radio inputs: the browser moves between them with the arrow keys."}},{"name":"InspectorSlider","label":"Inspector slider","slug":"inspector-slider","description":"One-row slider for inspector panels, where the whole bar is the control and its fill is the value.","category":"inspector","client":true,"folder":"Inspector","keys":{"by":"platform","note":"A native range input: the browser’s own arrow, Home, End and Page keys move it."}},{"name":"InspectorToggleSwitch","label":"Inspector toggle switch","slug":"inspector-toggle-switch","description":"One-row switch for inspector panels, where the whole bar toggles and the track sits at its end.","category":"inspector","client":true,"folder":"Inspector","pattern":"switch"},{"name":"Instructions","label":"Instructions","slug":"instructions","description":"Step-by-step guidance with numbered badges, connecting lines, and horizontal layout.","category":"data-display","client":false,"keys":{"by":"none"}},{"name":"InterruptCard","label":"Interrupt card","slug":"interrupt-card","description":"A human-in-the-loop checkpoint with a question from the agent and option buttons to decide.","category":"ai","client":false,"partPatterns":[{"pattern":"button","part":"buttons"}]},{"name":"Kbd","label":"Kbd","slug":"kbd","description":"A keyboard key rendered as a keycap, for shortcut hints in menus and prose.","category":"data-display","client":true,"keys":{"by":"none"}},{"name":"LegendTile","label":"Legend tile","slug":"legend-tile","description":"The labelled value tile under a chart: a series dot, the series name, and its reading, on a soft neutral fill.","category":"charts","client":false,"keys":{"by":"none"}},{"name":"Lightbox","label":"Lightbox","slug":"lightbox","description":"Fullscreen media viewer on the shared overlay stack: deep scrim, caption chip, gallery stepping, trapped and restored focus.","category":"overlays","client":true,"pattern":"dialog"},{"name":"LineChart","label":"Line chart","slug":"line-chart","description":"Multi-series line chart for trends over time, with per-series colours and a summary row.","category":"charts","client":true,"folder":"Chart","recharts":true,"keys":{"by":"platform","note":"The chart takes focus and the arrow keys step through its data points, which is the charting engine’s own keyboard layer."}},{"name":"Link","label":"Link","slug":"link","description":"A text link inside a sentence or on its own, routed through the app's link component.","category":"typography","client":false,"pattern":"link"},{"name":"LinkList","label":"Link list","slug":"link-list","description":"Linked items with logo, label, and subtitle.","category":"data-display","client":false,"pattern":"link"},{"name":"List","label":"List","slug":"list","description":"Ordered and unordered lists marked with a disc, a number, a check, or an icon.","category":"typography","client":false,"keys":{"by":"none"}},{"name":"MapCallout","label":"Map callout","slug":"map-callout","description":"The annotation beside a map point: a name in capitals over monospace readout lines.","category":"maps","client":false,"keys":{"by":"none"}},{"name":"MapLegend","label":"Map legend","slug":"map-legend","description":"The corner block of a map: its name, what it shows, and the key to its markers.","category":"maps","client":false,"keys":{"by":"none"}},{"name":"MaskedInput","label":"Masked input","slug":"masked-input","description":"A field that writes its value into a shape as it is typed, with a sensitive mode that hides it.","category":"forms","client":true,"pattern":"textbox"},{"name":"MegaMenu","label":"Mega menu","slug":"mega-menu","description":"A wide navigation panel of icon rows with descriptions, beside an optional featured card.","category":"navigation","client":false,"pattern":"link"},{"name":"Mention","label":"Mention","slug":"mention","description":"An inline reference to an entity or a skill, with the menu that @ or / opens while typing and the tag it leaves in the message.","category":"ai","client":true,"keys":{"by":"component","note":"The list of suggestions is driven from the field it belongs to: the arrow keys move, Enter chooses and Escape closes."}},{"name":"MessageActions","label":"Message actions","slug":"message-actions","description":"An icon-button row for message-level actions like copy, retry, and feedback.","category":"ai","client":false,"partPatterns":[{"pattern":"button","part":"buttons"}]},{"name":"MessageCard","label":"Message card","slug":"message-card","description":"A structured rich-content card embedded in a chat message, with media, title, body, and actions.","category":"ai","client":false,"keys":{"by":"none"}},{"name":"Meter","label":"Meter","slug":"meter","description":"Level indicator for a known quantity, with a status-coloured fill and an optional value readout.","category":"feedback","client":false,"keys":{"by":"none"}},{"name":"ModelPicker","label":"Model picker","slug":"model-picker","description":"A model selector for chat surfaces, with per-model descriptions and an optional effort row.","category":"ai","client":true,"pattern":"combobox"},{"name":"Nav","label":"Nav","slug":"nav","description":"A legacy plain top bar of brand and page links, superseded by the site header and kept for existing consumers.","category":"navigation","client":false,"partPatterns":[{"pattern":"button","part":"items"}]},{"name":"NavList","label":"Nav list","slug":"nav-list","description":"Vertical list of navigation links for drawers and menus, with three indent levels and per-row expand toggles.","category":"navigation","client":true,"partPatterns":[{"pattern":"disclosure","part":"collapsible section"}]},{"name":"NotificationCenter","label":"Notification centre","slug":"notification-center","description":"A persistent notification inbox with unread count, filter tabs, and per-item actions.","category":"feedback","client":true,"pattern":"tabs"},{"name":"NumberInput","label":"Number input","slug":"number-input","description":"Numeric field with increment and decrement steppers and min/max clamping.","category":"forms","client":true,"partPatterns":[{"pattern":"textbox","part":"field"},{"pattern":"button","part":"step buttons"}]},{"name":"Pagination","label":"Pagination","slug":"pagination","description":"Numbered page navigation for long datasets, with ellipses, disabled end arrows, and a compact readout mode.","category":"navigation","client":true,"partPatterns":[{"pattern":"button","part":"page buttons"}]},{"name":"Panel","label":"Panel","slug":"panel","description":"The plain dashboard surface: a rounded container with no border or shadow, just padding and a gap.","category":"layout","client":false,"keys":{"by":"none"}},{"name":"PieChart","label":"Pie chart","slug":"pie-chart","description":"Proportional share of a whole as a pie or donut, with per-slice colours.","category":"charts","client":true,"folder":"Chart","recharts":true,"keys":{"by":"platform","note":"The chart takes focus and the arrow keys step through its data points, which is the charting engine’s own keyboard layer."}},{"name":"PinInput","label":"Pin input","slug":"pin-input","description":"Segmented one-time-code input with auto-advance, paste support, and completion callback.","category":"forms","client":true,"keys":{"by":"component","note":"Typing fills a cell and moves on, Backspace clears and steps back, and the arrow keys move between cells."}},{"name":"PixelAvatar","label":"Pixel avatar","slug":"pixel-avatar","description":"A generated character mark drawn from a name: the same name is always the same pixel creature in the same ink.","category":"data-display","client":false,"keys":{"by":"none"}},{"name":"Popover","label":"Popover","slug":"popover","description":"Contextual overlay panel with click and hover triggers, positioned relative to its anchor.","category":"overlays","client":true,"partPatterns":[{"pattern":"disclosure","part":"trigger of a click popover"}]},{"name":"ProgressBar","label":"Progress bar","slug":"progress-bar","description":"Horizontal bar indicating completion progress, with an optional percentage label.","category":"feedback","client":false,"keys":{"by":"none"}},{"name":"ProgressiveBlur","label":"Progressive blur","slug":"progressive-blur","description":"A backdrop blur that dissolves along one edge, with an optional page tint that fades in.","category":"effects","client":false,"keys":{"by":"none"}},{"name":"PromptSuggestions","label":"Prompt suggestions","slug":"prompt-suggestions","description":"Tappable prompt suggestions to start or steer a conversation, as a scrolling or wrapping row, a stack, tiles or cards.","category":"ai","client":true,"partPatterns":[{"pattern":"button","part":"suggestions"}]},{"name":"Prose","label":"Prose","slug":"prose","description":"Token-styled typography for rendered markdown and rich agent output.","category":"ai","client":false,"partPatterns":[{"pattern":"link","part":"links"}]},{"name":"QuestionCard","label":"Question card","slug":"question-card","description":"An agent's question with answers to pick: one or several, a set asked a step at a time, kept as a record once answered.","category":"ai","client":true,"keys":{"by":"component","note":"The digits pick an option by its position, and Enter or Space choose the focused one. A lone question answers on the pick, and a set or a multiple-choice question on its button."}},{"name":"Quote","label":"Quote","slug":"quote","description":"Blockquotes and pull-quotes with attribution.","category":"data-display","client":false,"keys":{"by":"none"}},{"name":"RadarChart","label":"Radar chart","slug":"radar-chart","description":"Multi-axis comparison of series across categories on a radial grid.","category":"charts","client":true,"folder":"Chart","recharts":true,"keys":{"by":"platform","note":"The chart takes focus and the arrow keys step through its data points, which is the charting engine’s own keyboard layer."}},{"name":"RadialChart","label":"Radial chart","slug":"radial-chart","description":"Concentric progress rings for completion and KPI readouts.","category":"charts","client":true,"folder":"Chart","recharts":true,"keys":{"by":"platform","note":"The chart takes focus and the arrow keys step through its data points, which is the charting engine’s own keyboard layer."}},{"name":"RadioButton","label":"Radio button","slug":"radio-button","description":"Radio button and radio group with vertical and horizontal layouts, animated dot indicator.","category":"forms","client":true,"pattern":"radio-group"},{"name":"Rating","label":"Rating","slug":"rating","description":"Star-scale rating control with keyboard selection, a read-only mode, and a configurable icon.","category":"forms","client":true,"pattern":"radio-group"},{"name":"Reasoning","label":"Reasoning","slug":"reasoning","description":"A model's thinking, disclosed behind a one-line summary and collapsed once it finishes.","category":"ai","client":true,"partPatterns":[{"pattern":"disclosure","part":"collapsible section"}]},{"name":"RichDropdown","label":"Rich dropdown","slug":"rich-dropdown","description":"Dropdown's rich sibling: options preview their own heading face, body face, and key colour.","category":"forms","client":true,"pattern":"combobox"},{"name":"ScatterChart","label":"Scatter chart","slug":"scatter-chart","description":"Plots point clusters across two axes to show correlation and distribution.","category":"charts","client":true,"folder":"Chart","recharts":true,"keys":{"by":"platform","note":"The chart takes focus and the arrow keys step through its data points, which is the charting engine’s own keyboard layer."}},{"name":"SectionTitle","label":"Section title","slug":"section-title","description":"Heading with a divider line and optional trailing content for organising page sections.","category":"layout","client":false,"keys":{"by":"none"}},{"name":"SegmentedControl","label":"Segmented control","slug":"segmented-control","description":"Pill-style toggle between related views with keyboard navigation and icon support.","category":"actions","client":true,"pattern":"tabs"},{"name":"SelectionCard","label":"Selection card","slug":"selection-card","description":"Large option cards for high-visibility choices like settings and onboarding, with radio, checkbox or per-card toggle indicators.","category":"data-display","client":true,"partPatterns":[{"pattern":"checkbox","part":"cards"}]},{"name":"ShaderField","label":"Shader field","slug":"shader-field","description":"An ambient WebGL2 field of soft light sources that sample colour tokens, with a reported fallback status.","category":"effects","client":true,"keys":{"by":"none"}},{"name":"ShaderScene","label":"Shader scene","slug":"shader-scene","description":"A WebGL2 scene, from a night horizon and a glowing rift to a meteor shower and an aurora, in the theme's field colours, with fades, a vignette and grain.","category":"effects","client":true,"keys":{"by":"none"}},{"name":"SidebarPanel","label":"Sidebar panel","slug":"sidebar-panel","description":"Secondary navigation column listing one section's pages, with group headings and one level of accordion nesting.","category":"layout","client":true,"partPatterns":[{"pattern":"disclosure","part":"collapsible section"}]},{"name":"SignaturePad","label":"Signature pad","slug":"signature-pad","description":"A signature drawn with a pointer or typed, kept as SVG with a PNG on demand.","category":"forms","client":true,"partPatterns":[{"pattern":"tabs","part":"mode tabs"}]},{"name":"SiteHeader","label":"Site header","slug":"site-header","description":"A site's sticky top bar of section pills and mega menus, folding to a drawer when the pills no longer fit.","category":"navigation","client":true,"keys":{"by":"component","note":"Focusing a section opens its panel, Arrow Down moves into it, and Escape closes it."}},{"name":"Skeleton","label":"Skeleton","slug":"skeleton","description":"Placeholder loading indicators with text, circular, and rectangular variants.","category":"feedback","client":false,"keys":{"by":"none"}},{"name":"Slider","label":"Slider","slug":"slider","description":"Range input for selecting a value between a minimum and maximum, in default and compact sizes.","category":"forms","client":true,"keys":{"by":"platform","note":"A native range input: the browser’s own arrow, Home, End and Page keys move it."}},{"name":"SourceChip","label":"Source chip","slug":"source-chip","description":"A numbered citation pill linking a claim to its source.","category":"ai","client":true,"partPatterns":[{"pattern":"tooltip","part":"source preview"}]},{"name":"SourceTrail","label":"Source trail","slug":"source-trail","description":"The sources an agent opened while answering, as a collapsible list with per-item status.","category":"ai","client":true,"partPatterns":[{"pattern":"disclosure","part":"collapsible section"}]},{"name":"Sparkline","label":"Sparkline","slug":"sparkline","description":"Inline trend line for stats and table cells, drawn without axes or chrome.","category":"charts","client":false,"keys":{"by":"none"}},{"name":"Spinner","label":"Spinner","slug":"spinner","description":"Animated circular loading indicator in three sizes and a default, neutral or inherit tone.","category":"feedback","client":false,"keys":{"by":"none"}},{"name":"SplitButton","label":"Split button","slug":"split-button","description":"Primary action with an attached menu of alternatives, composing Button and DropdownMenu in one pill, in primary or secondary emphasis and any tone.","category":"actions","client":false,"partPatterns":[{"pattern":"button","part":"main button"},{"pattern":"menu","part":"menu of other actions"}]},{"name":"SplitPane","label":"Split pane","slug":"split-pane","description":"Two resizable regions with a draggable, keyboard-operable divider between them.","category":"layout","client":true,"pattern":"splitter"},{"name":"StackedBarChart","label":"Stacked bar chart","slug":"stacked-bar-chart","description":"Bars split into stacked segments to compare totals and their composition.","category":"charts","client":true,"folder":"Chart","recharts":true,"keys":{"by":"platform","note":"The chart takes focus and the arrow keys step through its data points, which is the charting engine’s own keyboard layer."}},{"name":"Stat","label":"Stat","slug":"stat","description":"Headline metrics with labels and trend deltas.","category":"data-display","client":false,"keys":{"by":"none"}},{"name":"StatusDot","label":"Status dot","slug":"status-dot","description":"The bare status mark: a dot in the five status roles, with an optional label and a live pulse for recording and online-now states.","category":"feedback","client":false,"keys":{"by":"none"}},{"name":"Stepper","label":"Stepper","slug":"stepper","description":"Step-by-step progress indicator for wizards and multi-stage flows.","category":"navigation","client":true,"keys":{"by":"none"}},{"name":"StreamingText","label":"Streaming text","slug":"streaming-text","description":"Progressive reveal for text arriving in chunks, with a blinking cursor while more is coming.","category":"ai","client":true,"keys":{"by":"none"}},{"name":"Swatch","label":"Swatch","slug":"swatch","description":"Clickable colour tile for preset palettes and picker triggers, with a theme-aware selection ring.","category":"forms","client":false,"pattern":"toggle-button"},{"name":"Table","label":"Table","slug":"table","description":"Data table with flexible cell content, striped rows, compact sizing, and support for icons, inputs, buttons, and interactive controls.","category":"data-display","client":false,"keys":{"by":"none"}},{"name":"TableToolbar","label":"Table toolbar","slug":"table-toolbar","description":"The control bar over a table: search, filter chips, sort, group, columns, density, saved views and a bulk bar, wired to a DataTable in its toolbar slot.","category":"data-display","client":true,"keys":{"by":"component","note":"Alt and the up or down arrow reorder a column or a sort row, and Escape closes a panel."}},{"name":"Tabs","label":"Tabs","slug":"tabs","description":"Tab navigation with underline indicator, icon support, compact size, and full-width mode.","category":"navigation","client":true,"pattern":"tabs"},{"name":"TagInput","label":"Tag input","slug":"tag-input","description":"Multi-value text input with entries held as removable tags.","category":"forms","client":true,"pattern":"textbox"},{"name":"Text","label":"Text","slug":"text","description":"Running text in a tier of the type scale, with tones, truncation, and tabular figures.","category":"typography","client":false,"keys":{"by":"none"}},{"name":"Textarea","label":"Textarea","slug":"textarea","description":"Multi-line text input with character counter, resize control, helper text, and error states.","category":"forms","client":true,"pattern":"textbox"},{"name":"ThemePicker","label":"Theme picker","slug":"theme-picker","description":"A circular trigger wearing the active theme's swatch, opening a menu of every theme on offer with its colour, corner and faces.","category":"actions","client":true,"pattern":"menu"},{"name":"ThemeToggle","label":"Theme toggle","slug":"theme-toggle","description":"The colour-mode control: System, Light and Dark over a stored setting, with the script that applies it before first paint.","category":"actions","client":true,"pattern":"tabs"},{"name":"ThreadPanel","label":"Thread panel","slug":"thread-panel","description":"The session-history rail for chat products: brand header, new-thread action, standing controls, projects, grouped detail-rich threads, and a profile footer.","category":"ai","client":false,"keys":{"by":"component","note":"The rail’s toggle is an ordinary button, and its threads are a list of buttons."}},{"name":"ThreadTabs","label":"Thread tabs","slug":"thread-tabs","description":"The strip of open chat sessions: pill tabs with status dots and hover-revealed close buttons, a new-tab action, and animated enter and exit.","category":"ai","client":true,"partPatterns":[{"pattern":"button","part":"tabs"}]},{"name":"TimePicker","label":"Time picker","slug":"time-picker","description":"Time-of-day field with a dropdown list of selectable times.","category":"forms","client":true,"pattern":"combobox"},{"name":"Timeline","label":"Timeline","slug":"timeline","description":"Ordered sequences: histories and steppers.","category":"data-display","client":false,"keys":{"by":"none"}},{"name":"Toast","label":"Toast","slug":"toast","description":"Temporary notification with status variants, auto-dismiss, and stacking via ToastProvider.","category":"feedback","client":true,"keys":{"by":"none"}},{"name":"ToggleGroup","label":"Toggle group","slug":"toggle-group","description":"A set of two-state buttons that can be toggled on or off, supporting text and icon items.","category":"actions","client":true,"pattern":"toggle-button"},{"name":"ToggleSwitch","label":"Toggle switch","slug":"toggle-switch","description":"Binary on/off toggle control with sliding thumb and check indicator, for settings that take effect immediately.","category":"forms","client":true,"pattern":"switch"},{"name":"ToolCall","label":"Tool call","slug":"tool-call","description":"The record of one tool invocation, with its arguments and result behind a disclosure.","category":"ai","client":true,"partPatterns":[{"pattern":"disclosure","part":"collapsible section"}]},{"name":"Toolbar","label":"Toolbar","slug":"toolbar","description":"A grouped strip of controls in one pill shell: clusters, separators, arrow-key focus, and a glass floating variant.","category":"layout","client":true,"pattern":"toolbar"},{"name":"Tooltip","label":"Tooltip","slug":"tooltip","description":"Contextual text label that appears on hover or focus with position and delay options.","category":"overlays","client":true,"pattern":"tooltip"},{"name":"TopAppBar","label":"Top app bar","slug":"top-app-bar","description":"Mobile screen header with a menu or back button, title, and actions, in Rift, iOS, or Android style, collapsing on scroll.","category":"navigation","client":true,"partPatterns":[{"pattern":"button","part":"buttons"}]},{"name":"TreeView","label":"Tree view","slug":"tree-view","description":"Collapsible hierarchy for files, folders, and nested structures.","category":"data-display","client":true,"pattern":"tree"},{"name":"Treemap","label":"Treemap","slug":"treemap","description":"Nested rectangles sized by value for part-to-whole breakdowns.","category":"charts","client":true,"folder":"Chart","recharts":true,"keys":{"by":"none"}},{"name":"UsageCard","label":"Usage card","slug":"usage-card","description":"An agent's budgets at a glance: context window and plan limits as meter rows with reset captions.","category":"ai","client":false,"keys":{"by":"none"}},{"name":"Waveform","label":"Waveform","slug":"waveform","description":"Voice made visible: a row of bars dancing on the shared twelve-slot cycle, or tracking a live analyser level by level.","category":"ai","client":false,"keys":{"by":"none"}},{"name":"Widget","label":"Widget","slug":"widget","description":"A titled section for a dashboard, a form, or settings, with rows, groups, a footer, an optional fold, and a board of columns.","category":"data-display","client":false,"keys":{"by":"none"}},{"name":"WorldMap","label":"World map","slug":"world-map","description":"A flat world map from Natural Earth land shapes: token-coloured continents, framed bounds, and colour-carrying markers.","category":"maps","client":true,"keys":{"by":"component","note":"With zoom on and the map focused, plus and minus zoom and the arrow keys pan. Its zoom buttons are ordinary buttons."}}]`);
|
|
2
|
+
const components = /* @__PURE__ */ JSON.parse(`[{"name":"Accordion","label":"Accordion","slug":"accordion","description":"Collapsible content sections for organising related information.","category":"data-display","client":true,"pattern":"accordion"},{"name":"ActionCard","label":"Action card","slug":"action-card","description":"A change an assistant proposes and the reader confirms, then the record of what happened, with Undo while it can be reversed.","category":"ai","client":false,"partPatterns":[{"pattern":"button","part":"buttons"}]},{"name":"ActionReadout","label":"Action readout","slug":"action-readout","description":"What a confirmed change did: a title over a list of facts, worked out from the records as they were just before it.","category":"ai","client":false,"keys":{"by":"none"}},{"name":"AgentPlan","label":"Agent plan","slug":"agent-plan","description":"A collapsible checklist of an agent's task, with live step states and a progress readout.","category":"ai","client":true,"partPatterns":[{"pattern":"disclosure","part":"collapsible section"}]},{"name":"AgentRail","label":"Agent rail","slug":"agent-rail","description":"The companion rail of an agent product: the agent's portrait over tabbed panes for activity, approvals, automations, and personalization.","category":"ai","client":false,"partPatterns":[{"pattern":"tabs","part":"tabs"}]},{"name":"AgentStatus","label":"Agent status","slug":"agent-status","description":"What an agent is doing right now, as a dot matrix and status line, a floating pill, a square mark for icon slots, or a ring around any element.","category":"ai","client":true,"keys":{"by":"none"}},{"name":"AiButton","label":"AI button","slug":"ai-button","description":"The AI entry point: a turning gradient ring that reports the agent's status, with a hover-summoned summary and a panel for what the agent asks of you.","category":"ai","client":true,"partPatterns":[{"pattern":"disclosure","part":"button that opens the request field"}]},{"name":"Alert","label":"Alert","slug":"alert","description":"Contextual feedback with status variants, optional dismiss, and compact sizing.","category":"feedback","client":false,"partPatterns":[{"pattern":"button","part":"dismiss button"}]},{"name":"AlertDialog","label":"Alert dialog","slug":"alert-dialog","description":"Modal confirmation overlay with title, description, and confirm / cancel actions.","category":"overlays","client":true,"pattern":"dialog"},{"name":"AnchorNav","label":"Anchor nav","slug":"anchor-nav","description":"An on-page list of anchor links that tracks the reader's position and jumps between sections.","category":"navigation","client":true,"pattern":"link"},{"name":"AnimatedNumber","label":"Animated number","slug":"animated-number","description":"A number that counts to its value: count-up on mount, eased tweens on change, tabular digits that never jitter.","category":"data-display","client":true,"keys":{"by":"none"}},{"name":"AppLayout","label":"App layout","slug":"app-layout","description":"Full-page template pairing the collapsible App sidebar with a content area, in one of the three app shell modes: flush, floating or inset.","category":"layout","client":true,"keys":{"by":"component","note":"The rail is AppSidebar, which carries the layout’s keys. The layout adds none of its own.","see":"AppSidebar"}},{"name":"AppSidebar","label":"App sidebar","slug":"app-sidebar","description":"Collapsible navigation rail with accordion sub-items, a side panel for a third level, category headings, and a profile section.","category":"layout","client":true,"keys":{"by":"component","note":"Below the mobile breakpoint the rail is a modal drawer: opening moves focus inside, Tab stays inside, and Escape closes it."}},{"name":"AreaChart","label":"Area chart","slug":"area-chart","description":"Filled area chart for showing volume over time, with stacked and single-series variants.","category":"charts","client":true,"folder":"Chart","recharts":true,"keys":{"by":"platform","note":"The chart takes focus and the arrow keys step through its data points, which is the charting engine’s own keyboard layer."}},{"name":"ArtifactCard","label":"Artifact card","slug":"artifact-card","description":"The tile a chat leaves in the thread for something it made, a toggle that opens the artifact in its panel.","category":"ai","client":false,"pattern":"toggle-button"},{"name":"ArtifactPanel","label":"Artifact panel","slug":"artifact-panel","description":"The panel a chat opens beside the conversation to preview what it made: live content, a sandboxed page or a site, with the source a switch away.","category":"ai","client":true,"partPatterns":[{"pattern":"button","part":"buttons"}]},{"name":"AttachmentDropZone","label":"Attachment drop zone","slug":"attachment-drop-zone","description":"A wrapper that makes a whole surface a file drop target, with an outlined overlay while files hover over it.","category":"ai","client":true,"folder":"Attachment","keys":{"by":"none"}},{"name":"AttachmentGroup","label":"Attachment group","slug":"attachment-group","description":"The files on a sent message: one picture at its own shape, or a grid of tiles that collapses behind a count.","category":"ai","client":true,"folder":"Attachment","partPatterns":[{"pattern":"disclosure","part":"control that shows the rest of the files"}]},{"name":"AttachmentTile","label":"Attachment tile","slug":"attachment-tile","description":"One file as a square: a picture, a coloured mark for well-known formats, or a neutral badge, with upload states.","category":"ai","client":false,"folder":"Attachment","keys":{"by":"none"}},{"name":"AttachmentViewer","label":"Attachment viewer","slug":"attachment-viewer","description":"A preview dialog for a message's files, with download, stepping, and plain states for files it cannot show.","category":"ai","client":true,"folder":"Attachment","pattern":"dialog"},{"name":"Avatar","label":"Avatar","slug":"avatar","description":"User profile image with initials and icon fallback, status indicator, and multiple sizes.","category":"data-display","client":true,"keys":{"by":"none"}},{"name":"AvatarGroup","label":"Avatar group","slug":"avatar-group","description":"Overlapping avatar stack with a +N counter for the overflow.","category":"data-display","client":false,"keys":{"by":"none"}},{"name":"Badge","label":"Badge","slug":"badge","description":"Small inline status labels with info, positive, warning, error, and neutral variants.","category":"data-display","client":false,"keys":{"by":"none"}},{"name":"Banner","label":"Banner","slug":"banner","description":"Full-width status strip for page-level announcements, with an action slot and optional dismissal.","category":"feedback","client":false,"keys":{"by":"none"}},{"name":"BarChart","label":"Bar chart","slug":"bar-chart","description":"Vertical bars for comparing values across categories or time, with summary stats and tooltips.","category":"charts","client":true,"folder":"Chart","recharts":true,"keys":{"by":"platform","note":"The chart takes focus and the arrow keys step through its data points, which is the charting engine’s own keyboard layer."}},{"name":"BentoTile","label":"Bento tile","slug":"bento-tile","description":"A feature tile for a bento grid, with a safe content area, a shader pair, solid or transparent background, and an overlay it opens into.","category":"data-display","client":true,"partPatterns":[{"pattern":"dialog","part":"expanded overlay"}]},{"name":"BentoTileArt","label":"Bento tile art","slug":"bento-tile-art","description":"The texture half of a bento tile's shader pair: six fine patterns in one vocabulary, fading in from a corner.","category":"effects","client":false,"folder":"BentoTile","keys":{"by":"none"}},{"name":"BottomNav","label":"Bottom nav","slug":"bottom-nav","description":"Mobile tab bar for three to five destinations, in the Rift style or as iOS Liquid Glass or Material 3 Expressive.","category":"navigation","client":true,"partPatterns":[{"pattern":"button","part":"destinations"}]},{"name":"Breadcrumb","label":"Breadcrumb","slug":"breadcrumb","description":"Hierarchical navigation trail showing the user's location within the site.","category":"navigation","client":false,"pattern":"link"},{"name":"Button","label":"Button","slug":"button","description":"Primary, secondary and tertiary emphasis, each in a default, neutral or destructive tone, with icons, loading, and default and compact sizes.","category":"actions","client":true,"pattern":"button"},{"name":"ButtonGroup","label":"Button group","slug":"button-group","description":"Horizontal and vertical button group layouts for related actions and navigation patterns.","category":"actions","client":false,"partPatterns":[{"pattern":"button","part":"buttons"}]},{"name":"Card","label":"Card","slug":"card","description":"A titled preview tile for index grids, with a case-study variant carrying a cover, company logo and dek.","category":"data-display","client":true,"keys":{"by":"none"}},{"name":"CardStack","label":"Card stack","slug":"card-stack","description":"A deck of cards showing one at a time, flipped through with a lift-and-settle animation.","category":"data-display","client":true,"keys":{"by":"component","note":"With the stack focused, the arrow keys step to the next card and back, and Space and Enter also advance."}},{"name":"Carousel","label":"Carousel","slug":"carousel","description":"Sliding content viewer with navigation arrows, dot indicators, auto-play, and keyboard support.","category":"data-display","client":true,"partPatterns":[{"pattern":"tabs","part":"slide dots"}]},{"name":"ChatHeader","label":"Chat header","slug":"chat-header","description":"The top row of a chat surface, with the conversation title and its controls.","category":"ai","client":false,"partPatterns":[{"pattern":"button","part":"buttons"}]},{"name":"ChatMarker","label":"Chat marker","slug":"chat-marker","description":"An inline conversation separator for date breaks and system notes.","category":"ai","client":false,"keys":{"by":"none"}},{"name":"ChatMessage","label":"Chat message","slug":"chat-message","description":"A single chat turn with avatar, author, timestamp, and bubble or plain content aligned by role.","category":"ai","client":false,"partPatterns":[{"pattern":"button","part":"action buttons"}]},{"name":"ChatThread","label":"Chat thread","slug":"chat-thread","description":"A scrollable conversation column with edge fades, send anchoring, and a subtle scrollbar.","category":"ai","client":true,"keys":{"by":"platform","note":"A focusable scroll region: the browser scrolls it with the arrow, Page, Home and End keys."}},{"name":"Checkbox","label":"Checkbox","slug":"checkbox","description":"Custom checkbox with check and indeterminate states, keyboard accessible with animated transitions.","category":"forms","client":true,"pattern":"checkbox"},{"name":"Chip","label":"Chip","slug":"chip","description":"Compact pills for attributes, filters, and inline metadata.","category":"data-display","client":false,"keys":{"by":"none"}},{"name":"CircularButton","label":"Circular button","slug":"circular-button","description":"Round icon button in primary, secondary and tertiary emphasis and a default, neutral or destructive tone, in default and compact sizes.","category":"actions","client":false,"pattern":"button"},{"name":"CodeBlock","label":"Code block","slug":"code-block","description":"Monospace code with a header and one-click copy.","category":"data-display","client":true,"partPatterns":[{"pattern":"disclosure","part":"collapsible section"}]},{"name":"CodeDiff","label":"Code diff","slug":"code-diff","description":"Unified diff view for code changes, with added, removed, and context lines.","category":"ai","client":false,"keys":{"by":"platform","note":"A focusable scroll region: the browser scrolls it with the arrow, Page, Home and End keys."}},{"name":"ColorPicker","label":"Colour picker","slug":"color-picker","description":"Swatch trigger opening a saturation area, hue and alpha sliders, and a hex field; controlled or uncontrolled.","category":"forms","client":true,"keys":{"by":"component","note":"Opening moves focus onto the colour area, where the arrow keys move both axes, Home and End take saturation to its ends, and Escape closes the panel."}},{"name":"ComboChart","label":"Combo chart","slug":"combo-chart","description":"Bar and line series in one chart, with an optional second y-axis for pairs in different units, like spend and ROAS.","category":"charts","client":true,"folder":"Chart","recharts":true,"keys":{"by":"platform","note":"The chart takes focus and the arrow keys step through its data points, which is the charting engine’s own keyboard layer."}},{"name":"Combobox","label":"Combobox","slug":"combobox","description":"A filterable select that narrows options as the user types, with multi-select chips, grouping, and async loading.","category":"forms","client":true,"pattern":"combobox"},{"name":"CommandPalette","label":"Command palette","slug":"command-palette","description":"A modal Cmd+K launcher that searches a grouped command list, with keyboard navigation and shortcut hints.","category":"overlays","client":true,"pattern":"dialog","partPatterns":[{"pattern":"listbox","part":"list of results"}]},{"name":"CommandPaletteTrigger","label":"Command palette trigger","slug":"command-palette-trigger","description":"The entry point to a command palette: a button dressed as a search field, with the shortcut's keycaps, at the row-control height.","category":"actions","client":false,"pattern":"button"},{"name":"Composer","label":"Composer","slug":"composer","description":"An auto-growing message input with send and stop states, a page-context note, a file tray fed by picker, paste and drop, and Enter-to-send.","category":"ai","client":true,"keys":{"by":"component","note":"Enter sends, Shift and Enter adds a line, and with a mention list open the arrow keys move through it, Enter or Tab writes the choice and Escape closes it."}},{"name":"ContactCard","label":"Contact card","slug":"contact-card","description":"Linked contact method with icon, label, and value.","category":"data-display","client":true,"partPatterns":[{"pattern":"link","part":"contact link"},{"pattern":"button","part":"copy button"}]},{"name":"ContextMenu","label":"Context menu","slug":"context-menu","description":"Right-click menu at the pointer with groups, sub-menus, and shortcut hints.","category":"overlays","client":true,"pattern":"menu"},{"name":"ContributionGraph","label":"Contribution graph","slug":"contribution-graph","description":"A year of activity, one cell per day.","category":"charts","client":false,"keys":{"by":"none"}},{"name":"CurrencyInput","label":"Currency input","slug":"currency-input","description":"An amount of money as a decimal string, read in the locale's marks and grouped once the field is left.","category":"forms","client":true,"keys":{"by":"component","note":"Arrow Up and Arrow Down step the amount by its step, between its minimum and maximum."}},{"name":"DataTable","label":"Data table","slug":"data-table","description":"The wired table: typed columns, sorting, filters, editing, grouping with totals, row details, saved views, thousands of rows, and rows from a server.","category":"data-display","client":true,"keys":{"by":"component","note":"In grid navigation the arrow keys move between cells, Enter or F2 starts an edit and Escape cancels it. The page has the full table of keys."}},{"name":"DateInput","label":"Date input","slug":"date-input","description":"Date input with native picker, calendar icon, label, and validation states.","category":"forms","client":true,"keys":{"by":"platform","note":"A native date input: the browser owns its keys and its picker."}},{"name":"DatePicker","label":"Date picker","slug":"date-picker","description":"Inline calendar with month navigation, day selection, and today indicator.","category":"forms","client":true,"pattern":"calendar"},{"name":"DateRangePicker","label":"Date range picker","slug":"date-range-picker","description":"An inline calendar for choosing a range of days, one or two months wide, with presets.","category":"forms","client":true,"pattern":"calendar"},{"name":"Deadline","label":"Deadline","slug":"deadline","description":"A due date against now that turns from neutral to warning to error as it nears.","category":"data-display","client":true,"keys":{"by":"none"}},{"name":"DescriptionList","label":"Description list","slug":"description-list","description":"Terms and their values for review screens, receipts, and account details, stacked, in two columns, or in a grid.","category":"data-display","client":false,"partPatterns":[{"pattern":"button","part":"copy button"}]},{"name":"Dialog","label":"Dialog","slug":"dialog","description":"A general-purpose modal for focused tasks, with sizes, an optional footer, and full focus management.","category":"overlays","client":true,"pattern":"dialog"},{"name":"Divider","label":"Divider","slug":"divider","description":"A thin rule separating stacked content, with optional inline label and vertical orientation.","category":"layout","client":false,"keys":{"by":"none"}},{"name":"DocumentChip","label":"Document chip","slug":"document-chip","description":"A legacy one-row file reference, superseded by the attachment tile and kept for existing consumers.","category":"ai","client":false,"keys":{"by":"none"}},{"name":"DocumentViewer","label":"Document viewer","slug":"document-viewer","description":"A PDF, an image or a text file shown on the page, with download and a fallback where the browser will not embed it.","category":"data-display","client":true,"keys":{"by":"platform","note":"A focusable scroll region: the browser scrolls it with the arrow, Page, Home and End keys."}},{"name":"Drawer","label":"Drawer","slug":"drawer","description":"An edge-anchored modal panel that slides in from any side, for filter panels, detail views, and mobile navigation.","category":"overlays","client":true,"pattern":"dialog"},{"name":"Dropdown","label":"Dropdown","slug":"dropdown","description":"Custom select dropdown with keyboard navigation, disabled options, and error states.","category":"forms","client":true,"pattern":"combobox"},{"name":"DropdownMenu","label":"Dropdown menu","slug":"dropdown-menu","description":"Action menu opened from a trigger, with groups, sub-menus, shortcuts, radio and checkbox items, placed to stay on screen.","category":"overlays","client":true,"pattern":"menu"},{"name":"EmptyState","label":"Empty state","slug":"empty-state","description":"The placeholder for a list, table, or search with nothing to show: icon, headline, guidance, and a next action.","category":"feedback","client":false,"keys":{"by":"none"}},{"name":"EntityCard","label":"Entity card","slug":"entity-card","description":"Compact display-only card with a centred icon or image and a label, used in the Icons and Logos galleries.","category":"data-display","client":false,"keys":{"by":"none"}},{"name":"EntitySwitcher","label":"Entity switcher","slug":"entity-switcher","description":"Switcher for the company, team, or account a screen is scoped to, with a logo, icon, or initials mark and levels that drill in.","category":"navigation","client":true,"pattern":"menu"},{"name":"ErrorSummary","label":"Error summary","slug":"error-summary","description":"Every error on a form at the top of it, each a link that moves focus to its field.","category":"feedback","client":true,"partPatterns":[{"pattern":"link","part":"links to each field"}]},{"name":"EventCalendar","label":"Event calendar","slug":"event-calendar","description":"A month grid with event pills, overflow counts, and month navigation.","category":"data-display","client":true,"partPatterns":[{"pattern":"button","part":"navigation buttons"}]},{"name":"Field","label":"Field","slug":"field","description":"The shared scaffolding for labelled form controls: label, required marker, helper and error text, and the ARIA wiring that ties them together.","category":"forms","client":true,"pattern":"textbox"},{"name":"Figure","label":"Figure","slug":"figure","description":"Images with captions, in the case-study frame.","category":"data-display","client":false,"keys":{"by":"none"}},{"name":"FileInput","label":"File input","slug":"file-input","description":"A click-or-drop upload zone paired with a controlled file list showing size, progress, and per-file errors.","category":"forms","client":true,"pattern":"button"},{"name":"FilterBar","label":"Filter bar","slug":"filter-bar","description":"A row of filter chips for narrowing a collection, each opening a popover of options, with per-filter and clear-all resets.","category":"forms","client":true,"partPatterns":[{"pattern":"listbox","part":"list of options"}]},{"name":"FunnelChart","label":"Funnel chart","slug":"funnel-chart","description":"Ordered funnel stages as centred trapezoid bands, each sized by its share of the first stage.","category":"charts","client":true,"recharts":true,"keys":{"by":"platform","note":"The chart takes focus and the arrow keys step through its data points, which is the charting engine’s own keyboard layer."}},{"name":"GanttChart","label":"Gantt chart","slug":"gantt-chart","description":"Phases and tasks as bars on a shared timeline, with milestones, progress, and a today rule.","category":"charts","client":false,"keys":{"by":"none"}},{"name":"Gauge","label":"Gauge","slug":"gauge","description":"A radial dial for a single bounded reading, recoloured through the status roles as it crosses thresholds.","category":"charts","client":false,"keys":{"by":"none"}},{"name":"Globe","label":"Globe","slug":"globe","description":"An orthographic globe with markers and great-circle arcs, rotated by drag, keys, or a slow spin.","category":"maps","client":true,"keys":{"by":"component","note":"The arrow keys turn the globe while it has focus."}},{"name":"Heading","label":"Heading","slug":"heading","description":"A heading whose outline level and type tier are chosen apart.","category":"typography","client":false,"keys":{"by":"none"}},{"name":"HoverCard","label":"Hover card","slug":"hover-card","description":"Rich preview panel that opens from hover or focus, with interactive content and position options.","category":"overlays","client":true,"pattern":"tooltip"},{"name":"ImageCompare","label":"Image compare","slug":"image-compare","description":"Before-and-after image comparison with a draggable divider, keyboard control, and corner labels.","category":"data-display","client":true,"pattern":"slider"},{"name":"Input","label":"Input","slug":"input","description":"Text input with label, placeholder, icons, a prefix or suffix, a clear button, helper text, and error states.","category":"forms","client":true,"pattern":"textbox"},{"name":"InspectorColorPicker","label":"Inspector colour picker","slug":"inspector-color-picker","description":"One-row colour setting for inspector panels, with the hex and a round swatch at the bar's end and ColorPicker's own panel.","category":"inspector","client":true,"folder":"Inspector","keys":{"by":"component","note":"It is ColorPicker in the inspector’s dress: opening moves focus onto the colour area, where the arrow keys move both axes, and Escape closes the panel with focus back on the swatch.","see":"ColorPicker"}},{"name":"InspectorDropdown","label":"Inspector dropdown","slug":"inspector-dropdown","description":"One-row select for inspector panels, with the name inside the bar and the library Dropdown's menu and font previews.","category":"inspector","client":true,"folder":"Inspector","pattern":"combobox"},{"name":"InspectorInput","label":"Inspector input","slug":"inspector-input","description":"One-row text field for inspector panels, with the name on the left and the value right-aligned in the bar.","category":"inspector","client":true,"folder":"Inspector","pattern":"textbox"},{"name":"InspectorSection","label":"Inspector section","slug":"inspector-section","description":"Collapsible, titled run of inspector controls whose open body lets a dropdown menu open past its edge.","category":"inspector","client":true,"folder":"Inspector","partPatterns":[{"pattern":"disclosure","part":"collapsible section"}]},{"name":"InspectorSegmentedControl","label":"Inspector segments","slug":"inspector-segmented-control","description":"One-row choice between a few options for inspector panels, as native radios under a sliding selection pill.","category":"inspector","client":true,"folder":"Inspector","keys":{"by":"platform","note":"Native radio inputs: the browser moves between them with the arrow keys."}},{"name":"InspectorSlider","label":"Inspector slider","slug":"inspector-slider","description":"One-row slider for inspector panels, where the whole bar is the control and its fill is the value.","category":"inspector","client":true,"folder":"Inspector","keys":{"by":"platform","note":"A native range input: the browser’s own arrow, Home, End and Page keys move it."}},{"name":"InspectorToggleSwitch","label":"Inspector toggle switch","slug":"inspector-toggle-switch","description":"One-row switch for inspector panels, where the whole bar toggles and the track sits at its end.","category":"inspector","client":true,"folder":"Inspector","pattern":"switch"},{"name":"Instructions","label":"Instructions","slug":"instructions","description":"Step-by-step guidance with numbered badges, connecting lines, and horizontal layout.","category":"data-display","client":false,"keys":{"by":"none"}},{"name":"InterruptCard","label":"Interrupt card","slug":"interrupt-card","description":"A human-in-the-loop checkpoint with a question from the agent and option buttons to decide.","category":"ai","client":false,"partPatterns":[{"pattern":"button","part":"buttons"}]},{"name":"Kbd","label":"Kbd","slug":"kbd","description":"A keyboard key rendered as a keycap, for shortcut hints in menus and prose.","category":"data-display","client":true,"keys":{"by":"none"}},{"name":"LegendTile","label":"Legend tile","slug":"legend-tile","description":"The labelled value tile under a chart: a series dot, the series name, and its reading, on a soft neutral fill.","category":"charts","client":false,"keys":{"by":"none"}},{"name":"Lightbox","label":"Lightbox","slug":"lightbox","description":"Fullscreen media viewer on the shared overlay stack: deep scrim, caption chip, gallery stepping, trapped and restored focus.","category":"overlays","client":true,"pattern":"dialog"},{"name":"LineChart","label":"Line chart","slug":"line-chart","description":"Multi-series line chart for trends over time, with per-series colours and a summary row.","category":"charts","client":true,"folder":"Chart","recharts":true,"keys":{"by":"platform","note":"The chart takes focus and the arrow keys step through its data points, which is the charting engine’s own keyboard layer."}},{"name":"Link","label":"Link","slug":"link","description":"A text link inside a sentence or on its own, routed through the app's link component.","category":"typography","client":false,"pattern":"link"},{"name":"LinkList","label":"Link list","slug":"link-list","description":"Linked items with logo, label, and subtitle.","category":"data-display","client":false,"pattern":"link"},{"name":"List","label":"List","slug":"list","description":"Ordered and unordered lists marked with a disc, a number, a check, or an icon.","category":"typography","client":false,"keys":{"by":"none"}},{"name":"MapCallout","label":"Map callout","slug":"map-callout","description":"The annotation beside a map point: a name in capitals over monospace readout lines.","category":"maps","client":false,"keys":{"by":"none"}},{"name":"MapLegend","label":"Map legend","slug":"map-legend","description":"The corner block of a map: its name, what it shows, and the key to its markers.","category":"maps","client":false,"keys":{"by":"none"}},{"name":"MaskedInput","label":"Masked input","slug":"masked-input","description":"A field that writes its value into a shape as it is typed, with a sensitive mode that hides it.","category":"forms","client":true,"pattern":"textbox"},{"name":"MegaMenu","label":"Mega menu","slug":"mega-menu","description":"A wide navigation panel of icon rows with descriptions, beside an optional featured card.","category":"navigation","client":false,"pattern":"link"},{"name":"Mention","label":"Mention","slug":"mention","description":"An inline reference to an entity or a skill, with the menu that @ or / opens while typing and the tag it leaves in the message.","category":"ai","client":true,"keys":{"by":"component","note":"The list of suggestions is driven from the field it belongs to: the arrow keys move, Enter chooses and Escape closes."}},{"name":"MessageActions","label":"Message actions","slug":"message-actions","description":"An icon-button row for message-level actions like copy, retry, and feedback.","category":"ai","client":false,"partPatterns":[{"pattern":"button","part":"buttons"}]},{"name":"MessageCard","label":"Message card","slug":"message-card","description":"A structured rich-content card embedded in a chat message, with media, title, body, and actions.","category":"ai","client":false,"keys":{"by":"none"}},{"name":"Meter","label":"Meter","slug":"meter","description":"Level indicator for a known quantity, with a status-coloured fill and an optional value readout.","category":"feedback","client":false,"keys":{"by":"none"}},{"name":"ModelPicker","label":"Model picker","slug":"model-picker","description":"A model selector for chat surfaces, with per-model descriptions and an optional effort row.","category":"ai","client":true,"pattern":"combobox"},{"name":"Nav","label":"Nav","slug":"nav","description":"A legacy plain top bar of brand and page links, superseded by the site header and kept for existing consumers.","category":"navigation","client":false,"partPatterns":[{"pattern":"button","part":"items"}]},{"name":"NavList","label":"Nav list","slug":"nav-list","description":"Vertical list of navigation links for drawers and menus, with three indent levels and per-row expand toggles.","category":"navigation","client":true,"partPatterns":[{"pattern":"disclosure","part":"collapsible section"}]},{"name":"NotificationCenter","label":"Notification centre","slug":"notification-center","description":"A persistent notification inbox with unread count, filter tabs, and per-item actions.","category":"feedback","client":true,"pattern":"tabs"},{"name":"NumberInput","label":"Number input","slug":"number-input","description":"Numeric field with increment and decrement steppers and min/max clamping.","category":"forms","client":true,"partPatterns":[{"pattern":"textbox","part":"field"},{"pattern":"button","part":"step buttons"}]},{"name":"Pagination","label":"Pagination","slug":"pagination","description":"Numbered page navigation for long datasets, with ellipses, disabled end arrows, and a compact readout mode.","category":"navigation","client":true,"partPatterns":[{"pattern":"button","part":"page buttons"}]},{"name":"Panel","label":"Panel","slug":"panel","description":"The plain dashboard surface: a rounded container with no border or shadow, just padding and a gap.","category":"layout","client":false,"keys":{"by":"none"}},{"name":"PieChart","label":"Pie chart","slug":"pie-chart","description":"Proportional share of a whole as a pie or donut, with per-slice colours.","category":"charts","client":true,"folder":"Chart","recharts":true,"keys":{"by":"platform","note":"The chart takes focus and the arrow keys step through its data points, which is the charting engine’s own keyboard layer."}},{"name":"PinInput","label":"Pin input","slug":"pin-input","description":"Segmented one-time-code input with auto-advance, paste support, and completion callback.","category":"forms","client":true,"keys":{"by":"component","note":"Typing fills a cell and moves on, Backspace clears and steps back, and the arrow keys move between cells."}},{"name":"PixelAvatar","label":"Pixel avatar","slug":"pixel-avatar","description":"A generated character mark drawn from a name: the same name is always the same pixel creature in the same ink.","category":"data-display","client":false,"keys":{"by":"none"}},{"name":"Popover","label":"Popover","slug":"popover","description":"Contextual overlay panel with click and hover triggers, positioned relative to its anchor.","category":"overlays","client":true,"partPatterns":[{"pattern":"disclosure","part":"trigger of a click popover"}]},{"name":"ProgressBar","label":"Progress bar","slug":"progress-bar","description":"Horizontal bar indicating completion progress, with an optional percentage label.","category":"feedback","client":false,"keys":{"by":"none"}},{"name":"ProgressiveBlur","label":"Progressive blur","slug":"progressive-blur","description":"A backdrop blur that dissolves along one edge, with an optional page tint that fades in.","category":"effects","client":false,"keys":{"by":"none"}},{"name":"PromptSuggestions","label":"Prompt suggestions","slug":"prompt-suggestions","description":"Tappable prompt suggestions to start or steer a conversation, as a scrolling or wrapping row, a stack, tiles or cards.","category":"ai","client":true,"partPatterns":[{"pattern":"button","part":"suggestions"}]},{"name":"Prose","label":"Prose","slug":"prose","description":"Token-styled typography for rendered markdown and rich agent output.","category":"ai","client":false,"partPatterns":[{"pattern":"link","part":"links"}]},{"name":"QuestionCard","label":"Question card","slug":"question-card","description":"An agent's question with answers to pick: one or several, a set asked a step at a time, kept as a record once answered.","category":"ai","client":true,"keys":{"by":"component","note":"The digits pick an option by its position, and Enter or Space choose the focused one. A lone question answers on the pick, and a set or a multiple-choice question on its button."}},{"name":"Quote","label":"Quote","slug":"quote","description":"Blockquotes and pull-quotes with attribution.","category":"data-display","client":false,"keys":{"by":"none"}},{"name":"RadarChart","label":"Radar chart","slug":"radar-chart","description":"Multi-axis comparison of series across categories on a radial grid.","category":"charts","client":true,"folder":"Chart","recharts":true,"keys":{"by":"platform","note":"The chart takes focus and the arrow keys step through its data points, which is the charting engine’s own keyboard layer."}},{"name":"RadialChart","label":"Radial chart","slug":"radial-chart","description":"Concentric progress rings for completion and KPI readouts.","category":"charts","client":true,"folder":"Chart","recharts":true,"keys":{"by":"platform","note":"The chart takes focus and the arrow keys step through its data points, which is the charting engine’s own keyboard layer."}},{"name":"RadioButton","label":"Radio button","slug":"radio-button","description":"Radio button and radio group with vertical and horizontal layouts, animated dot indicator.","category":"forms","client":true,"pattern":"radio-group"},{"name":"Rating","label":"Rating","slug":"rating","description":"Star-scale rating control with keyboard selection, a read-only mode, and a configurable icon.","category":"forms","client":true,"pattern":"radio-group"},{"name":"Reasoning","label":"Reasoning","slug":"reasoning","description":"A model's thinking, disclosed behind a one-line summary and collapsed once it finishes.","category":"ai","client":true,"partPatterns":[{"pattern":"disclosure","part":"collapsible section"}]},{"name":"RichDropdown","label":"Rich dropdown","slug":"rich-dropdown","description":"Dropdown's rich sibling: options preview their own heading face, body face, and key colour.","category":"forms","client":true,"pattern":"combobox"},{"name":"ScatterChart","label":"Scatter chart","slug":"scatter-chart","description":"Plots point clusters across two axes to show correlation and distribution.","category":"charts","client":true,"folder":"Chart","recharts":true,"keys":{"by":"platform","note":"The chart takes focus and the arrow keys step through its data points, which is the charting engine’s own keyboard layer."}},{"name":"SectionTitle","label":"Section title","slug":"section-title","description":"Heading with a divider line and optional trailing content for organising page sections.","category":"layout","client":false,"keys":{"by":"none"}},{"name":"SegmentedControl","label":"Segmented control","slug":"segmented-control","description":"Pill-style toggle between related views with keyboard navigation and icon support.","category":"actions","client":true,"pattern":"tabs"},{"name":"SelectionCard","label":"Selection card","slug":"selection-card","description":"Large option cards for high-visibility choices like settings and onboarding, with radio, checkbox or per-card toggle indicators.","category":"data-display","client":true,"partPatterns":[{"pattern":"checkbox","part":"cards"}]},{"name":"ShaderField","label":"Shader field","slug":"shader-field","description":"An ambient WebGL2 field of soft light sources that sample colour tokens, with a reported fallback status.","category":"effects","client":true,"keys":{"by":"none"}},{"name":"ShaderScene","label":"Shader scene","slug":"shader-scene","description":"A WebGL2 scene, from a night horizon to a spiral galaxy or one of your own in GLSL, in the theme's field colours, with fades, vignette and grain.","category":"effects","client":true,"keys":{"by":"none"}},{"name":"SidebarPanel","label":"Sidebar panel","slug":"sidebar-panel","description":"Secondary navigation column listing one section's pages, with group headings and one level of accordion nesting.","category":"layout","client":true,"partPatterns":[{"pattern":"disclosure","part":"collapsible section"}]},{"name":"SignaturePad","label":"Signature pad","slug":"signature-pad","description":"A signature drawn with a pointer or typed, kept as SVG with a PNG on demand.","category":"forms","client":true,"partPatterns":[{"pattern":"tabs","part":"mode tabs"}]},{"name":"SiteHeader","label":"Site header","slug":"site-header","description":"A site's sticky top bar of section pills and mega menus, folding to a drawer when the pills no longer fit.","category":"navigation","client":true,"keys":{"by":"component","note":"Focusing a section opens its panel, Arrow Down moves into it, and Escape closes it."}},{"name":"Skeleton","label":"Skeleton","slug":"skeleton","description":"Placeholder loading indicators with text, circular, and rectangular variants.","category":"feedback","client":false,"keys":{"by":"none"}},{"name":"Slider","label":"Slider","slug":"slider","description":"Range input for selecting a value between a minimum and maximum, in default and compact sizes.","category":"forms","client":true,"keys":{"by":"platform","note":"A native range input: the browser’s own arrow, Home, End and Page keys move it."}},{"name":"SourceChip","label":"Source chip","slug":"source-chip","description":"A numbered citation pill linking a claim to its source.","category":"ai","client":true,"partPatterns":[{"pattern":"tooltip","part":"source preview"}]},{"name":"SourceTrail","label":"Source trail","slug":"source-trail","description":"The sources an agent opened while answering, as a collapsible list with per-item status.","category":"ai","client":true,"partPatterns":[{"pattern":"disclosure","part":"collapsible section"}]},{"name":"Sparkline","label":"Sparkline","slug":"sparkline","description":"Inline trend line for stats and table cells, drawn without axes or chrome.","category":"charts","client":false,"keys":{"by":"none"}},{"name":"Spinner","label":"Spinner","slug":"spinner","description":"Animated circular loading indicator in three sizes and a default, neutral or inherit tone.","category":"feedback","client":false,"keys":{"by":"none"}},{"name":"SplitButton","label":"Split button","slug":"split-button","description":"Primary action with an attached menu of alternatives, composing Button and DropdownMenu in one pill, in primary or secondary emphasis and any tone.","category":"actions","client":false,"partPatterns":[{"pattern":"button","part":"main button"},{"pattern":"menu","part":"menu of other actions"}]},{"name":"SplitPane","label":"Split pane","slug":"split-pane","description":"Two resizable regions with a draggable, keyboard-operable divider between them.","category":"layout","client":true,"pattern":"splitter"},{"name":"StackedBarChart","label":"Stacked bar chart","slug":"stacked-bar-chart","description":"Bars split into stacked segments to compare totals and their composition.","category":"charts","client":true,"folder":"Chart","recharts":true,"keys":{"by":"platform","note":"The chart takes focus and the arrow keys step through its data points, which is the charting engine’s own keyboard layer."}},{"name":"Stat","label":"Stat","slug":"stat","description":"Headline metrics with labels and trend deltas.","category":"data-display","client":false,"keys":{"by":"none"}},{"name":"StatusDot","label":"Status dot","slug":"status-dot","description":"The bare status mark: a dot in the five status roles, with an optional label and a live pulse for recording and online-now states.","category":"feedback","client":false,"keys":{"by":"none"}},{"name":"Stepper","label":"Stepper","slug":"stepper","description":"Step-by-step progress indicator for wizards and multi-stage flows.","category":"navigation","client":true,"keys":{"by":"none"}},{"name":"StreamingText","label":"Streaming text","slug":"streaming-text","description":"Progressive reveal for text arriving in chunks, with a blinking cursor while more is coming.","category":"ai","client":true,"keys":{"by":"none"}},{"name":"Swatch","label":"Swatch","slug":"swatch","description":"Clickable colour tile for preset palettes and picker triggers, with a theme-aware selection ring.","category":"forms","client":false,"pattern":"toggle-button"},{"name":"Table","label":"Table","slug":"table","description":"Data table with flexible cell content, striped rows, compact sizing, and support for icons, inputs, buttons, and interactive controls.","category":"data-display","client":false,"keys":{"by":"none"}},{"name":"TableToolbar","label":"Table toolbar","slug":"table-toolbar","description":"The control bar over a table: search, filter chips, sort, group, columns, density, saved views and a bulk bar, wired to a DataTable in its toolbar slot.","category":"data-display","client":true,"keys":{"by":"component","note":"Alt and the up or down arrow reorder a column or a sort row, and Escape closes a panel."}},{"name":"Tabs","label":"Tabs","slug":"tabs","description":"Tab navigation with underline indicator, icon support, compact size, and full-width mode.","category":"navigation","client":true,"pattern":"tabs"},{"name":"TagInput","label":"Tag input","slug":"tag-input","description":"Multi-value text input with entries held as removable tags.","category":"forms","client":true,"pattern":"textbox"},{"name":"Text","label":"Text","slug":"text","description":"Running text in a tier of the type scale, with tones, truncation, and tabular figures.","category":"typography","client":false,"keys":{"by":"none"}},{"name":"Textarea","label":"Textarea","slug":"textarea","description":"Multi-line text input with character counter, resize control, helper text, and error states.","category":"forms","client":true,"pattern":"textbox"},{"name":"ThemePicker","label":"Theme picker","slug":"theme-picker","description":"A circular trigger wearing the active theme's swatch, opening a menu of every theme on offer with its colour, corner and faces.","category":"actions","client":true,"pattern":"menu"},{"name":"ThemeToggle","label":"Theme toggle","slug":"theme-toggle","description":"The colour-mode control: System, Light and Dark over a stored setting, with the script that applies it before first paint.","category":"actions","client":true,"pattern":"tabs"},{"name":"ThreadPanel","label":"Thread panel","slug":"thread-panel","description":"The session-history rail for chat products: brand header, new-thread action, standing controls, projects, grouped detail-rich threads, and a profile footer.","category":"ai","client":false,"keys":{"by":"component","note":"The rail’s toggle is an ordinary button, and its threads are a list of buttons."}},{"name":"ThreadTabs","label":"Thread tabs","slug":"thread-tabs","description":"The strip of open chat sessions: pill tabs with status dots and hover-revealed close buttons, a new-tab action, and animated enter and exit.","category":"ai","client":true,"partPatterns":[{"pattern":"button","part":"tabs"}]},{"name":"TimePicker","label":"Time picker","slug":"time-picker","description":"Time-of-day field with a dropdown list of selectable times.","category":"forms","client":true,"pattern":"combobox"},{"name":"Timeline","label":"Timeline","slug":"timeline","description":"Ordered sequences: histories and steppers.","category":"data-display","client":false,"keys":{"by":"none"}},{"name":"Toast","label":"Toast","slug":"toast","description":"Temporary notification with status variants, auto-dismiss, and stacking via ToastProvider.","category":"feedback","client":true,"keys":{"by":"none"}},{"name":"ToggleGroup","label":"Toggle group","slug":"toggle-group","description":"A set of two-state buttons that can be toggled on or off, supporting text and icon items.","category":"actions","client":true,"pattern":"toggle-button"},{"name":"ToggleSwitch","label":"Toggle switch","slug":"toggle-switch","description":"Binary on/off toggle control with sliding thumb and check indicator, for settings that take effect immediately.","category":"forms","client":true,"pattern":"switch"},{"name":"ToolCall","label":"Tool call","slug":"tool-call","description":"The record of one tool invocation, with its arguments and result behind a disclosure.","category":"ai","client":true,"partPatterns":[{"pattern":"disclosure","part":"collapsible section"}]},{"name":"Toolbar","label":"Toolbar","slug":"toolbar","description":"A grouped strip of controls in one pill shell: clusters, separators, arrow-key focus, and a glass floating variant.","category":"layout","client":true,"pattern":"toolbar"},{"name":"Tooltip","label":"Tooltip","slug":"tooltip","description":"Contextual text label that appears on hover or focus with position and delay options.","category":"overlays","client":true,"pattern":"tooltip"},{"name":"TopAppBar","label":"Top app bar","slug":"top-app-bar","description":"Mobile screen header with a menu or back button, title, and actions, in Rift, iOS, or Android style, collapsing on scroll.","category":"navigation","client":true,"partPatterns":[{"pattern":"button","part":"buttons"}]},{"name":"TreeView","label":"Tree view","slug":"tree-view","description":"Collapsible hierarchy for files, folders, and nested structures.","category":"data-display","client":true,"pattern":"tree"},{"name":"Treemap","label":"Treemap","slug":"treemap","description":"Nested rectangles sized by value for part-to-whole breakdowns.","category":"charts","client":true,"folder":"Chart","recharts":true,"keys":{"by":"none"}},{"name":"UsageCard","label":"Usage card","slug":"usage-card","description":"An agent's budgets at a glance: context window and plan limits as meter rows with reset captions.","category":"ai","client":false,"keys":{"by":"none"}},{"name":"Waveform","label":"Waveform","slug":"waveform","description":"Voice made visible: a row of bars dancing on the shared twelve-slot cycle, or tracking a live analyser level by level.","category":"ai","client":false,"keys":{"by":"none"}},{"name":"Widget","label":"Widget","slug":"widget","description":"A titled section for a dashboard, a form, or settings, with rows, groups, a footer, an optional fold, and a board of columns.","category":"data-display","client":false,"keys":{"by":"none"}},{"name":"WorldMap","label":"World map","slug":"world-map","description":"A flat world map from Natural Earth land shapes: token-coloured continents, framed bounds, and colour-carrying markers.","category":"maps","client":true,"keys":{"by":"component","note":"With zoom on and the map focused, plus and minus zoom and the arrow keys pan. Its zoom buttons are ordinary buttons."}}]`);
|
|
3
3
|
const registry = {
|
|
4
4
|
categories,
|
|
5
5
|
components
|
package/package.json
CHANGED