rift-ds 1.30.0 → 1.32.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 +6 -4
- package/behaviors/chat-card.css +4 -1
- package/behaviors/deferComponent.d.ts +43 -0
- package/behaviors/deferComponent.js +35 -0
- package/behaviors/locale.d.ts +7 -0
- package/behaviors/locale.js +5 -0
- package/behaviors/shell.css +33 -0
- package/bin/rift-ds.mjs +35 -9
- package/bin/templates/blocks/app/planner/PlannerGrid.tsx +58 -0
- package/bin/templates/blocks/app/planner/Requests.tsx +42 -0
- package/bin/templates/blocks/app/planner/page.module.css +17 -0
- package/bin/templates/blocks/app/planner/page.tsx +32 -0
- package/bin/templates/blocks/components/blocks/AppShell.module.css +10 -1
- package/bin/templates/blocks/registry.json +14 -0
- package/bin/templates/chat/app/api/chat/route.actions.ts +108 -0
- package/bin/templates/chat/components/chat/ChatMount.actions.tsx +55 -0
- package/bin/templates/chat/components/chat/ChatMount.tsx +14 -1
- package/bin/templates/chat/components/chat/proposals/ProposalCard.tsx +81 -0
- package/bin/templates/chat/components/chat/proposals/actions.ts +60 -0
- package/bin/templates/chat/components/chat/proposals/confirmation.ts +9 -0
- package/bin/templates/chat/components/chat/proposals/renderers.tsx +9 -0
- package/chat/ChatLauncher.d.ts +13 -2
- package/chat/ChatLauncher.js +52 -29
- package/chat/ChatProvider.d.ts +19 -2
- package/chat/ChatProvider.js +26 -3
- package/chat/ChatWidget.css +23 -4
- package/chat/ChatWidget.d.ts +2 -1
- package/chat/ChatWidget.js +23 -21
- package/chat/actions.d.ts +52 -6
- package/chat/actions.js +53 -5
- package/chat/contextSchema.d.ts +76 -0
- package/chat/contextSchema.js +58 -0
- package/chat/deferredChatWidget.d.ts +10 -0
- package/chat/deferredChatWidget.js +10 -0
- package/chat/index.d.ts +3 -2
- package/chat/index.js +7 -1
- package/chat/registry.json.d.ts +4 -3
- package/chat/registry.json.js +1 -1
- package/chat/server.d.ts +18 -2
- package/chat/server.js +10 -1
- package/chat/suggestions.d.ts +7 -0
- package/chat/suggestions.js +13 -1
- package/chat/types.d.ts +23 -0
- package/chat/useChat.d.ts +2 -2
- package/chat/useChat.js +15 -1
- package/components/Accordion/Accordion.css +8 -0
- package/components/AgentPlan/AgentPlan.css +8 -0
- package/components/AgentRail/AgentRail.css +3 -3
- package/components/AiButton/AiButton.css +19 -0
- package/components/AiButton/AiButton.d.ts +10 -1
- package/components/AiButton/AiButton.js +6 -1
- package/components/AppSidebar/AppSidebar.css +12 -0
- package/components/ArtifactPanel/ArtifactPanel.js +5 -5
- package/components/Attachment/AttachmentViewer.js +7 -7
- package/components/BentoTile/BentoTile.css +1 -1
- package/components/BentoTile/BentoTile.js +5 -5
- package/components/Button/Button.css +28 -1
- package/components/Button/Button.d.ts +7 -2
- package/components/Button/Button.js +7 -3
- package/components/ButtonGroup/ButtonGroup.css +10 -1
- package/components/Chart/RadarChart.js +24 -10
- package/components/ChatHeader/ChatHeader.d.ts +1 -1
- package/components/ChatThread/ChatThread.css +1 -1
- package/components/Chip/Chip.css +26 -0
- package/components/CircularButton/CircularButton.d.ts +16 -96
- package/components/CircularButton/CircularButton.js +11 -94
- package/components/Combobox/Combobox.css +12 -0
- package/components/CommandPalette/CommandPalette.css +1 -1
- package/components/CommandPalette/CommandPalette.js +3 -3
- package/components/CommandPaletteTrigger/CommandPaletteTrigger.css +9 -0
- package/components/CommandPaletteTrigger/CommandPaletteTrigger.d.ts +10 -2
- package/components/CommandPaletteTrigger/CommandPaletteTrigger.js +7 -2
- package/components/Composer/Composer.css +3 -3
- package/components/Composer/Composer.js +9 -9
- package/components/ContextMenu/ContextMenu.css +24 -0
- package/components/DataTable/DataTable.css +19 -4
- package/components/DataTable/DataTable.d.ts +14 -2
- package/components/DataTable/DataTable.js +28 -17
- package/components/DataTable/periodColumns.d.ts +37 -0
- package/components/DataTable/periodColumns.js +48 -0
- package/components/DateInput/DateInput.css +20 -0
- package/components/DatePicker/DatePicker.css +22 -6
- package/components/DatePicker/DatePicker.d.ts +2 -1
- package/components/DatePicker/DatePicker.js +2 -2
- package/components/DateRangePicker/DateRangePicker.js +2 -2
- package/components/DecisionRow/DecisionRow.css +46 -0
- package/components/DecisionRow/DecisionRow.d.ts +62 -0
- package/components/DecisionRow/DecisionRow.js +93 -0
- package/components/DescriptionList/DescriptionListCopy.d.ts +1 -1
- package/components/DescriptionList/DescriptionListCopy.js +3 -3
- package/components/Dialog/Dialog.css +1 -1
- package/components/Dialog/Dialog.js +3 -3
- package/components/DocumentChip/DocumentChip.css +12 -0
- package/components/DocumentViewer/DocumentViewer.js +10 -10
- package/components/Drawer/Drawer.css +1 -1
- package/components/Drawer/Drawer.js +3 -3
- package/components/Dropdown/Dropdown.css +30 -0
- package/components/DropdownMenu/DropdownMenu.css +24 -0
- package/components/EventCalendar/EventCalendar.css +54 -0
- package/components/EventCalendar/EventCalendar.d.ts +27 -5
- package/components/EventCalendar/EventCalendar.js +50 -15
- package/components/FileInput/FileInput.css +9 -0
- package/components/FilterBar/FilterBar.css +12 -0
- package/components/FunnelChart/FunnelChart.js +33 -22
- package/components/Globe/Globe.css +7 -0
- package/components/Globe/Globe.js +1 -1
- package/components/{CircularButton/CircularButton.css → IconButton/IconButton.css} +91 -81
- package/components/IconButton/IconButton.d.ts +108 -0
- package/components/IconButton/IconButton.js +101 -0
- package/components/Input/Input.css +53 -0
- package/components/Input/Input.js +3 -3
- package/components/MaskedInput/MaskedInput.js +3 -3
- package/components/ModelPicker/ModelPicker.css +12 -1
- package/components/NavList/NavList.css +1 -1
- package/components/Pagination/Pagination.css +1 -1
- package/components/QuestionCard/QuestionCard.js +3 -3
- package/components/RadioButton/RadioButton.css +14 -12
- package/components/RichDropdown/RichDropdown.css +7 -0
- package/components/SegmentedControl/SegmentedControl.css +16 -5
- package/components/SegmentedControl/SegmentedControl.js +7 -4
- package/components/SiteHeader/SiteHeader.css +12 -5
- package/components/SiteHeader/SiteHeader.js +3 -3
- package/components/SourceTrail/SourceTrail.css +8 -0
- package/components/SplitButton/SplitButton.css +14 -14
- package/components/SplitButton/SplitButton.js +3 -3
- package/components/Table/Table.css +7 -0
- package/components/Table/Table.js +1 -1
- package/components/TableToolbar/TableToolbar.css +2 -2
- package/components/TableToolbar/TableToolbar.js +36 -37
- package/components/Tabs/Tabs.css +21 -3
- package/components/ThreadPanel/ThreadPanel.css +8 -0
- package/components/ThreadTabs/ThreadTabs.css +7 -0
- package/components/TimePicker/TimePicker.css +12 -0
- package/components/Timeline/Timeline.css +8 -0
- package/components/ToolCall/ToolCall.css +8 -0
- package/components/Tooltip/Tooltip.js +3 -2
- package/components/Widget/Widget.css +2 -0
- package/components/WorldMap/WorldMap.css +15 -0
- package/components/WorldMap/WorldMap.js +61 -6
- package/components/registry.d.ts +3 -1
- package/components/registry.json +39 -13
- package/components/registry.json.d.ts +39 -13
- package/components/registry.json.js +1 -1
- package/index.d.ts +2 -0
- package/index.js +8 -0
- package/package.json +6 -2
- package/tokens/presets/blueprint.css +9 -0
- package/tokens/presets/bubblegum.css +9 -0
- package/tokens/presets/contrast.css +3 -3
- package/tokens/presets/coral.css +3 -3
- package/tokens/presets/ember.css +9 -0
- package/tokens/presets/getaway.css +9 -0
- package/tokens/presets/gold.css +3 -3
- package/tokens/presets/mono.css +3 -3
- package/tokens/presets/pink.css +3 -3
- package/tokens/presets/plum.css +3 -3
- package/tokens/presets/signal.css +9 -0
- package/tokens/presets/smoke.css +9 -0
- package/tokens/presets/velvet.css +9 -0
- package/tokens/presets/violet.css +3 -3
- package/tokens/presets/volt.css +9 -0
- package/tokens/presets/warm.css +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const categories = [{ "id": "actions", "label": "Actions", "description": "Buttons, button groups, and toggles for triggering actions and switching modes." }, { "id": "ai", "label": "AI", "description": "Chat, agent, and model surfaces for building AI products, from the composer to the reasoning trace and the diff an agent proposes." }, { "id": "charts", "label": "Charts", "description": "Data visualisation components for plotting series and activity over time." }, { "id": "data-display", "label": "Data display", "description": "Cards, tables, lists, and badges for presenting structured content." }, { "id": "effects", "label": "Effects", "description": "Ambient and decorative surfaces that sit behind or around the interface." }, { "id": "feedback", "label": "Feedback", "description": "Alerts, toasts, progress, and empty states that tell people what is happening." }, { "id": "forms", "label": "Forms", "description": "Inputs, pickers, and selection controls for collecting and editing values." }, { "id": "inspector", "label": "Inspector", "description": "One-row controls for tool panels and settings rails, each carrying its name inside the control and sized to match Button." }, { "id": "layout", "label": "Layout", "description": "Page scaffolding: app shells, sidebars, dividers, and section headings." }, { "id": "maps", "label": "Maps", "description": "Geographic surfaces for showing where things are and what connects them: a globe, a flat world map, and the callout and key that explain them." }, { "id": "navigation", "label": "Navigation", "description": "Top bars, breadcrumbs, tabs, steppers, and pagination for moving through a product." }, { "id": "overlays", "label": "Overlays", "description": "Dialogs, drawers, menus, and tooltips that float above the page." }, { "id": "typography", "label": "Typography", "description": "Headings, running text, links, and lists, each drawn from a tier of the type scale." }];
|
|
2
|
-
const components = /* @__PURE__ */ JSON.parse(`[{"name":"Accordion","label":"Accordion","slug":"accordion","description":"Collapsible content sections for organising related information.","category":"data-display","client":true,"pattern":"accordion"},{"name":"ActionCard","label":"Action card","slug":"action-card","description":"A change an assistant proposes and the reader confirms, then the record of what happened, with Undo while it can be reversed.","category":"ai","client":false,"partPatterns":[{"pattern":"button","part":"buttons"}]},{"name":"ActionReadout","label":"Action readout","slug":"action-readout","description":"What a confirmed change did: a title over a list of facts, worked out from the records as they were just before it.","category":"ai","client":false,"keys":{"by":"none"}},{"name":"AgentPlan","label":"Agent plan","slug":"agent-plan","description":"A collapsible checklist of an agent's task, with live step states and a progress readout.","category":"ai","client":true,"partPatterns":[{"pattern":"disclosure","part":"collapsible section"}],"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 and jumps between sections.","category":"navigation","client":true,"pattern":"link"},{"name":"AnimatedNumber","label":"Animated number","slug":"animated-number","description":"A number that counts to its value: count-up on mount, eased tweens on change, tabular digits that never jitter.","category":"data-display","client":true,"keys":{"by":"none"}},{"name":"AppLayout","label":"App layout","slug":"app-layout","description":"Full-page template pairing the collapsible App sidebar with a content area, in one of the three app shell modes: flush, floating or inset.","category":"layout","client":true,"keys":{"by":"component","note":"The rail is AppSidebar, which carries the layout’s keys. The layout adds none of its own.","see":"AppSidebar"}},{"name":"AppSidebar","label":"App sidebar","slug":"app-sidebar","description":"Collapsible navigation rail with accordion sub-items, a side panel for a third level, category headings, and a profile section.","category":"layout","client":true,"keys":{"by":"component","note":"Below the mobile breakpoint the rail is a modal drawer: opening moves focus inside, Tab stays inside, and Escape closes it."}},{"name":"AreaChart","label":"Area chart","slug":"area-chart","description":"Filled area chart for showing volume over time, with stacked and single-series variants.","category":"charts","client":true,"folder":"Chart","recharts":true,"keys":{"by":"platform","note":"The chart takes focus and the arrow keys step through its data points, which is the charting engine’s own keyboard layer."}},{"name":"ArtifactCard","label":"Artifact card","slug":"artifact-card","description":"The tile a chat leaves in the thread for something it made, a toggle that opens the artifact in its panel.","category":"ai","client":false,"pattern":"toggle-button"},{"name":"ArtifactPanel","label":"Artifact panel","slug":"artifact-panel","description":"The panel a chat opens beside the conversation to preview what it made: live content, a sandboxed page or a site, with the source a switch away.","category":"ai","client":true,"partPatterns":[{"pattern":"button","part":"buttons"}]},{"name":"AttachmentDropZone","label":"Attachment drop zone","slug":"attachment-drop-zone","description":"A wrapper that makes a whole surface a file drop target, with an outlined overlay while files hover over it.","category":"ai","client":true,"folder":"Attachment","keys":{"by":"none"}},{"name":"AttachmentGroup","label":"Attachment group","slug":"attachment-group","description":"The files on a sent message: one picture at its own shape, or a grid of tiles that collapses behind a count.","category":"ai","client":true,"folder":"Attachment","partPatterns":[{"pattern":"disclosure","part":"control that shows the rest of the files"}]},{"name":"AttachmentTile","label":"Attachment tile","slug":"attachment-tile","description":"One file as a square: a picture, a coloured mark for well-known formats, or a neutral badge, with upload states.","category":"ai","client":false,"folder":"Attachment","keys":{"by":"none"},"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":"Badge","label":"Badge","slug":"badge","description":"Small inline status labels with info, positive, warning, error, and neutral variants.","category":"data-display","client":false,"keys":{"by":"none"}},{"name":"Banner","label":"Banner","slug":"banner","description":"Full-width status strip for page-level announcements, with an action slot and optional dismissal.","category":"feedback","client":false,"keys":{"by":"none"}},{"name":"BarChart","label":"Bar chart","slug":"bar-chart","description":"Vertical bars for comparing values across categories or time, with summary stats and tooltips.","category":"charts","client":true,"folder":"Chart","recharts":true,"keys":{"by":"platform","note":"The chart takes focus and the arrow keys step through its data points, which is the charting engine’s own keyboard layer."}},{"name":"BentoTile","label":"Bento tile","slug":"bento-tile","description":"A feature tile for a bento grid, with a safe content area, a shader pair, solid or transparent background, and an overlay it opens into.","category":"data-display","client":true,"partPatterns":[{"pattern":"dialog","part":"expanded overlay"}]},{"name":"BentoTileArt","label":"Bento tile art","slug":"bento-tile-art","description":"The texture half of a bento tile's shader pair: six fine patterns in one vocabulary, fading in from a corner.","category":"effects","client":false,"folder":"BentoTile","keys":{"by":"none"}},{"name":"BottomNav","label":"Bottom nav","slug":"bottom-nav","description":"Mobile tab bar for three to five destinations, in the Rift style or as iOS Liquid Glass or Material 3 Expressive.","category":"navigation","client":true,"partPatterns":[{"pattern":"button","part":"destinations"}]},{"name":"Breadcrumb","label":"Breadcrumb","slug":"breadcrumb","description":"Hierarchical navigation trail showing the user's location within the site.","category":"navigation","client":false,"pattern":"link"},{"name":"Button","label":"Button","slug":"button","description":"Primary, secondary and tertiary emphasis, each in a default, neutral or destructive tone, with icons, loading, and default and compact sizes.","category":"actions","client":true,"pattern":"button"},{"name":"ButtonGroup","label":"Button group","slug":"button-group","description":"Horizontal and vertical button group layouts for related actions and navigation patterns.","category":"actions","client":false,"partPatterns":[{"pattern":"button","part":"buttons"}]},{"name":"Card","label":"Card","slug":"card","description":"A titled preview tile for index grids, with a case-study variant carrying a cover, company logo and dek.","category":"data-display","client":true,"keys":{"by":"none"}},{"name":"CardStack","label":"Card stack","slug":"card-stack","description":"A deck of cards showing one at a time, flipped through with a lift-and-settle animation.","category":"data-display","client":true,"keys":{"by":"component","note":"With the stack focused, the arrow keys step to the next card and back, and Space and Enter also advance."}},{"name":"Carousel","label":"Carousel","slug":"carousel","description":"Sliding content viewer with navigation arrows, dot indicators, auto-play, and keyboard support.","category":"data-display","client":true,"partPatterns":[{"pattern":"tabs","part":"slide dots"}]},{"name":"ChatHeader","label":"Chat header","slug":"chat-header","description":"The top row of a chat surface, with the conversation title and its controls.","category":"ai","client":false,"partPatterns":[{"pattern":"button","part":"buttons"}]},{"name":"ChatMarker","label":"Chat marker","slug":"chat-marker","description":"An inline conversation separator for date breaks and system notes.","category":"ai","client":false,"keys":{"by":"none"}},{"name":"ChatMessage","label":"Chat message","slug":"chat-message","description":"A single chat turn with avatar, author, timestamp, and bubble or plain content aligned by role.","category":"ai","client":false,"partPatterns":[{"pattern":"button","part":"action buttons"}]},{"name":"ChatThread","label":"Chat thread","slug":"chat-thread","description":"A scrollable conversation column with edge fades, send anchoring, and a subtle scrollbar.","category":"ai","client":true,"keys":{"by":"platform","note":"A focusable scroll region: the browser scrolls it with the arrow, Page, Home and End keys."}},{"name":"Checkbox","label":"Checkbox","slug":"checkbox","description":"Custom checkbox with check and indeterminate states, keyboard accessible with animated transitions.","category":"forms","client":true,"pattern":"checkbox","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":"CircularButton","label":"Circular button","slug":"circular-button","description":"Round icon button in primary, secondary and tertiary emphasis and a default, neutral or destructive tone, in default and compact sizes.","category":"actions","client":false,"pattern":"button"},{"name":"CodeBlock","label":"Code block","slug":"code-block","description":"Monospace code with a header and one-click copy.","category":"data-display","client":true,"partPatterns":[{"pattern":"disclosure","part":"collapsible section"}]},{"name":"CodeDiff","label":"Code diff","slug":"code-diff","description":"Unified diff view for code changes, with added, removed, and context lines.","category":"ai","client":false,"keys":{"by":"platform","note":"A focusable scroll region: the browser scrolls it with the arrow, Page, Home and End keys."}},{"name":"ColorPicker","label":"Colour picker","slug":"color-picker","description":"Swatch trigger opening a saturation area, hue and alpha sliders, and a hex field; controlled or uncontrolled.","category":"forms","client":true,"keys":{"by":"component","note":"Opening moves focus onto the colour area, where the arrow keys move both axes, Home and End take saturation to its ends, and Escape closes the panel."}},{"name":"ComboChart","label":"Combo chart","slug":"combo-chart","description":"Bar and line series in one chart, with an optional second y-axis for pairs in different units, like spend and ROAS.","category":"charts","client":true,"folder":"Chart","recharts":true,"keys":{"by":"platform","note":"The chart takes focus and the arrow keys step through its data points, which is the charting engine’s own keyboard layer."}},{"name":"Combobox","label":"Combobox","slug":"combobox","description":"A filterable select that narrows options as the user types, with multi-select chips, grouping, and async loading.","category":"forms","client":true,"pattern":"combobox","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":"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":"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 modal panel that slides in from any side, for filter panels, detail views, and mobile navigation.","category":"overlays","client":true,"pattern":"dialog"},{"name":"Dropdown","label":"Dropdown","slug":"dropdown","description":"Custom select dropdown with keyboard navigation, disabled options, and error states.","category":"forms","client":true,"pattern":"combobox","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":"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 or a week of events: pills on their days, overflow counts in the month, a legend, and navigation by month or week.","category":"data-display","client":true,"partPatterns":[{"pattern":"button","part":"navigation buttons"}]},{"name":"Field","label":"Field","slug":"field","description":"The shared scaffolding for labelled form controls: label, required marker, helper and error text, and the ARIA wiring that ties them together.","category":"forms","client":true,"pattern":"textbox"},{"name":"Figure","label":"Figure","slug":"figure","description":"Images with captions, in the case-study frame.","category":"data-display","client":false,"keys":{"by":"none"}},{"name":"FileInput","label":"File input","slug":"file-input","description":"A click-or-drop upload zone paired with a controlled file list showing size, progress, and per-file errors.","category":"forms","client":true,"pattern":"button"},{"name":"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.","category":"typography","client":false,"keys":{"by":"none"}},{"name":"HoverCard","label":"Hover card","slug":"hover-card","description":"Rich preview panel that opens from hover or focus, with interactive content and position options.","category":"overlays","client":true,"pattern":"tooltip"},{"name":"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":"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 or on its own, routed through the app's link component.","category":"typography","client":false,"pattern":"link"},{"name":"LinkList","label":"Link list","slug":"link-list","description":"Linked items with logo, label, and subtitle.","category":"data-display","client":false,"pattern":"link"},{"name":"List","label":"List","slug":"list","description":"Ordered and unordered lists marked with a disc, a number, a check, or an icon.","category":"typography","client":false,"keys":{"by":"none"}},{"name":"MapCallout","label":"Map callout","slug":"map-callout","description":"The annotation beside a map point: a name in capitals over monospace readout lines.","category":"maps","client":false,"keys":{"by":"none"}},{"name":"MapLegend","label":"Map legend","slug":"map-legend","description":"The corner block of a map: its name, what it shows, and the key to its markers.","category":"maps","client":false,"keys":{"by":"none"}},{"name":"MaskedInput","label":"Masked input","slug":"masked-input","description":"A field that writes its value into a shape as it is typed, with a sensitive mode that hides it.","category":"forms","client":true,"pattern":"textbox"},{"name":"MegaMenu","label":"Mega menu","slug":"mega-menu","description":"A wide navigation panel of icon rows with descriptions, beside an optional featured card.","category":"navigation","client":false,"pattern":"link"},{"name":"Mention","label":"Mention","slug":"mention","description":"An inline reference to an entity or a skill, with the menu that @ or / opens while typing and the tag it leaves in the message.","category":"ai","client":true,"keys":{"by":"component","note":"The list of suggestions is driven from the field it belongs to: the arrow keys move, Enter chooses and Escape closes."}},{"name":"MessageActions","label":"Message actions","slug":"message-actions","description":"An icon-button row for message-level actions like copy, retry, and feedback.","category":"ai","client":false,"partPatterns":[{"pattern":"button","part":"buttons"}]},{"name":"MessageCard","label":"Message card","slug":"message-card","description":"A structured rich-content card embedded in a chat message, with media, title, body, and actions.","category":"ai","client":false,"keys":{"by":"none"}},{"name":"Meter","label":"Meter","slug":"meter","description":"Level indicator for a known quantity, with a status-coloured fill and an optional value readout.","category":"feedback","client":false,"keys":{"by":"none"}},{"name":"ModelPicker","label":"Model picker","slug":"model-picker","description":"A model selector for chat surfaces, with per-model descriptions and an optional effort row.","category":"ai","client":true,"pattern":"combobox"},{"name":"Nav","label":"Nav","slug":"nav","description":"A legacy plain top bar of brand and page links, superseded by the site header and kept for existing consumers.","category":"navigation","client":false,"partPatterns":[{"pattern":"button","part":"items"}]},{"name":"NavList","label":"Nav list","slug":"nav-list","description":"Vertical list of navigation links for drawers and menus, with three indent levels and per-row expand toggles.","category":"navigation","client":true,"partPatterns":[{"pattern":"disclosure","part":"collapsible section"}]},{"name":"NotificationCenter","label":"Notification centre","slug":"notification-center","description":"A persistent notification inbox with unread count, filter tabs, and per-item actions.","category":"feedback","client":true,"pattern":"tabs"},{"name":"NumberInput","label":"Number input","slug":"number-input","description":"Numeric field with increment and decrement steppers and min/max clamping.","category":"forms","client":true,"partPatterns":[{"pattern":"textbox","part":"field"},{"pattern":"button","part":"step buttons"}]},{"name":"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 for long datasets, with ellipses, disabled end arrows, and a compact readout mode.","category":"navigation","client":true,"partPatterns":[{"pattern":"button","part":"page buttons"}]},{"name":"Panel","label":"Panel","slug":"panel","description":"The plain dashboard surface: a rounded container with padding and a gap, borderless unless it needs an edge.","category":"layout","client":false,"keys":{"by":"none"}},{"name":"PieChart","label":"Pie chart","slug":"pie-chart","description":"Proportional share of a whole as a pie or donut, with per-slice colours.","category":"charts","client":true,"folder":"Chart","recharts":true,"keys":{"by":"platform","note":"The chart takes focus and the arrow keys step through its data points, which is the charting engine’s own keyboard layer."}},{"name":"PinInput","label":"Pin input","slug":"pin-input","description":"Segmented one-time-code input with auto-advance, paste support, and completion callback.","category":"forms","client":true,"keys":{"by":"component","note":"Typing fills a cell and moves on, Backspace clears and steps back, and the arrow keys move between cells."}},{"name":"PixelAvatar","label":"Pixel avatar","slug":"pixel-avatar","description":"A generated character mark drawn from a name: the same name is always the same pixel creature in the same ink.","category":"data-display","client":false,"keys":{"by":"none"}},{"name":"Popover","label":"Popover","slug":"popover","description":"Contextual overlay panel with click and hover triggers, positioned relative to its anchor.","category":"overlays","client":true,"partPatterns":[{"pattern":"disclosure","part":"trigger of a click popover"}]},{"name":"ProgressBar","label":"Progress bar","slug":"progress-bar","description":"Horizontal bar indicating completion progress, with an optional percentage label.","category":"feedback","client":false,"keys":{"by":"none"},"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 or cards.","category":"ai","client":true,"partPatterns":[{"pattern":"button","part":"suggestions"}]},{"name":"Prose","label":"Prose","slug":"prose","description":"Token-styled typography for rendered markdown and rich agent output.","category":"ai","client":false,"partPatterns":[{"pattern":"link","part":"links"}]},{"name":"QuestionCard","label":"Question card","slug":"question-card","description":"An agent's question with answers to pick: one or several, a set asked a step at a time, kept as a record once answered.","category":"ai","client":true,"keys":{"by":"component","note":"The digits pick an option by its position, and Enter or Space choose the focused one. A lone question answers on the pick, and a set or a multiple-choice question on its button."}},{"name":"Quote","label":"Quote","slug":"quote","description":"Blockquotes and pull-quotes with attribution.","category":"data-display","client":false,"keys":{"by":"none"}},{"name":"RadarChart","label":"Radar chart","slug":"radar-chart","description":"Multi-axis comparison of series across categories on a radial grid.","category":"charts","client":true,"folder":"Chart","recharts":true,"keys":{"by":"platform","note":"The chart takes focus and the arrow keys step through its data points, which is the charting engine’s own keyboard layer."}},{"name":"RadialChart","label":"Radial chart","slug":"radial-chart","description":"Concentric progress rings for completion and KPI readouts.","category":"charts","client":true,"folder":"Chart","recharts":true,"keys":{"by":"platform","note":"The chart takes focus and the arrow keys step through its data points, which is the charting engine’s own keyboard layer."}},{"name":"RadioButton","label":"Radio button","slug":"radio-button","description":"Radio button and radio group with vertical and horizontal layouts, animated dot indicator.","category":"forms","client":true,"pattern":"radio-group","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 control with keyboard selection, a read-only mode, and a configurable icon.","category":"forms","client":true,"pattern":"radio-group"},{"name":"Reasoning","label":"Reasoning","slug":"reasoning","description":"A model's thinking, disclosed behind a one-line summary and collapsed once it finishes.","category":"ai","client":true,"partPatterns":[{"pattern":"disclosure","part":"collapsible section"}]},{"name":"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":"the label alone is enough to choose by"}]},{"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":"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":"SidebarPanel","label":"Sidebar panel","slug":"sidebar-panel","description":"Secondary navigation column listing one section's pages, with group headings and one level of accordion nesting.","category":"layout","client":true,"partPatterns":[{"pattern":"disclosure","part":"collapsible section"}]},{"name":"SignaturePad","label":"Signature pad","slug":"signature-pad","description":"A signature drawn with a pointer or typed, kept as SVG with a PNG on demand.","category":"forms","client":true,"partPatterns":[{"pattern":"tabs","part":"mode tabs"}]},{"name":"SiteHeader","label":"Site header","slug":"site-header","description":"A site's sticky top bar of section pills and mega menus, folding to a drawer when the pills no longer fit.","category":"navigation","client":true,"keys":{"by":"component","note":"Focusing a section opens its panel, Arrow Down moves into it, and Escape closes it."}},{"name":"Skeleton","label":"Skeleton","slug":"skeleton","description":"Placeholder loading indicators with text, circular, and rectangular variants.","category":"feedback","client":false,"keys":{"by":"none"}},{"name":"Slider","label":"Slider","slug":"slider","description":"Range input for selecting a value between a minimum and maximum, in default and compact sizes.","category":"forms","client":true,"keys":{"by":"platform","note":"A native range input: the browser’s own arrow, Home, End and Page keys move it."}},{"name":"SourceChip","label":"Source chip","slug":"source-chip","description":"A numbered citation pill linking a claim to its source.","category":"ai","client":true,"partPatterns":[{"pattern":"tooltip","part":"source preview"}]},{"name":"SourceTrail","label":"Source trail","slug":"source-trail","description":"The sources an agent opened while answering, as a collapsible list with per-item status.","category":"ai","client":true,"partPatterns":[{"pattern":"disclosure","part":"collapsible section"}]},{"name":"Sparkline","label":"Sparkline","slug":"sparkline","description":"Inline trend line for stats and table cells, drawn without axes or chrome.","category":"charts","client":false,"keys":{"by":"none"}},{"name":"Spinner","label":"Spinner","slug":"spinner","description":"Animated circular loading indicator in three sizes and a default, neutral or inherit tone.","category":"feedback","client":false,"keys":{"by":"none"},"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":"Swatch","label":"Swatch","slug":"swatch","description":"Clickable colour tile for preset palettes and picker triggers, with a theme-aware selection ring.","category":"forms","client":false,"pattern":"toggle-button"},{"name":"Table","label":"Table","slug":"table","description":"Data table with flexible cell content, striped rows, compact sizing, and support for icons, inputs, buttons, and interactive controls.","category":"data-display","client":false,"keys":{"by":"none"},"alternatives":[{"name":"DataTable","when":"the rows need sorting, filtering, 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."}},{"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":"ThreadPanel","label":"Thread panel","slug":"thread-panel","description":"The session-history rail for chat products: brand header, new-thread action, standing controls, projects, grouped detail-rich threads, and a profile footer.","category":"ai","client":false,"keys":{"by":"component","note":"The rail’s toggle is an ordinary button, and its threads are a list of buttons."}},{"name":"ThreadTabs","label":"Thread tabs","slug":"thread-tabs","description":"The strip of open chat sessions: pill tabs with status dots and hover-revealed close buttons, a new-tab action, and animated enter and exit.","category":"ai","client":true,"partPatterns":[{"pattern":"button","part":"tabs"}]},{"name":"TimePicker","label":"Time picker","slug":"time-picker","description":"Time-of-day field with a dropdown list of selectable times.","category":"forms","client":true,"pattern":"combobox"},{"name":"Timeline","label":"Timeline","slug":"timeline","description":"Ordered sequences: histories and steppers.","category":"data-display","client":false,"keys":{"by":"none"}},{"name":"Toast","label":"Toast","slug":"toast","description":"Temporary notification with status variants, auto-dismiss, and stacking via ToastProvider.","category":"feedback","client":true,"keys":{"by":"none"}},{"name":"ToggleGroup","label":"Toggle group","slug":"toggle-group","description":"A set of two-state buttons that can be toggled on or off, supporting text and icon items.","category":"actions","client":true,"pattern":"toggle-button"},{"name":"ToggleSwitch","label":"Toggle switch","slug":"toggle-switch","description":"Binary on/off toggle control with sliding thumb and check indicator, for settings that take effect immediately.","category":"forms","client":true,"pattern":"switch"},{"name":"ToolCall","label":"Tool call","slug":"tool-call","description":"The record of one tool invocation, with its arguments and result behind a disclosure.","category":"ai","client":true,"partPatterns":[{"pattern":"disclosure","part":"collapsible section"}]},{"name":"Toolbar","label":"Toolbar","slug":"toolbar","description":"A grouped strip of controls in one pill shell: clusters, separators, arrow-key focus, and a glass floating variant.","category":"layout","client":true,"pattern":"toolbar"},{"name":"Tooltip","label":"Tooltip","slug":"tooltip","description":"Contextual text label that appears on hover or focus with position and delay options.","category":"overlays","client":true,"pattern":"tooltip"},{"name":"TopAppBar","label":"Top app bar","slug":"top-app-bar","description":"Mobile screen header with a menu or back button, title, and actions, in Rift, iOS, or Android style, collapsing on scroll.","category":"navigation","client":true,"partPatterns":[{"pattern":"button","part":"buttons"}]},{"name":"TreeView","label":"Tree view","slug":"tree-view","description":"Collapsible hierarchy for files, folders, and nested structures.","category":"data-display","client":true,"pattern":"tree","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":"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":"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 and jumps between sections.","category":"navigation","client":true,"pattern":"link"},{"name":"AnimatedNumber","label":"Animated number","slug":"animated-number","description":"A number that counts to its value: count-up on mount, eased tweens on change, tabular digits that never jitter.","category":"data-display","client":true,"keys":{"by":"none"}},{"name":"AppLayout","label":"App layout","slug":"app-layout","description":"Full-page template pairing the collapsible App sidebar with a content area, in one of the three app shell modes: flush, floating or inset.","category":"layout","client":true,"keys":{"by":"component","note":"The rail is AppSidebar, which carries the layout’s keys. The layout adds none of its own.","see":"AppSidebar"}},{"name":"AppSidebar","label":"App sidebar","slug":"app-sidebar","description":"Collapsible navigation rail with accordion sub-items, a side panel for a third level, category headings, and a profile section.","category":"layout","client":true,"keys":{"by":"component","note":"Below the mobile breakpoint the rail is a modal drawer: opening moves focus inside, Tab stays inside, and Escape closes it."}},{"name":"AreaChart","label":"Area chart","slug":"area-chart","description":"Filled area chart for showing volume over time, with stacked and single-series variants.","category":"charts","client":true,"folder":"Chart","recharts":true,"keys":{"by":"platform","note":"The chart takes focus and the arrow keys step through its data points, which is the charting engine’s own keyboard layer."}},{"name":"ArtifactCard","label":"Artifact card","slug":"artifact-card","description":"The tile a chat leaves in the thread for something it made, a toggle that opens the artifact in its panel.","category":"ai","client":false,"pattern":"toggle-button"},{"name":"ArtifactPanel","label":"Artifact panel","slug":"artifact-panel","description":"The panel a chat opens beside the conversation to preview what it made: live content, a sandboxed page or a site, with the source a switch away.","category":"ai","client":true,"partPatterns":[{"pattern":"button","part":"buttons"}]},{"name":"AttachmentDropZone","label":"Attachment drop zone","slug":"attachment-drop-zone","description":"A wrapper that makes a whole surface a file drop target, with an outlined overlay while files hover over it.","category":"ai","client":true,"folder":"Attachment","keys":{"by":"none"}},{"name":"AttachmentGroup","label":"Attachment group","slug":"attachment-group","description":"The files on a sent message: one picture at its own shape, or a grid of tiles that collapses behind a count.","category":"ai","client":true,"folder":"Attachment","partPatterns":[{"pattern":"disclosure","part":"control that shows the rest of the files"}]},{"name":"AttachmentTile","label":"Attachment tile","slug":"attachment-tile","description":"One file as a square: a picture, a coloured mark for well-known formats, or a neutral badge, with upload states.","category":"ai","client":false,"folder":"Attachment","keys":{"by":"none"},"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":"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"}},{"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.","category":"data-display","client":true,"partPatterns":[{"pattern":"disclosure","part":"collapsible section"}]},{"name":"CodeDiff","label":"Code diff","slug":"code-diff","description":"Unified diff view for code changes, with added, removed, and context lines.","category":"ai","client":false,"keys":{"by":"platform","note":"A focusable scroll region: the browser scrolls it with the arrow, Page, Home and End keys."}},{"name":"ColorPicker","label":"Colour picker","slug":"color-picker","description":"Swatch trigger opening a saturation area, hue and alpha sliders, and a hex field; controlled or uncontrolled.","category":"forms","client":true,"keys":{"by":"component","note":"Opening moves focus onto the colour area, where the arrow keys move both axes, Home and End take saturation to its ends, and Escape closes the panel."}},{"name":"ComboChart","label":"Combo chart","slug":"combo-chart","description":"Bar and line series in one chart, with an optional second y-axis for pairs in different units, like spend and ROAS.","category":"charts","client":true,"folder":"Chart","recharts":true,"keys":{"by":"platform","note":"The chart takes focus and the arrow keys step through its data points, which is the charting engine’s own keyboard layer."}},{"name":"Combobox","label":"Combobox","slug":"combobox","description":"A filterable select that narrows options as the user types, with multi-select chips, grouping, and async loading.","category":"forms","client":true,"pattern":"combobox","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":"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 modal panel that slides in from any side, for filter panels, detail views, and mobile navigation.","category":"overlays","client":true,"pattern":"dialog"},{"name":"Dropdown","label":"Dropdown","slug":"dropdown","description":"Custom select dropdown with keyboard navigation, disabled options, and error states.","category":"forms","client":true,"pattern":"combobox","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":"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.","category":"data-display","client":false,"keys":{"by":"none"}},{"name":"FileInput","label":"File input","slug":"file-input","description":"A click-or-drop upload zone paired with a controlled file list showing size, progress, and per-file errors.","category":"forms","client":true,"pattern":"button"},{"name":"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.","category":"typography","client":false,"keys":{"by":"none"}},{"name":"HoverCard","label":"Hover card","slug":"hover-card","description":"Rich preview panel that opens from hover or focus, with interactive content and position options.","category":"overlays","client":true,"pattern":"tooltip"},{"name":"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":"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 or on its own, routed through the app's link component.","category":"typography","client":false,"pattern":"link"},{"name":"LinkList","label":"Link list","slug":"link-list","description":"Linked items with logo, label, and subtitle.","category":"data-display","client":false,"pattern":"link"},{"name":"List","label":"List","slug":"list","description":"Ordered and unordered lists marked with a disc, a number, a check, or an icon.","category":"typography","client":false,"keys":{"by":"none"}},{"name":"MapCallout","label":"Map callout","slug":"map-callout","description":"The annotation beside a map point: a name in capitals over monospace readout lines.","category":"maps","client":false,"keys":{"by":"none"}},{"name":"MapLegend","label":"Map legend","slug":"map-legend","description":"The corner block of a map: its name, what it shows, and the key to its markers.","category":"maps","client":false,"keys":{"by":"none"}},{"name":"MaskedInput","label":"Masked input","slug":"masked-input","description":"A field that writes its value into a shape as it is typed, with a sensitive mode that hides it.","category":"forms","client":true,"pattern":"textbox"},{"name":"MegaMenu","label":"Mega menu","slug":"mega-menu","description":"A wide navigation panel of icon rows with descriptions, beside an optional featured card.","category":"navigation","client":false,"pattern":"link"},{"name":"Mention","label":"Mention","slug":"mention","description":"An inline reference to an entity or a skill, with the menu that @ or / opens while typing and the tag it leaves in the message.","category":"ai","client":true,"keys":{"by":"component","note":"The list of suggestions is driven from the field it belongs to: the arrow keys move, Enter chooses and Escape closes."}},{"name":"MessageActions","label":"Message actions","slug":"message-actions","description":"An icon-button row for message-level actions like copy, retry, and feedback.","category":"ai","client":false,"partPatterns":[{"pattern":"button","part":"buttons"}]},{"name":"MessageCard","label":"Message card","slug":"message-card","description":"A structured rich-content card embedded in a chat message, with media, title, body, and actions.","category":"ai","client":false,"keys":{"by":"none"}},{"name":"Meter","label":"Meter","slug":"meter","description":"Level indicator for a known quantity, with a status-coloured fill and an optional value readout.","category":"feedback","client":false,"keys":{"by":"none"}},{"name":"ModelPicker","label":"Model picker","slug":"model-picker","description":"A model selector for chat surfaces, with per-model descriptions and an optional effort row.","category":"ai","client":true,"pattern":"combobox"},{"name":"Nav","label":"Nav","slug":"nav","description":"A legacy plain top bar of brand and page links, superseded by the site header and kept for existing consumers.","category":"navigation","client":false,"partPatterns":[{"pattern":"button","part":"items"}]},{"name":"NavList","label":"Nav list","slug":"nav-list","description":"Vertical list of navigation links for drawers and menus, with three indent levels and per-row expand toggles.","category":"navigation","client":true,"partPatterns":[{"pattern":"disclosure","part":"collapsible section"}]},{"name":"NotificationCenter","label":"Notification centre","slug":"notification-center","description":"A persistent notification inbox with unread count, filter tabs, and per-item actions.","category":"feedback","client":true,"pattern":"tabs"},{"name":"NumberInput","label":"Number input","slug":"number-input","description":"Numeric field with increment and decrement steppers and min/max clamping.","category":"forms","client":true,"partPatterns":[{"pattern":"textbox","part":"field"},{"pattern":"button","part":"step buttons"}]},{"name":"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 for long datasets, with ellipses, disabled end arrows, and a compact readout mode.","category":"navigation","client":true,"partPatterns":[{"pattern":"button","part":"page buttons"}]},{"name":"Panel","label":"Panel","slug":"panel","description":"The plain dashboard surface: a rounded container with padding and a gap, borderless unless it needs an edge.","category":"layout","client":false,"keys":{"by":"none"}},{"name":"PieChart","label":"Pie chart","slug":"pie-chart","description":"Proportional share of a whole as a pie or donut, with per-slice colours.","category":"charts","client":true,"folder":"Chart","recharts":true,"keys":{"by":"platform","note":"The chart takes focus and the arrow keys step through its data points, which is the charting engine’s own keyboard layer."}},{"name":"PinInput","label":"Pin input","slug":"pin-input","description":"Segmented one-time-code input with auto-advance, paste support, and completion callback.","category":"forms","client":true,"keys":{"by":"component","note":"Typing fills a cell and moves on, Backspace clears and steps back, and the arrow keys move between cells."}},{"name":"PixelAvatar","label":"Pixel avatar","slug":"pixel-avatar","description":"A generated character mark drawn from a name: the same name is always the same pixel creature in the same ink.","category":"data-display","client":false,"keys":{"by":"none"}},{"name":"Popover","label":"Popover","slug":"popover","description":"Contextual overlay panel with click and hover triggers, positioned relative to its anchor.","category":"overlays","client":true,"partPatterns":[{"pattern":"disclosure","part":"trigger of a click popover"}]},{"name":"ProgressBar","label":"Progress bar","slug":"progress-bar","description":"Horizontal bar indicating completion progress, with an optional percentage label.","category":"feedback","client":false,"keys":{"by":"none"},"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 or cards.","category":"ai","client":true,"partPatterns":[{"pattern":"button","part":"suggestions"}]},{"name":"Prose","label":"Prose","slug":"prose","description":"Token-styled typography for rendered markdown and rich agent output.","category":"ai","client":false,"partPatterns":[{"pattern":"link","part":"links"}]},{"name":"QuestionCard","label":"Question card","slug":"question-card","description":"An agent's question with answers to pick: one or several, a set asked a step at a time, kept as a record once answered.","category":"ai","client":true,"keys":{"by":"component","note":"The digits pick an option by its position, and Enter or Space choose the focused one. A lone question answers on the pick, and a set or a multiple-choice question on its button."}},{"name":"Quote","label":"Quote","slug":"quote","description":"Blockquotes and pull-quotes with attribution.","category":"data-display","client":false,"keys":{"by":"none"}},{"name":"RadarChart","label":"Radar chart","slug":"radar-chart","description":"Multi-axis comparison of series across categories on a radial grid.","category":"charts","client":true,"folder":"Chart","recharts":true,"keys":{"by":"platform","note":"The chart takes focus and the arrow keys step through its data points, which is the charting engine’s own keyboard layer."}},{"name":"RadialChart","label":"Radial chart","slug":"radial-chart","description":"Concentric progress rings for completion and KPI readouts.","category":"charts","client":true,"folder":"Chart","recharts":true,"keys":{"by":"platform","note":"The chart takes focus and the arrow keys step through its data points, which is the charting engine’s own keyboard layer."}},{"name":"RadioButton","label":"Radio button","slug":"radio-button","description":"Radio button and radio group with vertical and horizontal layouts, animated dot indicator.","category":"forms","client":true,"pattern":"radio-group","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 control with keyboard selection, a read-only mode, and a configurable icon.","category":"forms","client":true,"pattern":"radio-group"},{"name":"Reasoning","label":"Reasoning","slug":"reasoning","description":"A model's thinking, disclosed behind a one-line summary and collapsed once it finishes.","category":"ai","client":true,"partPatterns":[{"pattern":"disclosure","part":"collapsible section"}]},{"name":"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":"the label alone is enough to choose by"}]},{"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":"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":"SidebarPanel","label":"Sidebar panel","slug":"sidebar-panel","description":"Secondary navigation column listing one section's pages, with group headings and one level of accordion nesting.","category":"layout","client":true,"partPatterns":[{"pattern":"disclosure","part":"collapsible section"}]},{"name":"SignaturePad","label":"Signature pad","slug":"signature-pad","description":"A signature drawn with a pointer or typed, kept as SVG with a PNG on demand.","category":"forms","client":true,"partPatterns":[{"pattern":"tabs","part":"mode tabs"}]},{"name":"SiteHeader","label":"Site header","slug":"site-header","description":"A site's sticky top bar of section pills and mega menus, folding to a drawer when the pills no longer fit.","category":"navigation","client":true,"keys":{"by":"component","note":"Focusing a section opens its panel, Arrow Down moves into it, and Escape closes it."}},{"name":"Skeleton","label":"Skeleton","slug":"skeleton","description":"Placeholder loading indicators with text, circular, and rectangular variants.","category":"feedback","client":false,"keys":{"by":"none"}},{"name":"Slider","label":"Slider","slug":"slider","description":"Range input for selecting a value between a minimum and maximum, in default and compact sizes.","category":"forms","client":true,"keys":{"by":"platform","note":"A native range input: the browser’s own arrow, Home, End and Page keys move it."}},{"name":"SourceChip","label":"Source chip","slug":"source-chip","description":"A numbered citation pill linking a claim to its source.","category":"ai","client":true,"partPatterns":[{"pattern":"tooltip","part":"source preview"}]},{"name":"SourceTrail","label":"Source trail","slug":"source-trail","description":"The sources an agent opened while answering, as a collapsible list with per-item status.","category":"ai","client":true,"partPatterns":[{"pattern":"disclosure","part":"collapsible section"}]},{"name":"Sparkline","label":"Sparkline","slug":"sparkline","description":"Inline trend line for stats and table cells, drawn without axes or chrome.","category":"charts","client":false,"keys":{"by":"none"}},{"name":"Spinner","label":"Spinner","slug":"spinner","description":"Animated circular loading indicator in three sizes and a default, neutral or inherit tone.","category":"feedback","client":false,"keys":{"by":"none"},"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":"Swatch","label":"Swatch","slug":"swatch","description":"Clickable colour tile for preset palettes and picker triggers, with a theme-aware selection ring.","category":"forms","client":false,"pattern":"toggle-button"},{"name":"Table","label":"Table","slug":"table","description":"Data table with flexible cell content, striped rows, compact sizing, and support for icons, inputs, buttons, and interactive controls.","category":"data-display","client":false,"keys":{"by":"none"},"alternatives":[{"name":"DataTable","when":"the rows need sorting, filtering, 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."}},{"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":"ThreadPanel","label":"Thread panel","slug":"thread-panel","description":"The session-history rail for chat products: brand header, new-thread action, standing controls, projects, grouped detail-rich threads, and a profile footer.","category":"ai","client":false,"keys":{"by":"component","note":"The rail’s toggle is an ordinary button, and its threads are a list of buttons."}},{"name":"ThreadTabs","label":"Thread tabs","slug":"thread-tabs","description":"The strip of open chat sessions: pill tabs with status dots and hover-revealed close buttons, a new-tab action, and animated enter and exit.","category":"ai","client":true,"partPatterns":[{"pattern":"button","part":"tabs"}]},{"name":"TimePicker","label":"Time picker","slug":"time-picker","description":"Time-of-day field with a dropdown list of selectable times.","category":"forms","client":true,"pattern":"combobox"},{"name":"Timeline","label":"Timeline","slug":"timeline","description":"Ordered sequences: histories and steppers.","category":"data-display","client":false,"keys":{"by":"none"}},{"name":"Toast","label":"Toast","slug":"toast","description":"Temporary notification with status variants, auto-dismiss, and stacking via ToastProvider.","category":"feedback","client":true,"keys":{"by":"none"}},{"name":"ToggleGroup","label":"Toggle group","slug":"toggle-group","description":"A set of two-state buttons that can be toggled on or off, supporting text and icon items.","category":"actions","client":true,"pattern":"toggle-button"},{"name":"ToggleSwitch","label":"Toggle switch","slug":"toggle-switch","description":"Binary on/off toggle control with sliding thumb and check indicator, for settings that take effect immediately.","category":"forms","client":true,"pattern":"switch"},{"name":"ToolCall","label":"Tool call","slug":"tool-call","description":"The record of one tool invocation, with its arguments and result behind a disclosure.","category":"ai","client":true,"partPatterns":[{"pattern":"disclosure","part":"collapsible section"}]},{"name":"Toolbar","label":"Toolbar","slug":"toolbar","description":"A grouped strip of controls in one pill shell: clusters, separators, arrow-key focus, and a glass floating variant.","category":"layout","client":true,"pattern":"toolbar"},{"name":"Tooltip","label":"Tooltip","slug":"tooltip","description":"Contextual text label that appears on hover or focus with position and delay options.","category":"overlays","client":true,"pattern":"tooltip"},{"name":"TopAppBar","label":"Top app bar","slug":"top-app-bar","description":"Mobile screen header with a menu or back button, title, and actions, in Rift, iOS, or Android style, collapsing on scroll.","category":"navigation","client":true,"partPatterns":[{"pattern":"button","part":"buttons"}]},{"name":"TreeView","label":"Tree view","slug":"tree-view","description":"Collapsible hierarchy for files, folders, and nested structures.","category":"data-display","client":true,"pattern":"tree","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."}}]`);
|
|
3
3
|
const registry = {
|
|
4
4
|
categories,
|
|
5
5
|
components
|
package/index.d.ts
CHANGED
|
@@ -66,6 +66,7 @@ export * from './components/DateInput/DateInput';
|
|
|
66
66
|
export * from './components/DatePicker/DatePicker';
|
|
67
67
|
export * from './components/DateRangePicker/DateRangePicker';
|
|
68
68
|
export * from './components/Deadline/Deadline';
|
|
69
|
+
export * from './components/DecisionRow/DecisionRow';
|
|
69
70
|
export * from './components/DescriptionList/DescriptionList';
|
|
70
71
|
export * from './components/Dialog/Dialog';
|
|
71
72
|
export * from './components/Divider/Divider';
|
|
@@ -93,6 +94,7 @@ export * from './components/Grid/Grid';
|
|
|
93
94
|
export * from './components/Heading/Heading';
|
|
94
95
|
export * from './components/HoverCard/HoverCard';
|
|
95
96
|
export * from './components/Icon/Icon';
|
|
97
|
+
export * from './components/IconButton/IconButton';
|
|
96
98
|
export * from './components/ImageCompare/ImageCompare';
|
|
97
99
|
export * from './components/Input/Input';
|
|
98
100
|
export * from './components/Inspector/InspectorColorPicker';
|
package/index.js
CHANGED
|
@@ -61,6 +61,7 @@ import { DateInput } from "./components/DateInput/DateInput.js";
|
|
|
61
61
|
import { DatePicker } from "./components/DatePicker/DatePicker.js";
|
|
62
62
|
import { DateRangePicker } from "./components/DateRangePicker/DateRangePicker.js";
|
|
63
63
|
import { Deadline } from "./components/Deadline/Deadline.js";
|
|
64
|
+
import { DecisionRow } from "./components/DecisionRow/DecisionRow.js";
|
|
64
65
|
import { DescriptionList, DescriptionListItem } from "./components/DescriptionList/DescriptionList.js";
|
|
65
66
|
import { Dialog } from "./components/Dialog/Dialog.js";
|
|
66
67
|
import { Divider } from "./components/Divider/Divider.js";
|
|
@@ -88,6 +89,7 @@ import { Grid } from "./components/Grid/Grid.js";
|
|
|
88
89
|
import { Heading } from "./components/Heading/Heading.js";
|
|
89
90
|
import { HoverCard } from "./components/HoverCard/HoverCard.js";
|
|
90
91
|
import { Icon } from "./components/Icon/Icon.js";
|
|
92
|
+
import { IconButton } from "./components/IconButton/IconButton.js";
|
|
91
93
|
import { ImageCompare } from "./components/ImageCompare/ImageCompare.js";
|
|
92
94
|
import { Input } from "./components/Input/Input.js";
|
|
93
95
|
import { InspectorColorPicker } from "./components/Inspector/InspectorColorPicker.js";
|
|
@@ -198,6 +200,7 @@ import { deadlineStatus } from "./components/Deadline/deadlineStatus.js";
|
|
|
198
200
|
import { distinctPixelInks, pixelAvatarInk } from "./components/PixelAvatar/pixelInks.js";
|
|
199
201
|
import { fieldErrorsFrom } from "./components/ErrorSummary/fieldErrors.js";
|
|
200
202
|
import { filterMentionItems, getMentionQuery, insertMention, mentionListboxId, mentionOptionId, splitMentions } from "./components/Mention/mentions.js";
|
|
203
|
+
import { periodColumns, periodsOf, totalOf } from "./components/DataTable/periodColumns.js";
|
|
201
204
|
import { revokeAttachmentUrls, useAttachments } from "./components/Attachment/useAttachments.js";
|
|
202
205
|
import { defaultsFor } from "./components/ShaderScene/types.js";
|
|
203
206
|
import { bakeThumbnails } from "./components/ShaderScene/renderer.js";
|
|
@@ -271,6 +274,7 @@ export {
|
|
|
271
274
|
DatePicker,
|
|
272
275
|
DateRangePicker,
|
|
273
276
|
Deadline,
|
|
277
|
+
DecisionRow,
|
|
274
278
|
DescriptionList,
|
|
275
279
|
DescriptionListItem,
|
|
276
280
|
Dialog,
|
|
@@ -302,6 +306,7 @@ export {
|
|
|
302
306
|
Heading,
|
|
303
307
|
HoverCard,
|
|
304
308
|
Icon,
|
|
309
|
+
IconButton,
|
|
305
310
|
ImageCompare,
|
|
306
311
|
Input,
|
|
307
312
|
InspectorColorPicker,
|
|
@@ -446,6 +451,8 @@ export {
|
|
|
446
451
|
mentionListboxId,
|
|
447
452
|
mentionOptionId,
|
|
448
453
|
parseUnifiedDiff,
|
|
454
|
+
periodColumns,
|
|
455
|
+
periodsOf,
|
|
449
456
|
pixelAvatarInk,
|
|
450
457
|
reconcileDataTableView,
|
|
451
458
|
revokeAttachmentUrls,
|
|
@@ -456,6 +463,7 @@ export {
|
|
|
456
463
|
strokePath,
|
|
457
464
|
svgToPng,
|
|
458
465
|
tokenRegistry,
|
|
466
|
+
totalOf,
|
|
459
467
|
useAttachments,
|
|
460
468
|
useColorMode,
|
|
461
469
|
useField,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rift-ds",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.32.0",
|
|
4
4
|
"description": "An AI-ready React design system: accessible components on composable tokens, light/dark theming, and CSS-variable overrides.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Robert Ritacca",
|
|
@@ -85,6 +85,10 @@
|
|
|
85
85
|
"types": "./behaviors/shortcuts.d.ts",
|
|
86
86
|
"import": "./behaviors/shortcuts.js"
|
|
87
87
|
},
|
|
88
|
+
"./behaviors/deferComponent": {
|
|
89
|
+
"types": "./behaviors/deferComponent.d.ts",
|
|
90
|
+
"import": "./behaviors/deferComponent.js"
|
|
91
|
+
},
|
|
88
92
|
"./chat": {
|
|
89
93
|
"types": "./chat/index.d.ts",
|
|
90
94
|
"import": "./chat/index.js"
|
|
@@ -143,7 +147,7 @@
|
|
|
143
147
|
"@tanstack/react-virtual": "^3.14.15"
|
|
144
148
|
},
|
|
145
149
|
"peerDependencies": {
|
|
146
|
-
"@anthropic-ai/sdk": "^0.116.0",
|
|
150
|
+
"@anthropic-ai/sdk": "^0.116.0 || ^1.0.0",
|
|
147
151
|
"@upstash/ratelimit": "^2.0.8",
|
|
148
152
|
"@upstash/redis": "^1.38.2",
|
|
149
153
|
"react": "^19.0.0",
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* AUTO-GENERATED. Do not edit.
|
|
3
|
+
* Theme preset "contrast" under its shown name, Blueprint.
|
|
4
|
+
* The same stylesheet as contrast.css, which it imports.
|
|
5
|
+
* Regenerate: node scripts/generate-preset-stylesheets.mjs
|
|
6
|
+
* Import after tokens.css, then set data-brand="blueprint" (or "contrast") on <html>.
|
|
7
|
+
*/
|
|
8
|
+
@layer rift.tokens, rift.preset;
|
|
9
|
+
@import url("./contrast.css");
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* AUTO-GENERATED. Do not edit.
|
|
3
|
+
* Theme preset "pink" under its shown name, Bubblegum.
|
|
4
|
+
* The same stylesheet as pink.css, which it imports.
|
|
5
|
+
* Regenerate: node scripts/generate-preset-stylesheets.mjs
|
|
6
|
+
* Import after tokens.css, then set data-brand="bubblegum" (or "pink") on <html>.
|
|
7
|
+
*/
|
|
8
|
+
@layer rift.tokens, rift.preset;
|
|
9
|
+
@import url("./pink.css");
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Source of truth: website/src/lib/theme/presets.ts (THEME_PRESETS + presetOverrides).
|
|
5
5
|
* Fonts: self-hosted from src/fonts/presets/ (scripts/sync-preset-fonts.mjs; OFL-1.1).
|
|
6
6
|
* Regenerate: node scripts/generate-preset-stylesheets.mjs
|
|
7
|
-
* Import after tokens.css, then set data-brand="contrast" on <html
|
|
7
|
+
* Import after tokens.css, then set data-brand="contrast" on <html> (or "blueprint", its shown name, which blueprint.css imports under).
|
|
8
8
|
* Layered (rift.preset): any unlayered rule of yours outranks it.
|
|
9
9
|
*/
|
|
10
10
|
@layer rift.tokens, rift.preset;
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
@layer rift.preset {
|
|
31
|
-
html[data-brand="contrast"] {
|
|
31
|
+
html[data-brand="contrast"], html[data-brand="blueprint"] {
|
|
32
32
|
--color-action-primary-bg: var(--primitive-blue-07);
|
|
33
33
|
--color-action-primary-bg-active: var(--primitive-blue-09);
|
|
34
34
|
--color-action-primary-bg-hover: var(--primitive-blue-08);
|
|
@@ -174,7 +174,7 @@
|
|
|
174
174
|
--primitive-yellow-11: #372B0A;
|
|
175
175
|
}
|
|
176
176
|
|
|
177
|
-
html[data-brand="contrast"][data-theme="dark"] {
|
|
177
|
+
html[data-brand="contrast"][data-theme="dark"], html[data-brand="blueprint"][data-theme="dark"] {
|
|
178
178
|
--color-action-primary-border: var(--primitive-blue-07);
|
|
179
179
|
--color-action-primary-border-secondary: var(--primitive-blue-08);
|
|
180
180
|
--color-action-primary-text-active: var(--primitive-blue-02);
|
package/tokens/presets/coral.css
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Source of truth: website/src/lib/theme/presets.ts (THEME_PRESETS + presetOverrides).
|
|
5
5
|
* Fonts: self-hosted from src/fonts/presets/ (scripts/sync-preset-fonts.mjs; OFL-1.1).
|
|
6
6
|
* Regenerate: node scripts/generate-preset-stylesheets.mjs
|
|
7
|
-
* Import after tokens.css, then set data-brand="coral" on <html
|
|
7
|
+
* Import after tokens.css, then set data-brand="coral" on <html> (or "getaway", its shown name, which getaway.css imports under).
|
|
8
8
|
* Layered (rift.preset): any unlayered rule of yours outranks it.
|
|
9
9
|
*/
|
|
10
10
|
@layer rift.tokens, rift.preset;
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
@layer rift.preset {
|
|
121
|
-
html[data-brand="coral"] {
|
|
121
|
+
html[data-brand="coral"], html[data-brand="getaway"] {
|
|
122
122
|
--color-action-primary-bg: var(--primitive-red-07);
|
|
123
123
|
--color-action-primary-bg-active: var(--primitive-red-09);
|
|
124
124
|
--color-action-primary-bg-hover: var(--primitive-red-08);
|
|
@@ -246,7 +246,7 @@
|
|
|
246
246
|
--shadow-table-pinned: 0 0 16px rgba(0, 0, 0, 0.12);
|
|
247
247
|
}
|
|
248
248
|
|
|
249
|
-
html[data-brand="coral"][data-theme="dark"] {
|
|
249
|
+
html[data-brand="coral"][data-theme="dark"], html[data-brand="getaway"][data-theme="dark"] {
|
|
250
250
|
--color-action-primary-border: var(--primitive-red-07);
|
|
251
251
|
--color-action-primary-border-secondary: var(--primitive-red-08);
|
|
252
252
|
--color-action-primary-text-active: var(--primitive-red-01);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* AUTO-GENERATED. Do not edit.
|
|
3
|
+
* Theme preset "warm" under its shown name, Ember.
|
|
4
|
+
* The same stylesheet as warm.css, which it imports.
|
|
5
|
+
* Regenerate: node scripts/generate-preset-stylesheets.mjs
|
|
6
|
+
* Import after tokens.css, then set data-brand="ember" (or "warm") on <html>.
|
|
7
|
+
*/
|
|
8
|
+
@layer rift.tokens, rift.preset;
|
|
9
|
+
@import url("./warm.css");
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* AUTO-GENERATED. Do not edit.
|
|
3
|
+
* Theme preset "coral" under its shown name, Getaway.
|
|
4
|
+
* The same stylesheet as coral.css, which it imports.
|
|
5
|
+
* Regenerate: node scripts/generate-preset-stylesheets.mjs
|
|
6
|
+
* Import after tokens.css, then set data-brand="getaway" (or "coral") on <html>.
|
|
7
|
+
*/
|
|
8
|
+
@layer rift.tokens, rift.preset;
|
|
9
|
+
@import url("./coral.css");
|