rift-ds 1.41.0 → 1.43.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 +2 -2
- package/behaviors/LoadingImage.d.ts +2 -0
- package/behaviors/LoadingImage.js +34 -0
- package/behaviors/ScrollRegion.js +15 -2
- package/behaviors/VisuallyHidden.d.ts +30 -0
- package/behaviors/VisuallyHidden.js +17 -0
- package/behaviors/loading-image.css +30 -0
- package/behaviors/quietFocus.d.ts +4 -0
- package/behaviors/quietFocus.js +14 -0
- package/behaviors/useFocusScope.d.ts +3 -1
- package/behaviors/useFocusScope.js +4 -6
- package/bin/rift-ds.mjs +2 -0
- package/bin/templates/app/components/rift/ColorModeScript.tsx +3 -1
- package/bin/templates/app/components/rift/RiftRoot.tsx +40 -1
- package/bin/templates/blocks/app/dashboard/page.module.css +2 -2
- package/bin/templates/blocks/app/dashboard/page.tsx +7 -5
- package/bin/templates/blocks/app/landing/page.tsx +1 -1
- package/bin/templates/blocks/app/notifications/Inbox.tsx +13 -45
- package/bin/templates/blocks/app/notifications/page.module.css +5 -0
- package/bin/templates/blocks/app/planner/page.tsx +2 -2
- package/bin/templates/blocks/app/pricing/page.module.css +15 -1
- package/bin/templates/blocks/app/pricing/page.tsx +8 -1
- package/bin/templates/blocks/app/settings/Settings.tsx +4 -4
- package/bin/templates/blocks/app/sign-in/page.tsx +10 -2
- package/bin/templates/blocks/app/sign-up/page.module.css +83 -0
- package/bin/templates/blocks/app/sign-up/page.tsx +126 -0
- package/bin/templates/blocks/app/starter/page.tsx +1 -1
- package/bin/templates/blocks/components/blocks/AppShell.module.css +0 -10
- package/bin/templates/blocks/components/blocks/AppShell.tsx +51 -132
- package/bin/templates/blocks/components/blocks/DocsShell.tsx +5 -1
- package/bin/templates/blocks/components/blocks/notifications.ts +77 -0
- package/bin/templates/blocks/registry.json +49 -6
- package/chat/ChatWidget.js +2 -1
- package/components/AgentPlan/AgentPlan.css +1 -1
- package/components/AlertDialog/AlertDialog.css +14 -0
- package/components/AlertDialog/AlertDialog.d.ts +35 -3
- package/components/AlertDialog/AlertDialog.js +16 -5
- package/components/AppLayout/AppLayout.css +6 -0
- package/components/AppLayout/AppLayout.d.ts +4 -0
- package/components/AppLayout/AppLayout.js +5 -1
- package/components/AppSidebar/AppSidebar.css +17 -2
- package/components/AppSidebar/AppSidebar.js +9 -2
- package/components/AppToolbar/AppToolbar.d.ts +5 -2
- package/components/AppToolbar/AppToolbar.js +3 -1
- package/components/Attachment/AttachmentGroup.js +2 -1
- package/components/Attachment/AttachmentTile.js +2 -1
- package/components/Badge/Badge.css +6 -0
- package/components/Breadcrumb/Breadcrumb.css +4 -1
- package/components/Button/Button.css +20 -1
- package/components/Button/Button.js +6 -1
- package/components/Card/Card.css +11 -0
- package/components/Card/Card.d.ts +9 -3
- package/components/Card/Card.js +21 -2
- package/components/Chart/AreaChart.d.ts +7 -0
- package/components/Chart/AreaChart.js +57 -45
- package/components/Chart/BarChart.d.ts +7 -0
- package/components/Chart/BarChart.js +52 -46
- package/components/Chart/Chart.css +134 -1
- package/components/Chart/ChartSkeleton.d.ts +32 -0
- package/components/Chart/ChartSkeleton.js +149 -0
- package/components/Chart/ComboChart.d.ts +7 -0
- package/components/Chart/ComboChart.js +80 -74
- package/components/Chart/LineChart.d.ts +17 -3
- package/components/Chart/LineChart.js +67 -39
- package/components/Chart/PieChart.d.ts +7 -0
- package/components/Chart/PieChart.js +41 -34
- package/components/Chart/RadarChart.d.ts +7 -0
- package/components/Chart/RadarChart.js +39 -32
- package/components/Chart/RadialChart.d.ts +7 -0
- package/components/Chart/RadialChart.js +5 -1
- package/components/Chart/ScatterChart.d.ts +7 -0
- package/components/Chart/ScatterChart.js +52 -40
- package/components/Chart/StackedBarChart.d.ts +10 -1
- package/components/Chart/StackedBarChart.js +57 -43
- package/components/Chart/Treemap.d.ts +7 -0
- package/components/Chart/Treemap.js +17 -11
- package/components/ChatMessage/ChatMessage.css +6 -0
- package/components/Checkbox/Checkbox.css +25 -1
- package/components/Checkbox/Checkbox.d.ts +8 -4
- package/components/Checkbox/Checkbox.js +17 -8
- package/components/Chip/Chip.css +5 -3
- package/components/ContactCard/ContactCard.css +4 -3
- package/components/ContributionGraph/ContributionGraph.css +20 -0
- package/components/ContributionGraph/ContributionGraph.d.ts +4 -0
- package/components/ContributionGraph/ContributionGraph.js +11 -6
- package/components/DataTable/DataTable.css +34 -4
- package/components/DataTable/DataTable.d.ts +16 -2
- package/components/DataTable/DataTable.js +8 -2
- package/components/DateInput/DateInput.css +3 -1
- package/components/DatePicker/DatePicker.css +16 -0
- package/components/DatePicker/DatePicker.d.ts +13 -0
- package/components/DatePicker/DatePicker.js +21 -27
- package/components/DatePicker/MonthGrid.d.ts +2 -2
- package/components/DatePicker/MonthGrid.js +1 -1
- package/components/DatePicker/today.d.ts +15 -0
- package/components/DatePicker/today.js +17 -0
- package/components/DateRangePicker/DateRangePicker.d.ts +14 -1
- package/components/DateRangePicker/DateRangePicker.js +18 -7
- package/components/DescriptionList/DescriptionList.css +11 -0
- package/components/DescriptionList/DescriptionList.d.ts +5 -1
- package/components/DescriptionList/DescriptionList.js +21 -6
- package/components/Dialog/Dialog.css +9 -0
- package/components/Dialog/Dialog.d.ts +9 -0
- package/components/Dialog/Dialog.js +32 -19
- package/components/DocumentChip/DocumentChip.css +1 -1
- package/components/Drawer/Drawer.d.ts +9 -0
- package/components/Drawer/Drawer.js +8 -0
- package/components/Dropdown/Dropdown.css +3 -1
- package/components/Dropdown/Dropdown.js +8 -0
- package/components/EmptyState/EmptyState.css +8 -1
- package/components/EventCalendar/EventCalendar.css +12 -0
- package/components/Field/Field.css +2 -2
- package/components/FileInput/FileInput.css +1 -1
- package/components/FilterBar/FilterBar.d.ts +6 -1
- package/components/FunnelChart/FunnelChart.d.ts +7 -0
- package/components/FunnelChart/FunnelChart.js +44 -30
- package/components/GanttChart/GanttChart.css +10 -0
- package/components/GanttChart/GanttChart.d.ts +4 -0
- package/components/GanttChart/GanttChart.js +66 -33
- package/components/Gauge/Gauge.css +23 -0
- package/components/Gauge/Gauge.d.ts +4 -0
- package/components/Gauge/Gauge.js +14 -8
- package/components/ImageCompare/ImageCompare.js +2 -1
- package/components/Input/Input.css +15 -1
- package/components/Inspector/Inspector.css +4 -1
- package/components/List/List.css +1 -1
- package/components/NotificationCenter/NotificationCenter.css +152 -27
- package/components/NotificationCenter/NotificationCenter.d.ts +71 -8
- package/components/NotificationCenter/NotificationCenter.js +120 -13
- package/components/NumberInput/NumberInput.css +2 -0
- package/components/PageHeader/PageHeader.css +12 -4
- package/components/Panel/Panel.d.ts +1 -1
- package/components/Popover/Popover.css +3 -0
- package/components/Popover/Popover.d.ts +1 -1
- package/components/Popover/Popover.js +9 -1
- package/components/Prose/Prose.css +1 -1
- package/components/QuestionCard/QuestionCard.css +7 -4
- package/components/RadioButton/RadioButton.css +1 -1
- package/components/RadioButton/RadioButton.d.ts +4 -2
- package/components/RadioButton/RadioButton.js +5 -2
- package/components/ResourceTimeline/ResourceTimeline.css +12 -0
- package/components/ResourceTimeline/ResourceTimeline.d.ts +5 -1
- package/components/ResourceTimeline/ResourceTimeline.js +94 -52
- package/components/RichDropdown/RichDropdown.css +3 -1
- package/components/SegmentedControl/SegmentedControl.css +5 -0
- package/components/SelectionCard/SelectionCard.css +29 -0
- package/components/SelectionCard/SelectionCard.d.ts +7 -0
- package/components/SelectionCard/SelectionCard.js +25 -2
- package/components/Sparkline/Sparkline.css +20 -0
- package/components/Sparkline/Sparkline.d.ts +4 -0
- package/components/Sparkline/Sparkline.js +14 -8
- package/components/Stat/Stat.css +39 -0
- package/components/Stat/Stat.d.ts +23 -2
- package/components/Stat/Stat.js +21 -6
- package/components/Table/Table.css +106 -16
- package/components/Table/Table.d.ts +4 -0
- package/components/Table/Table.js +43 -28
- package/components/Textarea/Textarea.css +4 -2
- package/components/ThemeToggle/colorMode.d.ts +13 -5
- package/components/ThemeToggle/colorMode.js +4 -2
- package/components/ThreadHistory/ThreadHistory.css +11 -0
- package/components/ThreadHistory/ThreadHistory.d.ts +5 -1
- package/components/ThreadHistory/ThreadHistory.js +6 -1
- package/components/ThreadPanel/ThreadPanel.d.ts +4 -0
- package/components/ThreadPanel/ThreadPanel.js +5 -1
- package/components/TimePicker/TimePicker.css +3 -1
- package/components/TimePicker/TimePicker.d.ts +4 -2
- package/components/TimePicker/TimePicker.js +11 -3
- package/components/Timeline/Timeline.css +15 -0
- package/components/Timeline/Timeline.d.ts +8 -0
- package/components/Timeline/Timeline.js +21 -0
- package/components/Toast/Toast.css +16 -0
- package/components/Toast/Toast.d.ts +7 -2
- package/components/ToggleGroup/ToggleGroup.css +28 -2
- package/components/ToggleSwitch/ToggleSwitch.css +1 -1
- package/components/Toolbar/Toolbar.d.ts +6 -1
- package/components/Tooltip/Tooltip.d.ts +9 -0
- package/components/Tooltip/Tooltip.js +34 -8
- package/components/TreeView/TreeView.css +12 -0
- package/components/TreeView/TreeView.d.ts +4 -0
- package/components/TreeView/TreeView.js +20 -0
- package/components/UsageCard/UsageCard.css +11 -0
- package/components/UsageCard/UsageCard.d.ts +4 -0
- package/components/UsageCard/UsageCard.js +25 -16
- package/components/Widget/Widget.css +7 -0
- package/components/Widget/Widget.d.ts +4 -0
- package/components/Widget/Widget.js +14 -2
- package/components/Wizard/Wizard.d.ts +8 -3
- package/components/Wizard/Wizard.js +4 -1
- package/components/registry.json +15 -6
- package/components/registry.json.d.ts +15 -6
- package/components/registry.json.js +1 -1
- package/package.json +7 -2
- package/tokens/presets/contrast.css +4 -4
- package/tokens/presets/coral.css +3 -4
- package/tokens/presets/forest.css +16 -4
- package/tokens/presets/gold.css +4 -3
- package/tokens/presets/marquee.css +2 -3
- package/tokens/presets/mono.css +28 -28
- package/tokens/presets/pink.css +5 -4
- package/tokens/presets/terminal.css +4 -3
- package/tokens/presets/violet.css +3 -4
- package/tokens/presets/warm.css +16 -4
- package/tokens/presets/zest.css +11 -13
- package/tokens/registry.json +1 -0
- package/tokens/registry.json.d.ts +1 -0
- package/tokens/registry.json.js +1 -1
- package/tokens/tokens-dark.css +4 -0
- package/tokens/tokens-light.css +4 -0
- package/tokens/values.d.ts +24 -4
- package/tokens/values.js +25 -6
- package/tokens/values.json.js +1 -1
|
@@ -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":"ActionBar","label":"Action bar","slug":"action-bar","description":"A bar docked to the bottom of a long list or form, with a summary line and the primary actions over a progressive blur.","category":"actions","client":false,"keys":{"by":"platform","note":"The bar adds no keys of its own: its actions are buttons, and the browser owns Tab, Enter and Space."},"alternatives":[{"name":"Toolbar","when":"the controls act on a canvas or a view and sit together in one pill, rather than closing out a list"},{"name":"TableToolbar","when":"the bar sits over a table and holds its search, filters and view settings"}]},{"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"}],"alternatives":[{"name":"DecisionRow","when":"the item sits in a list on the page, waiting on the reader’s yes or no"}]},{"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"}],"alternatives":[{"name":"Checklist","when":"the tasks are the reader’s own to tick off, each with an owner"}]},{"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","alternatives":[{"name":"Dialog","when":"the task needs more than a confirm or a cancel"}]},{"name":"AnchorNav","label":"Anchor nav","slug":"anchor-nav","description":"An on-page list of anchor links that tracks the reader's position, listed by hand or read from the page's headings.","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 flush, floating or inset mode, contained or full width.","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"},"alternatives":[{"name":"SiteLayout","when":"the page is a site of pages under a top header, such as documentation"}]},{"name":"AppSidebar","label":"App sidebar","slug":"app-sidebar","description":"Collapsible navigation rail whose sub-items open in a side panel beside it or an accordion beneath their row, with category headings and a profile section.","category":"layout","client":true,"keys":{"by":"component","note":"In its drawer form (below the mobile breakpoint, or when its host asks) the rail is a modal drawer: opening moves focus inside, Tab stays inside, and Escape closes it."},"alternatives":[{"name":"ThreadPanel","when":"a standalone chat history rail is enough, one that renders on the server"}]},{"name":"AppToolbar","label":"App toolbar","slug":"app-toolbar","description":"The bar along the top of an app’s page: the search, borderless icon controls, the AI button and a primary action, folding in steps as it narrows.","category":"layout","client":false,"keys":{"by":"platform","note":"Tab moves through its controls in order; each control, the More menu among them, keeps its own keys."},"alternatives":[{"name":"TableToolbar","when":"the bar sits over a table and holds its search, filters and view settings"},{"name":"Toolbar","when":"the controls act on a canvas or a view and sit together in one pill"}]},{"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":"A preview with its source a switch away: the panel a chat opens beside the conversation, or an inline live example on a page.","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"},"alternatives":[{"name":"FileRow","when":"the file is one of a list of documents, read as rows"}]},{"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":"A person's or an organisation's image, with initials and icon fallback, a 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":"BackToTop","label":"Back to top","slug":"back-to-top","description":"A round button in the page's corner that appears on a long scroll and takes the reader back to the top.","category":"navigation","client":true,"keys":{"by":"platform","note":"A native button: the browser owns Enter and Space, and the press scrolls the page."}},{"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","alternatives":[{"name":"IconButton","when":"the action is an icon alone and should name itself on hover"}]},{"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"},"alternatives":[{"name":"PaymentCard","when":"the tile is a payment card, drawn as its face with the brand, the last four digits and the holder"}]},{"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","alternatives":[{"name":"RadioButton","when":"only one option can be chosen"}]},{"name":"Checklist","label":"Checklist","slug":"checklist","description":"Tasks with a done state each, an owner and an action, under a count done and a progress bar.","category":"data-display","client":true,"partPatterns":[{"pattern":"checkbox","part":"tasks"}],"alternatives":[{"name":"AgentPlan","when":"the list is an agent’s plan that it works through itself, with live step states"}]},{"name":"Chip","label":"Chip","slug":"chip","description":"Compact pills for attributes, filters, and inline metadata.","category":"data-display","client":false,"keys":{"by":"none"}},{"name":"CodeBlock","label":"Code block","slug":"code-block","description":"Monospace code with a header and one-click copy, optional highlighting, line numbers and tabs.","category":"data-display","client":true,"partPatterns":[{"pattern":"disclosure","part":"collapsible section"},{"pattern":"tabs","part":"snippet tabs"}]},{"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","alternatives":[{"name":"Dropdown","when":"the option list is short and static"},{"name":"TagInput","when":"the entries are free text"}]},{"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","alternatives":[{"name":"DropdownMenu","when":"the menu opens from a visible trigger"}]},{"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":"CopyButton","label":"Copy button","slug":"copy-button","description":"A button that puts a value on the clipboard and confirms it, with text or as an icon alone.","category":"actions","client":true,"pattern":"button","alternatives":[{"name":"IconButton","when":"the button runs an action other than copying a value"}]},{"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."},"alternatives":[{"name":"Table","when":"the rows are static and only need laying out"}]},{"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":"DecisionRow","label":"Decision row","slug":"decision-row","description":"One item waiting on a yes or a no, as a list row that settles to the decision taken, with Undo while it can be reversed.","category":"data-display","client":true,"partPatterns":[{"pattern":"button","part":"buttons"}],"alternatives":[{"name":"ActionCard","when":"an assistant proposes the change in a chat reply"},{"name":"Widget","when":"the rows only report or link, with no decision to take"}]},{"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","alternatives":[{"name":"AlertDialog","when":"the task is a simple confirm-or-cancel prompt"}]},{"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 panel that slides in from any side, modal by default or resting beside a live page, for filter panels, detail views, and mobile navigation.","category":"overlays","client":true,"partPatterns":[{"pattern":"dialog","part":"modal drawer, the default"}]},{"name":"DrillMenu","label":"Drill menu","slug":"drill-menu","description":"A drill-in menu for a phone: one level at a time, thumb-tall rows with a second line, a current value or a chosen mark, and a back row naming its way out.","category":"navigation","client":true,"keys":{"by":"platform","note":"Its rows are links and buttons, and the browser owns Tab, Enter and Space. A step moves focus to the new level’s title, and back to the row it came from on the way out."},"alternatives":[{"name":"SideNav","when":"the list sits in a sidebar beside the page and branches should open in place"}]},{"name":"Dropdown","label":"Dropdown","slug":"dropdown","description":"Custom select dropdown with keyboard navigation, disabled options, and error states.","category":"forms","client":true,"pattern":"combobox","alternatives":[{"name":"Combobox","when":"the option list is long, searchable or server-backed"},{"name":"DropdownMenu","when":"the options are actions, not a form value"},{"name":"RadioButton","when":"the options are few enough to show all at once"},{"name":"RichDropdown","when":"the whole look of each choice is the point, such as a theme preset or a brand kit"}]},{"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","alternatives":[{"name":"ContextMenu","when":"the menu opens on the content itself"},{"name":"Dropdown","when":"the choice is a form value"},{"name":"Menubar","when":"several menus sit side by side in a persistent bar"}]},{"name":"EmptyState","label":"Empty state","slug":"empty-state","description":"The placeholder for a list, table, or search with nothing to show, or the result at the end of a flow: 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, a week or a day of events: pills on their days, overflow counts in the month, a legend that can filter, and a panel for the chosen day.","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, with a Do or Don't verdict for guidelines.","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 file list showing size, progress, and per-file errors.","category":"forms","client":true,"pattern":"button"},{"name":"FileRow","label":"File row","slug":"file-row","description":"One file in a list: its type mark, its name as a link or a button, a line of detail and controls at the end.","category":"data-display","folder":"Attachment","client":false,"keys":{"by":"platform","note":"The name is a native link or button and the actions passed in are native controls, reached with Tab."},"alternatives":[{"name":"AttachmentTile","when":"the file sits on a chat message or in a composer, shown as a square"}]},{"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":"FormSection","label":"Form section","slug":"form-section","description":"A part of a form or a settings page: a heading and its sentence, the fields in a grid, and the section’s own actions.","category":"forms","client":false,"keys":{"by":"platform","note":"It holds the fields and actions passed in, each a native control reached with Tab."},"alternatives":[{"name":"Widget","when":"the section is a dashboard tile rather than part of a form"}]},{"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"},"alternatives":[{"name":"ResourceTimeline","when":"the bars run over hours within one day"}]},{"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":"Grid","label":"Grid","slug":"grid","description":"Equal columns that fold by their own width, with a gap from the scale and cells that share a row’s height.","category":"layout","client":false,"keys":{"by":"none"},"alternatives":[{"name":"Stack","when":"the children run in one line, a column or a row, rather than in equal columns"},{"name":"Widget","when":"the board is of Widget tiles of different heights that should pack without holes"}]},{"name":"Heading","label":"Heading","slug":"heading","description":"A heading whose outline level and type tier are chosen apart, with an optional link to itself.","category":"typography","client":false,"keys":{"by":"none"},"alternatives":[{"name":"SectionTitle","when":"the heading opens a page section, with a divider line or a count or action beside the title"}]},{"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":"Icon","label":"Icon","slug":"icon","description":"One Material Symbol on the icon scale, decorative or named, plain or on a round tile.","category":"typography","client":false,"keys":{"by":"none"}},{"name":"IconButton","label":"Icon button","slug":"icon-button","description":"Icon-only 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","alternatives":[{"name":"Button","when":"the action needs its words on show, with or without an icon beside them"},{"name":"CopyButton","when":"the button puts a value on the clipboard and should confirm it"}]},{"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","alternatives":[{"name":"Textarea","when":"the content needs more than one line"}]},{"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, on its own, or skipping to the content, 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":"Menubar","label":"Menu bar","slug":"menubar","description":"A persistent row of menus, like an app's File, Edit and View, with arrow keys along the bar.","category":"navigation","client":true,"pattern":"menubar","alternatives":[{"name":"Toolbar","when":"the bar holds controls that act at once rather than menus"},{"name":"DropdownMenu","when":"one menu opens from one trigger"}]},{"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":"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":"OrgChart","label":"Org chart","slug":"org-chart","description":"Who reports to whom: each person a card with their avatar, name and role, their reports in a row beneath.","category":"data-display","client":false,"keys":{"by":"platform","note":"Each person whose name links to a profile is a native link, reached with Tab."},"alternatives":[{"name":"TreeView","when":"the hierarchy is a list to navigate and fold rather than people drawn as a chart"}]},{"name":"PageHeader","label":"Page header","slug":"page-header","description":"The top of a page: its breadcrumb, title, description and actions, folding the actions under the text when narrow.","category":"layout","client":false,"keys":{"by":"platform","note":"Its breadcrumb links and the actions passed in are native links and buttons, reached with Tab."},"alternatives":[{"name":"SectionTitle","when":"the heading opens a section within a page rather than the page itself"}]},{"name":"Pagination","label":"Pagination","slug":"pagination","description":"Numbered page navigation with ellipses and a compact readout, or links to the previous and next page of a sequence.","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 padding and a gap, borderless unless it needs an edge.","category":"layout","client":false,"keys":{"by":"none"}},{"name":"PaymentCard","label":"Payment card","slug":"payment-card","description":"The face of a payment card at a card’s aspect ratio, with the brand, last four digits, holder, expiry and a frozen state.","category":"data-display","client":false,"keys":{"by":"none"},"alternatives":[{"name":"Card","when":"the tile previews any other content, or links to a page"}]},{"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"},"alternatives":[{"name":"Spinner","when":"the wait is indeterminate"}]},{"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, cards or a numbered list.","category":"ai","client":true,"partPatterns":[{"pattern":"button","part":"suggestions"}],"keys":{"by":"component","note":"A numbered list also answers the digits 1 to 9 from anywhere on the page outside a text field, each picking the row it numbers."}},{"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","alternatives":[{"name":"Checkbox","when":"users can select more than one"},{"name":"Dropdown","when":"the list of options is long"}]},{"name":"Rating","label":"Rating","slug":"rating","description":"Star-scale rating or a thumbs up and down verdict, with keyboard selection and a read-only mode.","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":"ResourceTimeline","label":"Resource timeline","slug":"resource-timeline","description":"Hours within one day: a row per person or resource and a bar from each start to its end, on an axis of hours.","category":"data-display","client":false,"keys":{"by":"none"},"alternatives":[{"name":"GanttChart","when":"the bars run over days and months rather than hours within one day"}]},{"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","alternatives":[{"name":"Dropdown","when":"a label is enough to choose by, with an icon, a second line or a trailing value at most"}]},{"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"},"alternatives":[{"name":"PageHeader","when":"the heading is the page’s own title, with its breadcrumb and actions"},{"name":"Heading","when":"the heading needs a level or type tier of its own rather than a section’s divided title"}]},{"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","alternatives":[{"name":"Tabs","when":"the options are distinct content sections with their own panels"}]},{"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":"SideNav","label":"Side nav","slug":"side-nav","description":"Vertical navigation links for drawers and long sidebars: sections, three indent levels, expand toggles, a compact size and its own scroll.","category":"navigation","client":true,"partPatterns":[{"pattern":"disclosure","part":"collapsible section"}],"alternatives":[{"name":"DrillMenu","when":"the menu fills a phone screen and each branch should open as a level of its own"}]},{"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":"SiteFooter","label":"Site footer","slug":"site-footer","description":"The bottom of a site: brand, columns of links, and a row of small print and social links.","category":"navigation","client":false,"keys":{"by":"platform","note":"Plain links: the browser owns Tab and Enter."}},{"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 or below a set breakpoint.","category":"navigation","client":true,"keys":{"by":"component","note":"Focusing a section opens its panel, Arrow Down moves into it, and Escape closes it."}},{"name":"SiteLayout","label":"Site layout","slug":"site-layout","description":"The frame of a docs or marketing site: header, sidebar, content, aside and footer, with the page's width and the sidebar's dock set apart.","category":"layout","client":false,"keys":{"by":"platform","note":"A frame: its slots own their keys, and its skip link is a native link."},"alternatives":[{"name":"AppLayout","when":"the page is an app screen with a rail of tools rather than a site of pages"}]},{"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"},"alternatives":[{"name":"ProgressBar","when":"the completion fraction is known"}]},{"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":"Stack","label":"Stack","slug":"stack","description":"Children in one direction, a column or a row, with a gap from the scale between them.","category":"layout","client":false,"keys":{"by":"none"},"alternatives":[{"name":"Grid","when":"the children should sit in equal columns that fold by the room the grid has"}]},{"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, trend deltas, an optional icon tile and caption, and a slot for a sparkline.","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"},"alternatives":[{"name":"Wizard","when":"the steps need their container, their heading and Back and Continue"}]},{"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":"SubNavPanel","label":"Sub-nav panel","slug":"sub-nav-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":"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, a frameless look, compact sizing, code columns, and support for icons, inputs and controls.","category":"data-display","client":false,"keys":{"by":"none"},"alternatives":[{"name":"DataTable","when":"the rows need sorting, filtering, paging, editing or loading from a server"}]},{"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."},"alternatives":[{"name":"ActionBar","when":"the actions finish the work on a long list or form, docked below it rather than over a table"},{"name":"AppToolbar","when":"the bar runs along the top of the whole page, holding the app’s search, icon controls and AI chat"}]},{"name":"Tabs","label":"Tabs","slug":"tabs","description":"Tabs with an underline indicator, icons and counts, compact and full-width modes, and panels it can render itself.","category":"navigation","client":true,"pattern":"tabs","alternatives":[{"name":"SegmentedControl","when":"the options switch a view mode or a filter"}]},{"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","alternatives":[{"name":"Combobox","when":"the values come from a known option list"}]},{"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","alternatives":[{"name":"Input","when":"the value fits on a single line"}]},{"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":"ThreadHistory","label":"Thread history","slug":"thread-history","description":"A chat’s grouped thread rows with status dots, row menus and inline rename, for a history rail or an app sidebar section.","category":"ai","client":false,"keys":{"by":"component","note":"Its threads are a list of buttons; the rename field commits on Enter and cancels on Escape."},"alternatives":[{"name":"ThreadPanel","when":"the history is the whole rail, with its brand, new-thread row, projects and profile footer"}]},{"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."},"alternatives":[{"name":"ThreadHistory","when":"the history sits inside another rail, such as a section of an app sidebar"},{"name":"AppSidebar","when":"the rail also carries app sections, a side panel beside it and the phone drawer, as the templates’ rails do"}]},{"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","alternatives":[{"name":"Menubar","when":"the controls are named menus of commands, like an app's File and Edit"},{"name":"ActionBar","when":"a summary and the primary actions close out a long list or form, docked to its bottom"},{"name":"AppToolbar","when":"the bar runs along the top of an app’s page with its search, icon controls and AI chat"}]},{"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","alternatives":[{"name":"OrgChart","when":"the hierarchy is people, drawn as a chart of who reports to whom"}]},{"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 or settings, with rows, groups, a footer, an optional fold, and a board of columns.","category":"data-display","client":false,"keys":{"by":"none"},"alternatives":[{"name":"Grid","when":"cells of any kind should sit in equal columns and share a row’s height"},{"name":"FormSection","when":"the section holds a form’s fields and its own save"},{"name":"DecisionRow","when":"each row waits on a yes or a no and settles to the answer"}]},{"name":"Wizard","label":"Wizard","slug":"wizard","description":"A task in steps: the stepper, the step under its heading, and Back and Continue with a running summary.","category":"navigation","client":true,"keys":{"by":"platform","note":"Back, Continue and Finish are native buttons, as are the stepper’s completed steps, and focus moves to each step’s heading."},"alternatives":[{"name":"Stepper","when":"only the progress is needed and the host lays out the steps and their buttons"}]},{"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":"ActionBar","label":"Action bar","slug":"action-bar","description":"A bar docked to the bottom of a long list or form, with a summary line and the primary actions over a progressive blur.","category":"actions","client":false,"keys":{"by":"platform","note":"The bar adds no keys of its own: its actions are buttons, and the browser owns Tab, Enter and Space."},"alternatives":[{"name":"Toolbar","when":"the controls act on a canvas or a view and sit together in one pill, rather than closing out a list"},{"name":"TableToolbar","when":"the bar sits over a table and holds its search, filters and view settings"}]},{"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"}],"alternatives":[{"name":"DecisionRow","when":"the item sits in a list on the page, waiting on the reader’s yes or no"}]},{"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"}],"alternatives":[{"name":"Checklist","when":"the tasks are the reader’s own to tick off, each with an owner"}]},{"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","alternatives":[{"name":"Dialog","when":"the task needs more than a confirm or a cancel"}]},{"name":"AnchorNav","label":"Anchor nav","slug":"anchor-nav","description":"An on-page list of anchor links that tracks the reader's position, listed by hand or read from the page's headings.","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 flush, floating or inset mode, contained or full width.","category":"layout","client":true,"keys":{"by":"component","note":"The rail is AppSidebar, which carries the layout’s keys. The layout adds only its skip link, a native link.","see":"AppSidebar"},"alternatives":[{"name":"SiteLayout","when":"the page is a site of pages under a top header, such as documentation"}]},{"name":"AppSidebar","label":"App sidebar","slug":"app-sidebar","description":"Collapsible navigation rail whose sub-items open in a side panel beside it or an accordion beneath their row, with category headings and a profile section.","category":"layout","client":true,"keys":{"by":"component","note":"In its drawer form (below the mobile breakpoint, or when its host asks) the rail is a modal drawer: opening moves focus inside, Tab stays inside, and Escape closes it."},"alternatives":[{"name":"ThreadPanel","when":"a standalone chat history rail is enough, one that renders on the server"}]},{"name":"AppToolbar","label":"App toolbar","slug":"app-toolbar","description":"The bar along the top of an app’s page: the search, borderless icon controls, the AI button and a primary action, folding in steps as it narrows.","category":"layout","client":false,"keys":{"by":"platform","note":"Tab moves through its controls in order; each control, the More menu among them, keeps its own keys."},"alternatives":[{"name":"TableToolbar","when":"the bar sits over a table and holds its search, filters and view settings"},{"name":"Toolbar","when":"the controls act on a canvas or a view and sit together in one pill"}]},{"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":"A preview with its source a switch away: the panel a chat opens beside the conversation, or an inline live example on a page.","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"},"alternatives":[{"name":"FileRow","when":"the file is one of a list of documents, read as rows"}]},{"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":"A person's or an organisation's image, with initials and icon fallback, a 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":"BackToTop","label":"Back to top","slug":"back-to-top","description":"A round button in the page's corner that appears on a long scroll and takes the reader back to the top.","category":"navigation","client":true,"keys":{"by":"platform","note":"A native button: the browser owns Enter and Space, and the press scrolls the page."}},{"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","alternatives":[{"name":"IconButton","when":"the action is an icon alone and should name itself on hover"}]},{"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"},"alternatives":[{"name":"PaymentCard","when":"the tile is a payment card, drawn as its face with the brand, the last four digits and the holder"}]},{"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","alternatives":[{"name":"RadioButton","when":"only one option can be chosen"}]},{"name":"Checklist","label":"Checklist","slug":"checklist","description":"Tasks with a done state each, an owner and an action, under a count done and a progress bar.","category":"data-display","client":true,"partPatterns":[{"pattern":"checkbox","part":"tasks"}],"alternatives":[{"name":"AgentPlan","when":"the list is an agent’s plan that it works through itself, with live step states"}]},{"name":"Chip","label":"Chip","slug":"chip","description":"Compact pills for attributes, filters, and inline metadata.","category":"data-display","client":false,"keys":{"by":"none"}},{"name":"CodeBlock","label":"Code block","slug":"code-block","description":"Monospace code with a header and one-click copy, optional highlighting, line numbers and tabs.","category":"data-display","client":true,"partPatterns":[{"pattern":"disclosure","part":"collapsible section"},{"pattern":"tabs","part":"snippet tabs"}]},{"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","alternatives":[{"name":"Dropdown","when":"the option list is short and static"},{"name":"TagInput","when":"the entries are free text"}]},{"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","alternatives":[{"name":"DropdownMenu","when":"the menu opens from a visible trigger"}]},{"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":"CopyButton","label":"Copy button","slug":"copy-button","description":"A button that puts a value on the clipboard and confirms it, with text or as an icon alone.","category":"actions","client":true,"pattern":"button","alternatives":[{"name":"IconButton","when":"the button runs an action other than copying a value"}]},{"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."},"alternatives":[{"name":"Table","when":"the rows are static and only need laying out"}]},{"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":"DecisionRow","label":"Decision row","slug":"decision-row","description":"One item waiting on a yes or a no, as a list row that settles to the decision taken, with Undo while it can be reversed.","category":"data-display","client":true,"partPatterns":[{"pattern":"button","part":"buttons"}],"alternatives":[{"name":"ActionCard","when":"an assistant proposes the change in a chat reply"},{"name":"Widget","when":"the rows only report or link, with no decision to take"}]},{"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","alternatives":[{"name":"AlertDialog","when":"the task is a simple confirm-or-cancel prompt"}]},{"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 panel that slides in from any side, modal by default or resting beside a live page, for filter panels, detail views, and mobile navigation.","category":"overlays","client":true,"partPatterns":[{"pattern":"dialog","part":"modal drawer, the default"}]},{"name":"DrillMenu","label":"Drill menu","slug":"drill-menu","description":"A drill-in menu for a phone: one level at a time, thumb-tall rows with a second line, a current value or a chosen mark, and a back row naming its way out.","category":"navigation","client":true,"keys":{"by":"platform","note":"Its rows are links and buttons, and the browser owns Tab, Enter and Space. A step moves focus to the new level’s title, and back to the row it came from on the way out."},"alternatives":[{"name":"SideNav","when":"the list sits in a sidebar beside the page and branches should open in place"}]},{"name":"Dropdown","label":"Dropdown","slug":"dropdown","description":"Custom select dropdown with keyboard navigation, disabled options, and error states.","category":"forms","client":true,"pattern":"combobox","alternatives":[{"name":"Combobox","when":"the option list is long, searchable or server-backed"},{"name":"DropdownMenu","when":"the options are actions, not a form value"},{"name":"RadioButton","when":"the options are few enough to show all at once"},{"name":"RichDropdown","when":"the whole look of each choice is the point, such as a theme preset or a brand kit"}]},{"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","alternatives":[{"name":"ContextMenu","when":"the menu opens on the content itself"},{"name":"Dropdown","when":"the choice is a form value"},{"name":"Menubar","when":"several menus sit side by side in a persistent bar"}]},{"name":"EmptyState","label":"Empty state","slug":"empty-state","description":"The placeholder for a list, table, or search with nothing to show, or the result at the end of a flow: 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, a week or a day of events: pills on their days, overflow counts in the month, a legend that can filter, and a panel for the chosen day.","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, with a Do or Don't verdict for guidelines; with a press handler, the tile of a gallery that opens a Lightbox.","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 file list showing size, progress, and per-file errors.","category":"forms","client":true,"pattern":"button"},{"name":"FileRow","label":"File row","slug":"file-row","description":"One file in a list: its type mark, its name as a link or a button, a line of detail and controls at the end.","category":"data-display","folder":"Attachment","client":false,"keys":{"by":"platform","note":"The name is a native link or button and the actions passed in are native controls, reached with Tab."},"alternatives":[{"name":"AttachmentTile","when":"the file sits on a chat message or in a composer, shown as a square"}]},{"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":"FormSection","label":"Form section","slug":"form-section","description":"A part of a form or a settings page: a heading and its sentence, the fields in a grid, and the section’s own actions.","category":"forms","client":false,"keys":{"by":"platform","note":"It holds the fields and actions passed in, each a native control reached with Tab."},"alternatives":[{"name":"Widget","when":"the section is a dashboard tile rather than part of a form"}]},{"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"},"alternatives":[{"name":"ResourceTimeline","when":"the bars run over hours within one day"}]},{"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":"Grid","label":"Grid","slug":"grid","description":"Equal columns that fold by their own width, with a gap from the scale and cells that share a row’s height.","category":"layout","client":false,"keys":{"by":"none"},"alternatives":[{"name":"Stack","when":"the children run in one line, a column or a row, rather than in equal columns"},{"name":"Widget","when":"the board is of Widget tiles of different heights that should pack without holes"}]},{"name":"Heading","label":"Heading","slug":"heading","description":"A heading whose outline level and type tier are chosen apart, with an optional link to itself.","category":"typography","client":false,"keys":{"by":"none"},"alternatives":[{"name":"SectionTitle","when":"the heading opens a page section, with a divider line or a count or action beside the title"}]},{"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":"Icon","label":"Icon","slug":"icon","description":"One Material Symbol on the icon scale, decorative or named, plain or on a round tile.","category":"typography","client":false,"keys":{"by":"none"}},{"name":"IconButton","label":"Icon button","slug":"icon-button","description":"Icon-only 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","alternatives":[{"name":"Button","when":"the action needs its words on show, with or without an icon beside them"},{"name":"CopyButton","when":"the button puts a value on the clipboard and should confirm it"}]},{"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","alternatives":[{"name":"Textarea","when":"the content needs more than one line"}]},{"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 for inspector panels, as native radios under a sliding pill. It fills its row: the label at one end, the choices at the other.","category":"inspector","client":true,"folder":"Inspector","keys":{"by":"platform","note":"Native radio inputs: the browser moves between them with the arrow keys."},"alternatives":[{"name":"SegmentedControl","when":"the choice sits on a page or in a form rather than in an inspector panel’s row"}]},{"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, on its own, or skipping to the content, 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":"Menubar","label":"Menu bar","slug":"menubar","description":"A persistent row of menus, like an app's File, Edit and View, with arrow keys along the bar.","category":"navigation","client":true,"pattern":"menubar","alternatives":[{"name":"Toolbar","when":"the bar holds controls that act at once rather than menus"},{"name":"DropdownMenu","when":"one menu opens from one trigger"}]},{"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":"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":"OrgChart","label":"Org chart","slug":"org-chart","description":"Who reports to whom: each person a card with their avatar, name and role, their reports in a row beneath.","category":"data-display","client":false,"keys":{"by":"platform","note":"Each person whose name links to a profile is a native link, reached with Tab."},"alternatives":[{"name":"TreeView","when":"the hierarchy is a list to navigate and fold rather than people drawn as a chart"}]},{"name":"PageHeader","label":"Page header","slug":"page-header","description":"The top of a page: its breadcrumb, title, description and actions, folding the actions under the text when narrow.","category":"layout","client":false,"keys":{"by":"platform","note":"Its breadcrumb links and the actions passed in are native links and buttons, reached with Tab."},"alternatives":[{"name":"SectionTitle","when":"the heading opens a section within a page rather than the page itself"}]},{"name":"Pagination","label":"Pagination","slug":"pagination","description":"Numbered page navigation with ellipses and a compact readout, or links to the previous and next page of a sequence.","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 padding and a gap, borderless unless it needs an edge.","category":"layout","client":false,"keys":{"by":"none"}},{"name":"PaymentCard","label":"Payment card","slug":"payment-card","description":"The face of a payment card at a card’s aspect ratio, with the brand, last four digits, holder, expiry and a frozen state.","category":"data-display","client":false,"keys":{"by":"none"},"alternatives":[{"name":"Card","when":"the tile previews any other content, or links to a page"}]},{"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"},"alternatives":[{"name":"Spinner","when":"the wait is indeterminate"}]},{"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, cards or a numbered list.","category":"ai","client":true,"partPatterns":[{"pattern":"button","part":"suggestions"}],"keys":{"by":"component","note":"A numbered list also answers the digits 1 to 9 from anywhere on the page outside a text field, each picking the row it numbers."}},{"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","alternatives":[{"name":"Checkbox","when":"users can select more than one"},{"name":"Dropdown","when":"the list of options is long"}]},{"name":"Rating","label":"Rating","slug":"rating","description":"Star-scale rating or a thumbs up and down verdict, with keyboard selection and a read-only mode.","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":"ResourceTimeline","label":"Resource timeline","slug":"resource-timeline","description":"Hours within one day: a row per person or resource and a bar from each start to its end, on an axis of hours.","category":"data-display","client":false,"keys":{"by":"none"},"alternatives":[{"name":"GanttChart","when":"the bars run over days and months rather than hours within one day"}]},{"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","alternatives":[{"name":"Dropdown","when":"a label is enough to choose by, with an icon, a second line or a trailing value at most"}]},{"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"},"alternatives":[{"name":"Widget","when":"the heading titles a panel of rows on a dashboard or a settings page, which Widget draws with its WidgetRow list"},{"name":"PageHeader","when":"the heading is the page’s own title, with its breadcrumb and actions"},{"name":"Heading","when":"the heading needs a level or type tier of its own rather than a section’s divided title"}]},{"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","alternatives":[{"name":"InspectorSegmentedControl","when":"the choice is one labelled row of an inspector panel, where it fills the row"},{"name":"Tabs","when":"the options are distinct content sections with their own panels"}]},{"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"},{"pattern":"radio-group","part":"cards in radio mode"}]},{"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":"SideNav","label":"Side nav","slug":"side-nav","description":"Vertical navigation links for drawers and long sidebars: sections, three indent levels, expand toggles, a compact size and its own scroll.","category":"navigation","client":true,"partPatterns":[{"pattern":"disclosure","part":"collapsible section"}],"alternatives":[{"name":"DrillMenu","when":"the menu fills a phone screen and each branch should open as a level of its own"}]},{"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":"SiteFooter","label":"Site footer","slug":"site-footer","description":"The bottom of a site: brand, columns of links, and a row of small print and social links.","category":"navigation","client":false,"keys":{"by":"platform","note":"Plain links: the browser owns Tab and Enter."}},{"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 or below a set breakpoint.","category":"navigation","client":true,"keys":{"by":"component","note":"Focusing a section opens its panel, Arrow Down moves into it, and Escape closes it."}},{"name":"SiteLayout","label":"Site layout","slug":"site-layout","description":"The frame of a docs or marketing site: header, sidebar, content, aside and footer, with the page's width and the sidebar's dock set apart.","category":"layout","client":false,"keys":{"by":"platform","note":"A frame: its slots own their keys, and its skip link is a native link."},"alternatives":[{"name":"AppLayout","when":"the page is an app screen with a rail of tools rather than a site of pages"}]},{"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"},"alternatives":[{"name":"ProgressBar","when":"the completion fraction is known"}]},{"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":"Stack","label":"Stack","slug":"stack","description":"Children in one direction, a column or a row, with a gap from the scale between them.","category":"layout","client":false,"keys":{"by":"none"},"alternatives":[{"name":"Grid","when":"the children should sit in equal columns that fold by the room the grid has"}]},{"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, trend deltas, an optional icon tile and caption, and a slot for a sparkline.","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"},"alternatives":[{"name":"Wizard","when":"the steps need their container, their heading and Back and Continue"}]},{"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":"SubNavPanel","label":"Sub-nav panel","slug":"sub-nav-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":"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, a frameless look, compact sizing, code columns, and support for icons, inputs and controls.","category":"data-display","client":false,"keys":{"by":"none"},"alternatives":[{"name":"DataTable","when":"the rows need sorting, filtering, paging, editing or loading from a server"}]},{"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."},"alternatives":[{"name":"ActionBar","when":"the actions finish the work on a long list or form, docked below it rather than over a table"},{"name":"AppToolbar","when":"the bar runs along the top of the whole page, holding the app’s search, icon controls and AI chat"}]},{"name":"Tabs","label":"Tabs","slug":"tabs","description":"Tabs with an underline indicator, icons and counts, compact and full-width modes, and panels it can render itself.","category":"navigation","client":true,"pattern":"tabs","alternatives":[{"name":"SegmentedControl","when":"the options switch a view mode or a filter"}]},{"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","alternatives":[{"name":"Combobox","when":"the values come from a known option list"}]},{"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","alternatives":[{"name":"Input","when":"the value fits on a single line"}]},{"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":"ThreadHistory","label":"Thread history","slug":"thread-history","description":"A chat’s grouped thread rows with status dots, row menus and inline rename, for a history rail or an app sidebar section.","category":"ai","client":false,"keys":{"by":"component","note":"Its threads are a list of buttons; the rename field commits on Enter and cancels on Escape."},"alternatives":[{"name":"ThreadPanel","when":"the history is the whole rail, with its brand, new-thread row, projects and profile footer"}]},{"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."},"alternatives":[{"name":"ThreadHistory","when":"the history sits inside another rail, such as a section of an app sidebar"},{"name":"AppSidebar","when":"the rail also carries app sections, a side panel beside it and the phone drawer, as the templates’ rails do"}]},{"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","alternatives":[{"name":"Menubar","when":"the controls are named menus of commands, like an app's File and Edit"},{"name":"ActionBar","when":"a summary and the primary actions close out a long list or form, docked to its bottom"},{"name":"AppToolbar","when":"the bar runs along the top of an app’s page with its search, icon controls and AI chat"}]},{"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","alternatives":[{"name":"OrgChart","when":"the hierarchy is people, drawn as a chart of who reports to whom"}]},{"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 or settings, with rows, groups, a footer, an optional fold, and a board that packs tiles of different heights into columns.","category":"data-display","client":false,"keys":{"by":"none"},"alternatives":[{"name":"SectionTitle","when":"the heading only opens a section of the page, with no tile or rows of its own"},{"name":"Grid","when":"cells of any kind should sit in equal columns and share a row’s height"},{"name":"FormSection","when":"the section holds a form’s fields and its own save"},{"name":"DecisionRow","when":"each row waits on a yes or a no and settles to the answer"}]},{"name":"Wizard","label":"Wizard","slug":"wizard","description":"A task in steps: the stepper, the step under its heading, and Back and Continue with a running summary.","category":"navigation","client":true,"keys":{"by":"platform","note":"Back, Continue and Finish are native buttons, as are the stepper’s completed steps, and focus moves to each step’s heading."},"alternatives":[{"name":"Stepper","when":"only the progress is needed and the host lays out the steps and their buttons"}]},{"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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rift-ds",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.43.0",
|
|
4
4
|
"description": "An open-source, AI-native React design system: accessible components on composable tokens, light/dark theming, and CSS-variable overrides.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Robert Ritacca",
|
|
@@ -90,6 +90,10 @@
|
|
|
90
90
|
"types": "./behaviors/deferComponent.d.ts",
|
|
91
91
|
"import": "./behaviors/deferComponent.js"
|
|
92
92
|
},
|
|
93
|
+
"./behaviors/VisuallyHidden": {
|
|
94
|
+
"types": "./behaviors/VisuallyHidden.d.ts",
|
|
95
|
+
"import": "./behaviors/VisuallyHidden.js"
|
|
96
|
+
},
|
|
93
97
|
"./chat": {
|
|
94
98
|
"types": "./chat/index.d.ts",
|
|
95
99
|
"import": "./chat/index.js"
|
|
@@ -154,7 +158,8 @@
|
|
|
154
158
|
"./components/DatePicker/MonthGrid": null,
|
|
155
159
|
"./components/Widget/WidgetDisclosure": null,
|
|
156
160
|
"./components/DescriptionList/DescriptionListCopy": null,
|
|
157
|
-
"./components/Chart/ActiveReporter": null
|
|
161
|
+
"./components/Chart/ActiveReporter": null,
|
|
162
|
+
"./components/Chart/ChartSkeleton": null
|
|
158
163
|
},
|
|
159
164
|
"dependencies": {
|
|
160
165
|
"@tanstack/react-table": "^9.3.1",
|
|
@@ -184,7 +184,7 @@
|
|
|
184
184
|
--color-action-primary-border: var(--primitive-blue-07);
|
|
185
185
|
--color-action-primary-border-secondary: var(--primitive-blue-08);
|
|
186
186
|
--color-action-primary-text-active: var(--primitive-blue-02);
|
|
187
|
-
--color-action-primary-text-tertiary: var(--primitive-blue-
|
|
187
|
+
--color-action-primary-text-tertiary: var(--primitive-blue-05);
|
|
188
188
|
--color-ai-gradient-end: var(--primitive-blue-08);
|
|
189
189
|
--color-bg-app-shell: var(--primitive-neutral-09);
|
|
190
190
|
--color-bg-app-surface: var(--primitive-neutral-11);
|
|
@@ -194,7 +194,7 @@
|
|
|
194
194
|
--color-brand-mark-end: var(--primitive-blue-04);
|
|
195
195
|
--color-core-ui-secondary: var(--primitive-blue-09);
|
|
196
196
|
--color-input-border-hover: var(--primitive-blue-08);
|
|
197
|
-
--color-input-border-selected: var(--primitive-blue-
|
|
197
|
+
--color-input-border-selected: var(--primitive-blue-06);
|
|
198
198
|
--color-product-mark: var(--primitive-blue-05);
|
|
199
199
|
--primitive-blue-00: #F9FAFF;
|
|
200
200
|
--primitive-blue-01: #F1F4FF;
|
|
@@ -228,7 +228,7 @@
|
|
|
228
228
|
--color-action-primary-text: var(--primitive-blue-02);
|
|
229
229
|
--color-action-primary-text-active: var(--primitive-blue-02);
|
|
230
230
|
--color-action-primary-text-secondary: var(--primitive-blue-10);
|
|
231
|
-
--color-action-primary-text-tertiary: var(--primitive-blue-
|
|
231
|
+
--color-action-primary-text-tertiary: var(--primitive-blue-05);
|
|
232
232
|
--color-ai-gradient-end: var(--primitive-blue-08);
|
|
233
233
|
--color-bg-app-shell: var(--primitive-neutral-09);
|
|
234
234
|
--color-bg-app-surface: var(--primitive-neutral-11);
|
|
@@ -247,7 +247,7 @@
|
|
|
247
247
|
--color-core-ui-primary: var(--primitive-blue-07);
|
|
248
248
|
--color-core-ui-secondary: var(--primitive-blue-09);
|
|
249
249
|
--color-input-border-hover: var(--primitive-blue-08);
|
|
250
|
-
--color-input-border-selected: var(--primitive-blue-
|
|
250
|
+
--color-input-border-selected: var(--primitive-blue-06);
|
|
251
251
|
--color-product-mark: var(--primitive-blue-05);
|
|
252
252
|
}
|
|
253
253
|
}
|
package/tokens/presets/coral.css
CHANGED
|
@@ -252,10 +252,9 @@
|
|
|
252
252
|
--color-action-primary-border: var(--primitive-red-07);
|
|
253
253
|
--color-action-primary-border-secondary: var(--primitive-red-08);
|
|
254
254
|
--color-action-primary-text-active: var(--primitive-red-01);
|
|
255
|
-
--color-action-primary-text-tertiary: var(--primitive-red-
|
|
255
|
+
--color-action-primary-text-tertiary: var(--primitive-red-06);
|
|
256
256
|
--color-core-ui-secondary: var(--primitive-red-09);
|
|
257
257
|
--color-input-border-hover: var(--primitive-red-08);
|
|
258
|
-
--color-input-border-selected: var(--primitive-red-08);
|
|
259
258
|
--shadow-floating: 0 6px 24px rgba(0, 0, 0, 0.45);
|
|
260
259
|
--shadow-modal: 0 12px 48px rgba(0, 0, 0, 0.5);
|
|
261
260
|
--shadow-table-pinned: 0 0 16px rgba(0, 0, 0, 0.5);
|
|
@@ -271,7 +270,7 @@
|
|
|
271
270
|
--color-action-primary-text: var(--primitive-neutral-00);
|
|
272
271
|
--color-action-primary-text-active: var(--primitive-red-01);
|
|
273
272
|
--color-action-primary-text-secondary: var(--primitive-red-10);
|
|
274
|
-
--color-action-primary-text-tertiary: var(--primitive-red-
|
|
273
|
+
--color-action-primary-text-tertiary: var(--primitive-red-06);
|
|
275
274
|
--color-ai-gradient-end: var(--primitive-red-09);
|
|
276
275
|
--color-ai-gradient-mid: var(--primitive-red-07);
|
|
277
276
|
--color-ai-gradient-start: var(--primitive-red-03);
|
|
@@ -292,7 +291,7 @@
|
|
|
292
291
|
--color-core-ui-primary: var(--primitive-red-07);
|
|
293
292
|
--color-core-ui-secondary: var(--primitive-red-09);
|
|
294
293
|
--color-input-border-hover: var(--primitive-red-08);
|
|
295
|
-
--color-input-border-selected: var(--primitive-red-
|
|
294
|
+
--color-input-border-selected: var(--primitive-red-07);
|
|
296
295
|
--shadow-floating: 0 6px 24px rgba(0, 0, 0, 0.45);
|
|
297
296
|
--shadow-modal: 0 12px 48px rgba(0, 0, 0, 0.5);
|
|
298
297
|
--shadow-table-pinned: 0 0 16px rgba(0, 0, 0, 0.5);
|
|
@@ -79,6 +79,10 @@
|
|
|
79
79
|
--color-core-ui-secondary: var(--primitive-green-10);
|
|
80
80
|
--color-input-border-hover: var(--primitive-green-05);
|
|
81
81
|
--color-input-border-selected: var(--primitive-green-07);
|
|
82
|
+
--color-status-warning-bg: var(--primitive-yellow-02);
|
|
83
|
+
--color-status-warning-border: var(--primitive-yellow-08);
|
|
84
|
+
--color-status-warning-icon: var(--primitive-yellow-08);
|
|
85
|
+
--color-status-warning-text: var(--primitive-yellow-10);
|
|
82
86
|
--color-trend-up: var(--primitive-green-06);
|
|
83
87
|
--font-display-1-weight: 600;
|
|
84
88
|
--font-display-2-weight: 600;
|
|
@@ -218,14 +222,18 @@
|
|
|
218
222
|
--color-action-primary-border: var(--primitive-green-07);
|
|
219
223
|
--color-action-primary-border-secondary: var(--primitive-green-08);
|
|
220
224
|
--color-action-primary-text-active: var(--primitive-green-02);
|
|
221
|
-
--color-action-primary-text-tertiary: var(--primitive-green-
|
|
225
|
+
--color-action-primary-text-tertiary: var(--primitive-green-04);
|
|
222
226
|
--color-bg-app-shell: var(--primitive-neutral-09);
|
|
223
227
|
--color-bg-app-surface: var(--primitive-neutral-11);
|
|
224
228
|
--color-bg-container-primary-semi: var(--primitive-neutral-09-a60);
|
|
225
229
|
--color-bg-page-primary: var(--primitive-neutral-10);
|
|
226
230
|
--color-core-ui-secondary: var(--primitive-green-09);
|
|
227
231
|
--color-input-border-hover: var(--primitive-green-08);
|
|
228
|
-
--color-input-border-selected: var(--primitive-green-
|
|
232
|
+
--color-input-border-selected: var(--primitive-green-06);
|
|
233
|
+
--color-status-warning-bg: var(--primitive-yellow-10);
|
|
234
|
+
--color-status-warning-border: var(--primitive-yellow-07);
|
|
235
|
+
--color-status-warning-icon: var(--primitive-yellow-07);
|
|
236
|
+
--color-status-warning-text: var(--primitive-yellow-01);
|
|
229
237
|
--color-trend-up: var(--color-core-accent-mint);
|
|
230
238
|
--primitive-neutral-00: #F2F5F3;
|
|
231
239
|
--primitive-neutral-00-a01: rgba(242, 245, 243, 0.01);
|
|
@@ -250,7 +258,7 @@
|
|
|
250
258
|
--color-action-primary-text: var(--primitive-green-02);
|
|
251
259
|
--color-action-primary-text-active: var(--primitive-green-02);
|
|
252
260
|
--color-action-primary-text-secondary: var(--primitive-green-10);
|
|
253
|
-
--color-action-primary-text-tertiary: var(--primitive-green-
|
|
261
|
+
--color-action-primary-text-tertiary: var(--primitive-green-04);
|
|
254
262
|
--color-ai-gradient-end: var(--primitive-green-09);
|
|
255
263
|
--color-ai-gradient-mid: var(--primitive-green-07);
|
|
256
264
|
--color-ai-gradient-start: var(--primitive-green-03);
|
|
@@ -273,7 +281,11 @@
|
|
|
273
281
|
--color-core-ui-primary: var(--primitive-green-07);
|
|
274
282
|
--color-core-ui-secondary: var(--primitive-green-09);
|
|
275
283
|
--color-input-border-hover: var(--primitive-green-08);
|
|
276
|
-
--color-input-border-selected: var(--primitive-green-
|
|
284
|
+
--color-input-border-selected: var(--primitive-green-06);
|
|
285
|
+
--color-status-warning-bg: var(--primitive-yellow-10);
|
|
286
|
+
--color-status-warning-border: var(--primitive-yellow-07);
|
|
287
|
+
--color-status-warning-icon: var(--primitive-yellow-07);
|
|
288
|
+
--color-status-warning-text: var(--primitive-yellow-01);
|
|
277
289
|
--color-trend-up: var(--color-core-accent-mint);
|
|
278
290
|
--shadow-floating: 0 6px 24px rgba(0, 0, 0, 0.45);
|
|
279
291
|
--shadow-modal: 0 12px 48px rgba(0, 0, 0, 0.5);
|