# Sheen full component context
Generated from sheen.manifest.json. Do not edit by hand.
Install solid-js@1.9.19 as the shared application core and configure sheenRuntime() from @gemologic/sheen/vite in Vite/SolidStart. Sheen ships its patched browser renderer and overlay backend; SSR retains the peer renderer and matching request storage. Consumers need no dependency patches or Kobalte dependency. Keep the setup plugin enabled. Other bundlers require an explicitly qualified adapter.
## @gemologic/sheen-charts
### AreaChart
Renders bounded SVG area series with honest NaN gaps and optional positive/negative stacking.
Category: data
Props:
- `curve: "linear"|"step"` (optional; default "linear"). Honest linear or step-after interpolation.
- `stacked: boolean` (optional; default false). Stacks positive and negative values independently.
- `label: string` (required). Required visible and accessible chart name.
- `summary: string` (required). Required narrative interpretation.
- `xLabel: string` (required). Required domain-axis and native-table label.
- `series: readonly ChartSeries[]` (required). Validated series definitions with semantic colors and optional non-color line encodings.
- `data: ChartData` (required). Equal-length Float64 columns; NaN terminates line and fill.
- `x: ChartTimeAxis|ChartNumberAxis` (required). Time or numeric domain formatting.
- `y: ChartValueAxis` (optional). Shared value formatting and optional zero baseline.
- `height: number` (required). Reserved SVG height, at least 120 CSS pixels.
- `legend: ChartLegend` (optional; default "inline"). Inline, stacked, or hidden series key.
- `tooltip: boolean` (optional; default true). Whether single-tab-stop pointer and keyboard inspection is enabled.
- `annotations: readonly ChartAnnotation[]` (optional). Optional labeled domain positions.
- `empty: JSX.Element` (optional). Optional empty-state content.
- `loading: boolean` (optional; default false). Marks retained accepted content busy.
- `table: ChartTableOptions` (optional). Native-table disclosure label and bounded page size.
- `class: string` (optional). Optional class appended to the figure.
Accessibility role: labeled SVG image with visible narrative and native table disclosure
Keyboard: Focus the plot and use Left/Right, Home/End, and Escape to inspect samples., Use the native view-as-table disclosure for every exact sample.
Tokens: `--sheen-chart-1`, `--sheen-chart-2`, `--sheen-chart-grid`, `--sheen-chart-axis`, `--sheen-chart-line-width`, `--sheen-color-fg`, `--sheen-color-fg-muted`
Do:
- Use stacking only when totals and component contribution are meaningful.
Do not:
- Do not interpolate or fill across NaN gaps.
Example, Traffic volume:
```tsx
const trafficSeries = defineSeries([{ key: 'read', label: 'Reads', color: 'chart-1' }, { key: 'write', label: 'Writes', color: 'chart-2' }]);
const trafficData = { t: new Float64Array([1, 2, 3]), read: new Float64Array([20, 24, 22]), write: new Float64Array([8, Number.NaN, 12]) };
```
### BarChart
Renders bounded grouped or stacked categorical bars in vertical or horizontal responsive SVG layouts.
Category: data
Props:
- `label: string` (required). Required visible and accessible chart name.
- `summary: string` (required). Required narrative interpretation.
- `categoryLabel: string` (required). Required label for the categorical axis and table column.
- `valueLabel: string` (required). Required label for the quantitative axis.
- `series: readonly ChartSeries[]` (required). Validated series definitions and semantic colors.
- `data: ChartCategoricalData` (required). Unique category labels plus equal-length Float64 value columns.
- `y: ChartValueAxis` (optional). Value formatting; bars always retain an honest zero baseline.
- `height: number` (required). Reserved SVG height, at least 160 CSS pixels.
- `legend: ChartLegend` (optional; default "inline"). Inline, stacked, or hidden series key.
- `tooltip: boolean` (optional; default true). Whether single-tab-stop pointer and keyboard category inspection is enabled.
- `empty: JSX.Element` (optional). Optional empty-state content.
- `loading: boolean` (optional; default false). Marks retained accepted content busy.
- `table: ChartTableOptions` (optional). Native-table disclosure label and bounded page size.
- `class: string` (optional). Optional class appended to the figure.
- `layout: "vertical"|"horizontal"` (optional; default "vertical"). Vertical columns or horizontal bars.
- `arrangement: "stacked"|"grouped"` (optional; default "grouped"). Bars grouped beside each other or stacked by sign.
Accessibility role: labeled SVG image with visible narrative and native categorical table disclosure
Keyboard: Focus the plot and use Left/Right, Home/End, and Escape to inspect categories., Use the native view-as-table disclosure for every exact category and value.
Tokens: `--sheen-chart-1`, `--sheen-chart-2`, `--sheen-chart-grid`, `--sheen-chart-axis`, `--sheen-color-fg`, `--sheen-color-fg-muted`
Do:
- Use unique explicit category labels and preserve missing bars as NaN.
Do not:
- Do not truncate the quantitative axis away from zero or exceed 2,000 SVG marks.
Example, Revenue by region:
```tsx
const revenueSeries = defineSeries([{ key: 'current', label: 'Current', color: 'chart-1' }, { key: 'previous', label: 'Previous', color: 'chart-3' }]);
const revenueData = { categories: ['North', 'South', 'West'], values: { current: new Float64Array([42, 36, 51]), previous: new Float64Array([38, Number.NaN, 46]) } };
```
### BarSparkline
Renders a dependency-free inline bar trend anchored at zero, leaving empty slots for NaN values.
Category: data
Props:
- `values: Float64Array` (required). Float64 values in display order; NaN leaves an empty bar slot, and negative values extend below zero.
- `label: string` (required). Required accessible description of the trend.
- `color: ChartColorToken` (optional; default "chart-1"). Semantic chart, market, accent, foreground, or muted token name.
- `width: number` (optional; default 120). Positive finite intrinsic and view-box width.
- `height: number` (optional; default 28). Positive finite intrinsic and view-box height.
Accessibility role: img
Keyboard: native behavior
Tokens: `--sheen-chart-1`, `--sheen-color-market-up`, `--sheen-color-market-down`, `--sheen-color-market-flat`, `--sheen-color-accent`
Do:
- Use for discrete per-period counts, and Sparkline for continuous trends.
- Describe the trend in label.
Do not:
- Do not coerce gaps to zero or use a sparkline as the only representation of important data.
Example, Daily deploys with a missing day:
```tsx
const deploys = new Float64Array([3, 5, 2, Number.NaN, 6, 4, 7]);
```
### ChartDataTable
Provides a bounded, localized native-table alternative and narrative summary for a chart.
Category: data
Props:
- `label: string` (required). Required accessible table caption naming the chart data.
- `summary: string` (required). Required narrative description shown when the table disclosure opens.
- `xLabel: string` (required). Required header for the time or numeric domain column.
- `series: readonly ChartSeries[]` (required). Validated series definitions used as column headers.
- `data: ChartData` (required). Validated equal-length Float64 columns; NaN cells remain explicit gaps.
- `x: ChartTimeAxis|ChartNumberAxis` (required). Time or numeric domain formatting; omitted timezones deterministically use UTC.
- `y: ChartValueAxis` (optional). Shared value formatting for every series column.
- `pageSize: number` (optional; default 50). Rows mounted per table page, from 1 through 200.
- `viewLabel: string` (optional). Optional localized disclosure label; context messages supply the default.
- `loading: boolean` (optional; default false). Marks the retained accepted table busy without replacing its rows.
- `class: string` (optional). Optional class appended to the disclosure root.
Accessibility role: native details disclosure containing a captioned table
Keyboard: Enter or Space toggles the native summary., Pagination uses native button order.
Tokens: `--sheen-color-fg`, `--sheen-color-fg-muted`, `--sheen-color-border`, `--sheen-color-bg-subtle`
Do:
- Give every chart a concise narrative summary and preserve gaps as missing values.
- Keep page sizes bounded even though chart data is already in memory.
Do not:
- Do not mount an entire high-volume time series as table rows.
- Do not format dates with the browser's implicit timezone or locale.
Example, Latency data alternative:
```tsx
const latencySeries = defineSeries([{ key: 'p99', label: 'p99 latency', color: 'chart-3' }]);
const latencyData = { t: new Float64Array([1704067200000, 1704067260000]), p99: new Float64Array([42, Number.NaN]) };
```
### DonutChart
Renders up to eight parts of one whole as a responsive SVG donut or pie with a visible center total, legend, and native table.
Category: data
Props:
- `label: string` (required). Required visible and accessible chart name.
- `summary: string` (required). Required narrative interpretation.
- `categoryLabel: string` (required). Required label for the part column in the native table.
- `valueLabel: string` (required). Required label for part values, the default center caption, and the table value column.
- `series: readonly ChartSeries[]` (required). One validated definition per part, drawn clockwise from twelve o'clock in declaration order; at most eight.
- `values: Float64Array` (required). Float64 value per series in series order; non-negative or NaN for a missing part.
- `format: ChartNumberFormat` (optional; default "number"). Value formatting for the center total, tooltip, and table.
- `innerRadius: number` (optional; default 0.62). Hole radius as a fraction of the outer radius; 0 renders a pie without a center slot.
- `center: JSX.Element` (optional). Optional content that replaces the default visible total in the donut hole.
- `height: number` (required). Reserved SVG height, at least 160 CSS pixels.
- `legend: ChartLegend` (optional; default "inline"). Inline, stacked, or hidden part key with show/hide toggles.
- `tooltip: boolean` (optional; default true). Whether single-tab-stop pointer and keyboard part inspection is enabled.
- `empty: JSX.Element` (optional). Optional content when no part has a positive value.
- `loading: boolean` (optional; default false). Marks retained accepted content busy.
- `table: ChartTableOptions` (optional). Native-table disclosure label and bounded page size.
- `class: string` (optional). Optional class appended to the figure.
Accessibility role: labeled SVG image with visible narrative, legend, and native part/value/share table disclosure
Keyboard: Focus the plot and use Left/Right, Home/End, and Escape to inspect parts., Use the native view-as-table disclosure for every exact value and share.
Tokens: `--sheen-chart-1`, `--sheen-chart-2`, `--sheen-chart-3`, `--sheen-chart-grid`, `--sheen-color-fg`, `--sheen-color-fg-muted`, `--sheen-text-stat-size`
Do:
- Use for one whole split into a few parts read at a glance; fold small tails into an Other part.
- Keep shares exact in the native table and summary.
Do not:
- Do not compare close values or many parts with a donut; use BarChart.
- Do not pass negative values or more than eight parts.
Example, Storage by tier:
```tsx
const tierSeries = defineSeries([{ key: 'hot', label: 'Hot', color: 'chart-1' }, { key: 'warm', label: 'Warm', color: 'chart-2' }, { key: 'cold', label: 'Cold', color: 'chart-3' }]);
const tierValues = new Float64Array([42, 31, 18]);
```
### Gauge
Shows one bounded value as a radial meter with exact visible text, threshold bands, and a labeled status band.
Category: data
Props:
- `label: string` (required). Required visible and accessible meter name.
- `value: number` (required). Finite reading, or NaN for a missing reading; out-of-range values clamp the arc but keep their exact text.
- `min: number` (required). Required finite lower bound.
- `max: number` (required). Required finite upper bound greater than min.
- `thresholds: readonly GaugeThreshold[]` (optional). Strictly ascending in-range band starts with a status tone and visible label.
- `thresholdDirection: "ascending"|"descending"` (optional; default "ascending"). Whether bands apply at or above their value (higher is worse) or at or below it (lower is worse).
- `format: ChartNumberFormat` (optional; default "number"). Value and bound formatting.
- `color: ChartColorToken` (optional; default "chart-1"). Fill token while no threshold band is active.
- `summary: string` (optional). Optional visible description associated with the meter.
- `size: number` (optional; default 200). Maximum inline size in CSS pixels, at least 96.
- `class: string` (optional). Optional class appended to the figure.
Accessibility role: meter with aria-valuemin, aria-valuemax, aria-valuenow, and value text that includes the active band label
Keyboard: native behavior
Tokens: `--sheen-chart-1`, `--sheen-color-success`, `--sheen-color-warning`, `--sheen-color-danger`, `--sheen-chart-axis`, `--sheen-text-stat-size`
Do:
- Use for one bounded reading against known limits; keep the exact value visible.
- Give every threshold a text label so state never depends on color.
Do not:
- Do not use a gauge per row; use a Meter list or table.
- Do not use a gauge for unbounded values or trends.
Example, Disk usage:
```tsx
```
### Heatmap
Shows a bounded categorical x by y matrix with a five-step single-hue sequential scale, a visible scale key, and a native matrix table.
Category: data
Props:
- `label: string` (required). Required visible and accessible chart name.
- `summary: string` (required). Required narrative interpretation.
- `xLabel: string` (required). Required horizontal category axis label.
- `yLabel: string` (required). Required vertical category axis and table row-header label.
- `valueLabel: string` (required). Required label for the measured value in the scale key and tooltip.
- `data: ChartMatrixData` (required). Unique x and y category labels plus row-major Float64 values of length x × y; NaN is a hatched missing cell.
- `color: ChartColorToken` (optional; default "chart-1"). Single chart token for the sequential hue; steps mix it with transparency so they read on any surface.
- `domain: readonly [number,number]` (optional). Optional ascending color-scale domain; defaults to the finite data extent and clamps outliers to the end steps.
- `format: ChartNumberFormat` (optional; default "number"). Value formatting for the scale key, tooltip, and table.
- `height: number` (required). Reserved SVG height, at least 160 CSS pixels.
- `legend: boolean` (optional; default true). Whether the sequential scale key is shown.
- `tooltip: boolean` (optional; default true). Whether single-tab-stop pointer and two-dimensional keyboard cell inspection is enabled.
- `empty: JSX.Element` (optional). Optional content when the matrix has no cells.
- `loading: boolean` (optional; default false). Marks retained accepted content busy.
- `table: ChartTableOptions` (optional). Native-table disclosure label and bounded page size.
- `class: string` (optional). Optional class appended to the figure.
Accessibility role: labeled SVG image with visible narrative, scale key, and native matrix table disclosure
Keyboard: Focus the plot and use the Arrow keys to move between cells, Home/End for row edges, and Escape to clear., Use the native view-as-table disclosure for every exact cell value.
Tokens: `--sheen-chart-1`, `--sheen-chart-grid`, `--sheen-chart-axis`, `--sheen-color-fg`, `--sheen-color-fg-muted`
Do:
- Use one hue for magnitude and keep missing cells as NaN.
- Set an explicit domain when several heatmaps must be compared.
Do not:
- Do not use categorical or status colors for magnitude.
- Do not exceed 2,000 cells; aggregate first.
Example, Errors by weekday and hour:
```tsx
const errorGrid = { x: ['00', '06', '12', '18'], y: ['Mon', 'Tue', 'Wed'], values: new Float64Array([2, 4, 9, 5, 1, 3, 12, 6, 2, Number.NaN, 8, 4]) };
```
### Histogram
Bins raw numeric values deterministically and renders the counts as adjacent responsive SVG bars with the BarChart inspection and table contract.
Category: data
Props:
- `label: string` (required). Required visible and accessible chart name.
- `summary: string` (required). Required narrative interpretation.
- `valueLabel: string` (required). Required label for the measured quantity on the bin axis and table header.
- `countLabel: string` (required). Required label for the count axis and table column.
- `values: Float64Array` (required). Raw Float64 observations; NaN values are excluded from every bin.
- `bins: HistogramBins` (optional). Approximate bin count on nice equal-width boundaries (default Sturges' rule), or explicit strictly increasing edges. Bins are half-open except the closed last bin.
- `color: ChartColorToken` (optional; default "chart-1"). Single chart token for the bars.
- `format: ChartNumberFormat` (optional; default "number"). Number formatting for bin edge labels; counts always use integers.
- `height: number` (required). Reserved SVG height, at least 160 CSS pixels.
- `tooltip: boolean` (optional; default true). Whether single-tab-stop pointer and keyboard bin inspection is enabled.
- `empty: JSX.Element` (optional). Optional content when there are no finite values.
- `loading: boolean` (optional; default false). Marks retained accepted content busy.
- `table: ChartTableOptions` (optional). Native-table disclosure label and bounded page size.
- `class: string` (optional). Optional class appended to the figure.
Accessibility role: labeled SVG image with visible narrative and native bin/count table disclosure
Keyboard: Focus the plot and use Left/Right, Home/End, and Escape to inspect bins., Use the native view-as-table disclosure for every exact count.
Tokens: `--sheen-chart-1`, `--sheen-chart-grid`, `--sheen-chart-axis`, `--sheen-color-fg`, `--sheen-color-fg-muted`
Do:
- Pass raw observations and let binValues decide reproducible nice edges, or pass explicit edges to compare charts.
- Mention excluded NaN or out-of-range values in summary; binValues reports both counts.
Do not:
- Do not pre-aggregate into a categorical BarChart when the bins are numeric ranges.
- Do not request more than 200 bins.
Example, Response time distribution:
```tsx
const responseTimes = new Float64Array([112, 140, 151, 163, 170, 188, 201, 214, 236, 262, 310, Number.NaN, 420]);
```
### LineChart
Renders a responsive token-themed SVG line chart for bounded time or numeric data with explicit gaps.
Category: data
Props:
- `curve: "linear"|"step"` (optional; default "linear"). Honest linear or step-after interpolation.
- `label: string` (required). Required visible and accessible chart name.
- `summary: string` (required). Required narrative interpretation.
- `xLabel: string` (required). Required domain-axis and native-table label.
- `series: readonly ChartSeries[]` (required). Validated series definitions with semantic colors and optional non-color line encodings.
- `data: ChartData` (required). Equal-length Float64 columns; NaN breaks a path.
- `x: ChartTimeAxis|ChartNumberAxis` (required). Time or numeric domain formatting.
- `y: ChartValueAxis` (optional). Shared value formatting and optional zero baseline.
- `height: number` (required). Reserved SVG height, at least 120 CSS pixels.
- `legend: ChartLegend` (optional; default "inline"). Inline, stacked, or hidden series key.
- `tooltip: boolean` (optional; default true). Whether single-tab-stop pointer and keyboard inspection is enabled.
- `annotations: readonly ChartAnnotation[]` (optional). Optional labeled domain positions.
- `empty: JSX.Element` (optional). Optional empty-state content.
- `loading: boolean` (optional; default false). Marks retained accepted content busy.
- `table: ChartTableOptions` (optional). Native-table disclosure label and bounded page size.
- `class: string` (optional). Optional class appended to the figure.
Accessibility role: labeled SVG image with visible narrative and native table disclosure
Keyboard: Focus the plot and use Left/Right, Home/End, and Escape to inspect samples., Use the native view-as-table disclosure for every exact sample.
Tokens: `--sheen-chart-1`, `--sheen-chart-2`, `--sheen-chart-grid`, `--sheen-chart-axis`, `--sheen-chart-line-width`, `--sheen-color-fg`, `--sheen-color-fg-muted`
Do:
- Use for complete bounded data under 2,000 marks and retain NaN gaps.
Do not:
- Do not use SVG for high-volume or streaming time series; use TimeSeries.
Example, Request latency:
```tsx
const requestSeries = defineSeries([{ key: 'p50', label: 'p50', color: 'chart-1' }, { key: 'p99', label: 'p99', color: 'chart-3' }]);
const requestData = { t: new Float64Array([1704067200000, 1704067260000, 1704067320000]), p50: new Float64Array([18, 16, 15]), p99: new Float64Array([42, Number.NaN, 34]) };
```
### ScatterChart
Plots bounded numeric x/y points per series in responsive SVG with distinct point shapes and an optional area-proportional size channel.
Category: data
Props:
- `label: string` (required). Required visible and accessible chart name.
- `summary: string` (required). Required narrative interpretation.
- `xLabel: string` (required). Required horizontal axis and table column label.
- `yLabel: string` (required). Required vertical axis and table column label.
- `series: readonly ChartSeries[]` (required). Validated series definitions; each series also receives a distinct point shape.
- `data: Readonly>` (required). Per-series equal-length Float64 x, y, and optional size columns. A NaN x or y omits that point.
- `x: ChartValueAxis` (optional). Horizontal value formatting and optional zero inclusion.
- `y: ChartValueAxis` (optional). Vertical value formatting and optional zero inclusion.
- `size: ChartScatterSize` (optional). Optional size channel label, formatting, and marker radius range; area scales with the square root of the value.
- `height: number` (required). Reserved SVG height, at least 160 CSS pixels.
- `legend: ChartLegend` (optional; default "inline"). Inline, stacked, or hidden series key with show/hide toggles.
- `tooltip: boolean` (optional; default true). Whether single-tab-stop pointer and keyboard point inspection is enabled.
- `empty: JSX.Element` (optional). Optional content when no point is defined.
- `loading: boolean` (optional; default false). Marks retained accepted content busy.
- `table: ChartTableOptions` (optional). Native-table disclosure label and bounded page size.
- `class: string` (optional). Optional class appended to the figure.
Accessibility role: labeled SVG image with visible narrative, shape-encoded legend, and native point table disclosure
Keyboard: Focus the plot and use Left/Right, Home/End, and Escape to inspect points in ascending x order., Use the native view-as-table disclosure for every exact point.
Tokens: `--sheen-chart-1`, `--sheen-chart-2`, `--sheen-chart-grid`, `--sheen-chart-axis`, `--sheen-color-fg`, `--sheen-color-fg-muted`
Do:
- Keep series to three or fewer when points overlap so shapes and colors stay distinct.
- Describe the relationship in summary rather than relying on the visual pattern.
Do not:
- Do not exceed 2,000 SVG points or use a second y scale.
- Do not encode a quantity only through marker size without the table.
Example, Latency against load:
```tsx
const hostSeries = defineSeries([{ key: 'east', label: 'East', color: 'chart-1' }, { key: 'west', label: 'West', color: 'chart-4' }]);
const hostData = { east: { x: new Float64Array([120, 240, 380, 510]), y: new Float64Array([18, 22, 31, 44]) }, west: { x: new Float64Array([90, 210, Number.NaN, 470]), y: new Float64Array([16, 19, 25, 37]) } };
```
### Sparkline
Renders a dependency-free inline trend path while preserving NaN gaps.
Category: data
Props:
- `values: Float64Array` (required). Float64 values in display order; NaN creates a visible path break.
- `label: string` (required). Required accessible description of the trend.
- `color: ChartColorToken` (optional; default "chart-1"). Semantic chart, market, accent, foreground, or muted token name.
- `width: number` (optional; default 120). Positive finite intrinsic and view-box width.
- `height: number` (optional; default 28). Positive finite intrinsic and view-box height.
Accessibility role: img
Keyboard: native behavior
Tokens: `--sheen-chart-1`, `--sheen-chart-line-width`, `--sheen-color-market-up`, `--sheen-color-market-down`, `--sheen-color-market-flat`, `--sheen-color-accent`
Do:
- Use NaN for missing values and describe the trend in label.
Do not:
- Do not coerce gaps to zero or use a sparkline as the only representation of important data.
Example, Latency trend with a gap:
```tsx
const latency = new Float64Array([18, 16, Number.NaN, 15, 12]);
```
### Stat
Presents one tabular metric with an optional text-labeled directional trend.
Category: data
Props:
- `label: string` (required). Required visible metric label.
- `value: string|number` (required). Nonempty display text or a finite number.
- `format: Intl.NumberFormatOptions` (optional). Optional locale-aware Intl.NumberFormat options; requires a numeric value. Fractions and units use muted text.
- `trend: StatTrend` (optional). Optional directional state; requires trendLabel.
- `trendLabel: string` (optional). Required visible non-color description when trend is supplied.
- `valence: StatValence` (optional). Meaning of the change, independent of direction; positive, negative, or neutral. Requires a trend and defaults to neutral.
- `tween: boolean` (optional). Counts a formatted numeric value from its previous value on update. Defaults to true. The server and first render show the final value, and reduced motion jumps straight to it.
- `visual: JSX.Element` (optional). Optional supplementary JSX, such as a labeled Sparkline or Meter based on actual data. The text value remains complete. Preserve the visual node when refreshing its data.
- `class: string` (optional). Optional class appended to the component root.
Accessibility role: term and definition
Keyboard: native behavior
Tokens: `--sheen-color-fg`, `--sheen-color-fg-muted`, `--sheen-color-success`, `--sheen-color-danger`, `--sheen-text-stat-size`, `--sheen-text-stat-leading`, `--sheen-text-stat-weight`, `--sheen-text-stat-tracking`
Do:
- State the direction and magnitude in trendLabel.
- Set valence from the metric's meaning; lower errors are positive, higher latency is negative.
Do not:
- Do not rely on arrow shape or color to communicate a change.
- Do not infer whether a change is good from its direction.
Example, Improving error rate:
```tsx
```
Example, Utilization with a track:
```tsx
import { Meter } from "@gemologic/sheen";
const utilizationVisual = ;
```
### StatGroup
Groups related tabular metrics under one accessible label.
Category: data
Props:
- `label: string` (required). Required accessible label for the related metric set.
- `stats: readonly StatProps[]` (required). One or more stat records rendered with the same validation as Stat.
- `class: string` (optional). Optional class appended to the component root.
Accessibility role: group containing term and definition pairs
Keyboard: native behavior
Tokens: `--sheen-color-border`, `--sheen-color-bg-raised`, `--sheen-color-fg`, `--sheen-color-fg-muted`
Do:
- Group metrics that users compare together.
Do not:
- Do not put unrelated dashboard values under a vague label.
Example, Service health:
```tsx
import type { StatGroupProps } from "@gemologic/sheen-charts";
const health = [{ label: "Requests", value: "18.2k", trend: "up", trendLabel: "8 percent higher" }, { label: "p99", value: "43 ms", trend: "flat", trendLabel: "unchanged" }] satisfies StatGroupProps["stats"];
```
### TimeSeries
Progressively enhances a deterministic time-series fallback with a responsive themed uPlot canvas and native data alternative.
Category: data
Props:
- `x: ChartTimeAxis` (required). Time formatting configuration; timezone changes presentation only.
- `area: boolean` (optional; default false). Fills under the first series with a gradient fading toward the baseline, using chart-area-opacity.
- `live: boolean` (optional; default false). Marks the latest finite sample of each visible series. The marker pulses unless motion is reduced and hides when zoomed past it.
- `cursor: ChartCursorOptions` (optional). Optional named cursor-sync group.
- `onZoom: (range:readonly [number,number]|null)=>void` (optional). Receives the accepted x range after drag zoom and null after reset.
- `__unsafe_uplot: TimeSeriesUPlotOptions` (optional). Explicit typed escape hatch for uPlot options not owned by the Sheen lifecycle.
- `label: string` (required). Required visible and accessible chart name.
- `summary: string` (required). Required narrative interpretation used alongside the visual and table alternative.
- `xLabel: string` (required). Required time-domain name for the native table heading and screen-reader context. The canvas axis shows tick labels only, so the plot keeps its height.
- `series: readonly ChartSeries[]` (required). Stable validated series definitions with semantic color tokens and optional solid, dashed, dotted, or dash-dot non-color encoding.
- `data: ChartData` (required). Equal-length Float64 columns using UTC epoch milliseconds and NaN gaps.
- `y: ChartValueAxis` (optional). Shared value formatting and optional zero baseline.
- `height: number` (required). Positive finite reserved plot height in CSS pixels.
- `legend: ChartLegend` (optional; default "inline"). Legend presentation; false hides it.
- `tooltip: boolean` (optional; default true). Whether single-tab-stop pointer and keyboard crosshair inspection is enabled.
- `annotations: readonly ChartAnnotation[]` (optional). Optional labeled events at UTC epoch-millisecond positions.
- `empty: JSX.Element` (optional). Optional retained empty-state content for a zero-row dataset.
- `loading: boolean` (optional; default false). Marks accepted chart and table content busy without replacing either.
- `table: ChartTableOptions` (optional). Native table page size and disclosure label; the alternative cannot be disabled.
- `class: string` (optional). Optional class appended to the figure root.
Accessibility role: labeled figure with an image description and native table disclosure
Keyboard: Focus the plot and use Left/Right, Home/End, and Escape to inspect samples., Use the native view-as-table disclosure for complete keyboard access to every sample., Use legend buttons and zoom controls when those interactions are enabled.
Tokens: `--sheen-chart-1`, `--sheen-chart-2`, `--sheen-chart-3`, `--sheen-chart-4`, `--sheen-chart-5`, `--sheen-chart-6`, `--sheen-chart-7`, `--sheen-chart-8`, `--sheen-chart-grid`, `--sheen-chart-axis`, `--sheen-chart-crosshair`, `--sheen-chart-line-width`, `--sheen-chart-area-opacity`, `--sheen-color-fg`, `--sheen-color-fg-muted`, `--sheen-color-bg`
Do:
- Keep series identities stable and retain accepted data while a refresh is pending.
- Use UTC epoch milliseconds and NaN for gaps, then provide an interpretive summary.
- Use explicit non-color encodings when palette colors repeat or color alone cannot carry the distinction.
Do not:
- Do not hide the native table alternative or pass Date/string timestamps.
- Do not key the chart by data revision, theme, or size.
Example, API latency:
```tsx
const latencySeries = defineSeries([{ key: 'p50', label: 'p50', color: 'chart-1' }, { key: 'p99', label: 'p99', color: 'chart-3' }]);
const latencyData = { t: new Float64Array([1704067200000, 1704067260000, 1704067320000]), p50: new Float64Array([18, 16, 15]), p99: new Float64Array([42, Number.NaN, 34]) };
```
## @gemologic/sheen-code
### CodeBlock
Renders accessible source with an optional file header, copy and wrap actions, line emphasis, and serializable Shiki tokens.
Category: content
Props:
- `code: string` (required). Exact source text to render.
- `language: string` (required). Language identifier used for labeling and highlighted-output validation.
- `highlighted: HighlightedCode` (optional). Optional serializable result produced by highlightCode in a loader or build step.
- `highlightedLines: readonly CodeHighlightedLine[]` (optional). One-based line numbers or inclusive ranges to emphasize visually and describe to assistive technology.
- `label: string` (optional). Visible caption and accessible name for the code region.
- `filename: string` (optional). Optional filename rendered in the header and used as the fallback accessible name.
- `lineNumbers: boolean` (optional; default false). Shows non-selectable line numbers.
- `showLanguage: boolean` (optional; default false). Shows the language identifier in the header.
- `copyable: boolean` (optional; default false). Shows an action that copies the exact source through the browser Clipboard API.
- `wrapToggle: boolean` (optional; default false). Shows an accessible control for changing line wrapping.
- `wrapped: boolean` (optional). Controlled wrapping state.
- `defaultWrapped: boolean` (optional; default false). Initial uncontrolled wrapping state.
- `onWrappedChange: (wrapped:boolean)=>void` (optional). Receives a proposed wrapping state in controlled or uncontrolled use.
- `onCopyError: (error:unknown)=>void` (optional). Receives a Clipboard API failure; raw errors are never rendered.
Accessibility role: figure with a focusable preformatted region and optional header actions
Keyboard: Tab focuses copy, wrap, and scroll controls, Enter or Space activates a focused header action
Tokens: `--sheen-color-bg-raised`, `--sheen-color-border`, `--sheen-color-fg`, `--sheen-color-fg-muted`, `--sheen-color-accent`, `--sheen-color-focus-ring`, `--sheen-color-focus-ring-offset`, `--sheen-font-mono`, `--sheen-text-code-size`
Do:
- Precompute highlightCode in a server loader or build step when syntax color is required, declaring only the grammars the page needs from @gemologic/sheen-code/languages.
- Pass the exact accepted source to copy and highlight; retain the CodeBlock owner during refresh.
Do not:
- Do not run the highlighter during component render or replace accepted code while refreshing tokens.
- Do not use highlighted lines as the only indication of an error or status.
Example, Copyable TypeScript file:
```tsx
const source = 'const ready: boolean = true;'
```
### DiffViewer
Shows a searchable, copyable unified line diff with bounded computation and virtualized large-content DOM.
Category: content
Props:
- `oldText: string` (required). Complete accepted source before the change.
- `newText: string` (required). Complete accepted source after the change.
- `label: string` (required). Required accessible viewer and line-list name.
- `oldLabel: string` (optional; default "Before"). Label used by the copied unified diff header.
- `newLabel: string` (optional; default "After"). Label used by the copied unified diff header.
- `searchable: boolean` (optional; default true). Shows a debounced line search that does not mutate the source.
- `copyable: boolean` (optional; default true). Copies the complete unified diff.
- `initialHeight: number` (optional; default 360). Deterministic SSR and initial viewport height in pixels from 120 to 1200.
- `lineHeight: number` (optional; default 22). Fixed virtual row height in pixels from 16 to 48.
- `onCopyError: (error:unknown)=>void` (optional). Receives Clipboard API failures without exposing raw errors in the UI.
Accessibility role: named region containing a focusable virtual list and listitems
Keyboard: Tab, Shift+Tab, Enter, Space, PageUp, PageDown, Home, End
Tokens: `--sheen-color-bg-raised`, `--sheen-color-danger-subtle`, `--sheen-color-success-subtle`, `--sheen-font-mono`
Do:
- Keep the viewer mounted when accepted source refreshes.
- Use labels that identify both revisions.
Do not:
- Do not rely on red and green alone; prefixes and accessible row labels encode change kind.
- Do not use the viewer as an editable merge tool.
Example, Configuration change:
```tsx
const before = "port = 80\nenabled = false";
const after = "port = 443\nenabled = true";
```
### JSONViewer
Validates and deterministically formats JSON into a searchable, copyable, virtualized line view.
Category: content
Props:
- `value: unknown` (required). JSON-compatible value; functions, symbols, bigint, nonfinite numbers, cycles, and excessive depth are rejected.
- `label: string` (required). Required accessible viewer and line-list name.
- `indent: 2|4` (optional; default 2). Pretty-print indentation.
- `sortKeys: boolean` (optional; default true). Sorts object keys for deterministic output.
- `maxDepth: number` (optional; default 32). Maximum accepted nesting depth from 1 to 64.
- `searchable: boolean` (optional; default true). Shows a debounced search over formatted lines.
- `copyable: boolean` (optional; default true). Copies the complete validated JSON string.
- `initialHeight: number` (optional; default 360). Deterministic SSR and initial viewport height in pixels from 120 to 1200.
- `lineHeight: number` (optional; default 22). Fixed virtual row height in pixels from 16 to 48.
- `onCopyError: (error:unknown)=>void` (optional). Receives Clipboard API failures without exposing raw errors in the UI.
Accessibility role: named region containing a focusable virtual list and listitems
Keyboard: Tab, Shift+Tab, Enter, Space, PageUp, PageDown, Home, End
Tokens: `--sheen-color-bg-raised`, `--sheen-color-warning-subtle`, `--sheen-font-mono`
Do:
- Pass parsed application data and let JSONViewer validate it.
- Keep sortKeys enabled for copyable diagnostics.
Do not:
- Do not pass secrets or authorization material.
- Do not pass class instances and assume private properties are hidden.
Example, API response:
```tsx
const response = { status: "ready", records: [{ id: "one", amount: 42 }] };
```
### LogViewer
Renders structured logs as a searchable, copyable, virtualized line stream with non-color level labels.
Category: content
Props:
- `entries: readonly LogEntry[]` (required). Accepted structured entries with stable IDs, timestamps, levels, and messages.
- `label: string` (required). Required accessible viewer and line-list name.
- `searchable: boolean` (optional; default true). Shows debounced search over timestamps, levels, messages, and details.
- `copyable: boolean` (optional; default true). Copies the complete plain-text log snapshot.
- `initialHeight: number` (optional; default 360). Deterministic SSR and initial viewport height in pixels from 120 to 1200.
- `lineHeight: number` (optional; default 22). Fixed virtual row height in pixels from 16 to 48.
- `onCopyError: (error:unknown)=>void` (optional). Receives Clipboard API failures without exposing raw errors in the UI.
Accessibility role: named region containing a focusable virtual list and listitems
Keyboard: Tab, Shift+Tab, Enter, Space, PageUp, PageDown, Home, End
Tokens: `--sheen-color-bg-raised`, `--sheen-color-warning-fg`, `--sheen-color-danger-fg`, `--sheen-font-mono`
Do:
- Use stable IDs and app-formatted timestamps.
- Replace or append immutable accepted snapshots without remounting the viewer.
Do not:
- Do not put secrets or raw command lines into browser-visible logs.
- Do not use color as the only severity signal.
Example, Deployment logs:
```tsx
import type { LogEntry } from "@gemologic/sheen-code/log-viewer";
const entries = [{ id: "one", timestamp: "2026-09-09T12:00:00Z", level: "info", message: "Deployment started" }] satisfies readonly LogEntry[];
```
## @gemologic/sheen-date
### Calendar
An always-visible locale-aware calendar with Ark-backed grid keyboard interaction.
Category: date and time
Props:
- `label: string` (required). Required visible calendar label.
- `value: CalendarDate|null` (optional). App-owned Sheen CalendarDate, or null for no selection.
- `defaultValue: CalendarDate|null` (optional). Initial uncontrolled selection.
- `onValueChange: (value:CalendarDate|null)=>void` (optional). Receives requested Sheen-owned selection changes.
- `minValue: CalendarDate` (optional). Earliest selectable calendar date.
- `maxValue: CalendarDate` (optional). Latest selectable calendar date.
- `isDateUnavailable: (value:CalendarDate)=>boolean` (optional). Marks otherwise in-range dates unavailable using Sheen CalendarDate values.
- `defaultVisibleDate: CalendarDate` (optional). Deterministic initially visible month; empty calendars otherwise use 2000-01-01.
- `locale: string` (optional). Explicit BCP 47 locale, defaulting to theme context.
- `calendar: string` (optional). Optional Unicode calendar identifier affecting presentation and interaction, not the stored ISO date.
- `name: string` (optional). Native form field name for the YYYY-MM-DD projection.
- `form: string` (optional). Optional external form owner.
- `required: boolean` (optional; default false). Marks the calendar selection required for accessible semantics.
- `disabled: boolean` (optional; default false). Prevents focus and selection.
- `readOnly: boolean` (optional; default false). Allows inspection while rejecting selection changes.
Accessibility role: application calendar grid
Keyboard: Arrow keys, PageUp, PageDown, Home, End, Enter, Space
Tokens: `--sheen-color-bg`, `--sheen-color-accent`, `--sheen-color-focus-ring`
Do:
- Provide defaultVisibleDate for empty SSR output near the application's working date.
Do not:
- Do not derive initial visible dates from the browser clock during hydration.
Example, Deployment date:
```tsx
```
### DateField
A locale-ordered segmented date editor with an ISO form projection.
Category: date and time
Props:
- `label: string` (required). Required visible field label.
- `value: CalendarDate|null` (optional). App-owned Sheen CalendarDate, or null.
- `defaultValue: CalendarDate|null` (optional). Initial uncontrolled value.
- `onValueChange: (value:CalendarDate|null)=>void` (optional). Receives complete valid dates and explicit clearing.
- `placeholderValue: CalendarDate` (optional). Deterministic values shown behind empty segments.
- `minValue: CalendarDate` (optional). Minimum valid date.
- `maxValue: CalendarDate` (optional). Maximum valid date.
- `isDateUnavailable: (value:CalendarDate)=>boolean` (optional). Marks committed dates invalid using Sheen values.
- `locale: string` (optional). Explicit BCP 47 locale, defaulting to theme context.
- `calendar: string` (optional). Optional presentation calendar identifier.
- `name: string` (optional). Native form field name for YYYY-MM-DD.
- `form: string` (optional). Optional external form owner.
- `description: string` (optional). Associated supporting text.
- `error: string` (optional). Associated app validation error.
- `required: boolean` (optional; default false). Marks the segmented editor required.
- `disabled: boolean` (optional; default false). Disables editing and form projection.
- `readOnly: boolean` (optional; default false). Retains focus while rejecting edits.
Accessibility role: group of spinbuttons
Keyboard: ArrowLeft, ArrowRight, ArrowUp, ArrowDown, PageUp, PageDown, Home, End, numeric keys
Tokens: `--sheen-color-border-control`, `--sheen-color-bg-inset`, `--sheen-color-focus-ring`
Do:
- Submit the documented ISO projection instead of reading rendered segments.
Do not:
- Do not pass JavaScript Date objects.
Example, Invoice date:
```tsx
```
### DatePicker
A typed date input with a responsive calendar mounted in the nearest theme portal.
Category: date and time
Props:
- `value: CalendarDate|null` (optional). App-owned Sheen CalendarDate, or null.
- `defaultValue: CalendarDate|null` (optional). Initial uncontrolled value.
- `onValueChange: (value:CalendarDate|null)=>void` (optional). Receives complete valid dates and clearing.
- `presets: readonly DatePreset[]` (optional). Deterministic labeled Sheen date shortcuts.
- `label: string` (required). Required visible field label.
- `minValue: CalendarDate` (optional). Earliest selectable date.
- `maxValue: CalendarDate` (optional). Latest selectable date.
- `isDateUnavailable: (value:CalendarDate)=>boolean` (optional). Marks dates unavailable with a Sheen value callback.
- `defaultVisibleDate: CalendarDate` (optional). Deterministic initially visible month.
- `locale: string` (optional). Explicit BCP 47 locale, defaulting to theme context.
- `calendar: string` (optional). Optional presentation calendar identifier.
- `name: string` (optional). Native form name for YYYY-MM-DD.
- `form: string` (optional). Optional external form owner.
- `description: string` (optional). Associated instructions.
- `error: string` (optional). Associated app validation error.
- `placeholder: string` (optional). Text input placeholder.
- `required: boolean` (optional; default false). Marks the picker required.
- `disabled: boolean` (optional; default false). Disables input, trigger, and projection.
- `readOnly: boolean` (optional; default false). Allows inspection while rejecting changes.
Accessibility role: textbox and calendar dialog
Keyboard: Tab, Enter, Space, Escape, Arrow keys, PageUp, PageDown, Home, End
Tokens: `--sheen-color-bg-raised`, `--sheen-color-border-control`, `--sheen-color-focus-ring`
Do:
- Keep the picker inside ThemeProvider so its overlay inherits the effective scope.
Do not:
- Do not replace accepted content while date constraints refresh.
Example, Settlement date:
```tsx
```
### DateRangePicker
A two-ended date picker that keeps its incomplete range draft while accepted state refreshes.
Category: date and time
Props:
- `value: DateRange|null` (optional). App-owned ordered Sheen DateRange, or null.
- `defaultValue: DateRange|null` (optional). Initial uncontrolled accepted range.
- `onValueChange: (value:DateRange|null)=>void` (optional). Receives only complete ordered ranges or explicit clearing.
- `presets: readonly DateRangePreset[]` (optional). Deterministic labeled Sheen range shortcuts.
- `endLabel: string` (optional). Accessible label for the second endpoint, defaulting to the range label plus end.
- `label: string` (required). Required visible range label.
- `minValue: CalendarDate` (optional). Earliest selectable endpoint.
- `maxValue: CalendarDate` (optional). Latest selectable endpoint.
- `isDateUnavailable: (value:CalendarDate)=>boolean` (optional). Marks endpoint dates unavailable.
- `defaultVisibleDate: CalendarDate` (optional). Deterministic initially visible month.
- `locale: string` (optional). Explicit BCP 47 locale, defaulting to theme context.
- `calendar: string` (optional). Optional presentation calendar identifier.
- `name: string` (optional). Native form name for the start/end ISO interval.
- `form: string` (optional). Optional external form owner.
- `description: string` (optional). Associated instructions.
- `error: string` (optional). Associated app validation error.
- `placeholder: string` (optional). Empty endpoint placeholder.
- `required: boolean` (optional; default false). Marks both endpoints required.
- `disabled: boolean` (optional; default false). Disables interaction and projection.
- `readOnly: boolean` (optional; default false). Allows inspection while rejecting changes.
Accessibility role: two textboxes and calendar dialog
Keyboard: Tab, Enter, Space, Escape, Arrow keys, PageUp, PageDown, Home, End
Tokens: `--sheen-color-bg-raised`, `--sheen-color-border-control`, `--sheen-color-focus-ring`
Do:
- Treat a one-ended calendar interaction as a draft, not an accepted range.
Do not:
- Do not infer missing endpoints or submit two unrelated fields.
Example, Report window:
```tsx
```
### DateTimePicker
A date, wall-time, and IANA-zone editor that resolves instants without hiding DST ambiguity.
Category: date and time
Props:
- `label: string` (required). Required visible fieldset legend.
- `value: DateTime|null` (optional). App-owned Sheen DateTime instant, or null.
- `defaultValue: DateTime|null` (optional). Initial uncontrolled instant.
- `onValueChange: (value:DateTime|null)=>void` (optional). Receives exact or explicitly disambiguated instants and clearing.
- `onResolution: (resolution:DateTimeResolution)=>void` (optional). Observes every exact, ambiguous, or nonexistent wall-time resolution.
- `timeZoneOptions: readonly TimeZoneOption[]` (required). Explicit stable IANA zones passed to the zone combobox.
- `timeZonePending: boolean` (optional; default false). Retains accepted zone options while an app-owned refresh is in flight.
- `timeZoneError: string` (optional). Safe app-owned zone request error.
- `onTimeZoneRetry: ()=>void` (optional). Optional app retry action for a failed zone request.
- `defaultTimeZone: TimeZone` (optional). Zone used by an empty draft, defaulting to UTC.
- `defaultDate: CalendarDate` (optional). Deterministic empty date placeholder.
- `defaultTime: Time` (optional). Deterministic empty wall-time placeholder.
- `disambiguation: DateTimeDisambiguation` (optional; default "reject"). Policy for repeated or skipped local times; reject exposes an explicit choice.
- `timeZoneChangeBehavior: TimeZoneChangeBehavior` (optional; default "preserve-instant"). Whether a zone change preserves the accepted instant or reinterprets the wall time.
- `locale: string` (optional). Explicit BCP 47 locale, defaulting to context.
- `calendar: string` (optional). Optional calendar used only for date presentation and interaction.
- `hourCycle: 12|24` (optional). Explicit 12- or 24-hour cycle.
- `granularity: "minute"|"second"` (optional; default "minute"). Smallest wall-time segment.
- `name: string` (optional). Native form name for the ISO instant with bracketed IANA zone.
- `form: string` (optional). Optional external form owner.
- `description: string` (optional). Associated instructions.
- `error: string` (optional). Associated app validation error.
- `dateLabel: string` (optional). Localized label for the date subfield.
- `timeLabel: string` (optional). Localized label for the wall-time subfield.
- `timeZoneLabel: string` (optional). Localized label for the zone subfield.
- `required: boolean` (optional; default false). Marks all subfields required.
- `disabled: boolean` (optional; default false). Disables all subfields and projection.
- `readOnly: boolean` (optional; default false). Allows inspection while rejecting changes.
Accessibility role: group, textbox, spinbuttons, combobox, alert
Keyboard: Tab, Shift+Tab, Enter, Space, Escape, Arrow keys, PageUp, PageDown, Home, End
Tokens: `--sheen-color-bg-raised`, `--sheen-color-border-control`, `--sheen-color-warning-border`, `--sheen-color-focus-ring`
Do:
- Keep reject as the default when the app must distinguish repeated or skipped local times.
- Choose zone-change semantics for the application's domain.
Do not:
- Do not silently substitute the browser timezone or accept an ambiguous wall time.
Example, Maintenance start:
```tsx
```
### NativeDateField
A lightweight Sheen-styled native date input with a CalendarDate value and an ISO form projection.
Category: date and time
Props:
- `label: string` (required). Required visible field label.
- `value: T|null` (optional). App-owned Sheen CalendarDate, or null.
- `defaultValue: T|null` (optional). Initial uncontrolled value, restored on form reset.
- `onValueChange: (value:T|null)=>void` (optional). Receives complete valid dates and explicit clearing; partial native input is never published.
- `minValue: T` (optional). Minimum valid date, applied as the native min.
- `maxValue: T` (optional). Maximum valid date, applied as the native max.
- `name: string` (optional). Form field name for the YYYY-MM-DD projection.
- `form: string` (optional). Optional external form owner.
- `description: string` (optional). Associated supporting text.
- `error: string` (optional). Associated app validation error; marks the input invalid.
- `required: boolean` (optional; default false). Native required validation.
- `disabled: boolean` (optional; default false). Disables editing and form projection.
- `readOnly: boolean` (optional; default false). Retains focus and the submitted value while rejecting edits.
Accessibility role: native date input
Keyboard: Tab, ArrowUp, ArrowDown, ArrowLeft, ArrowRight, numeric keys, Alt+ArrowDown
Tokens: `--sheen-color-border-control`, `--sheen-color-bg-inset`, `--sheen-color-danger-border`, `--sheen-color-focus-ring`
Do:
- Use when bundle size matters more than locale-ordered segments, calendars, or presets.
- Submit the ISO projection rather than reading the rendered value.
Do not:
- Do not expect a locale or calendar prop; the browser formats native date inputs.
Example, Invoice date:
```tsx
```
### NativeDateTimeField
A lightweight native datetime-local input that enters wall time in an explicit IANA zone and commits a DateTime instant.
Category: date and time
Props:
- `timeZone: TimeZone` (required). Required IANA zone in which the wall time is entered, displayed, and resolved. Never inferred from the browser.
- `disambiguation: DateTimeDisambiguation` (optional; default "reject"). Policy for repeated or skipped local times; reject keeps the previous value and offers both instants.
- `onResolution: (resolution:DateTimeResolution)=>void` (optional). Observes every exact, ambiguous, or nonexistent wall-time resolution.
- `granularity: "minute"|"second"` (optional; default "minute"). Smallest native segment; second sets step=1.
- `locale: string` (optional). Explicit BCP 47 locale for the DST choice labels, defaulting to theme context.
- `label: string` (required). Required visible field label.
- `value: T|null` (optional). App-owned Sheen DateTime instant, or null; displayed as wall time in timeZone.
- `defaultValue: T|null` (optional). Initial uncontrolled instant, restored on form reset.
- `onValueChange: (value:T|null)=>void` (optional). Receives exact or explicitly disambiguated instants and clearing.
- `minValue: T` (optional). Minimum valid instant, applied as native min wall time in timeZone.
- `maxValue: T` (optional). Maximum valid instant, applied as native max wall time in timeZone.
- `name: string` (optional). Form field name for the ISO instant with bracketed IANA zone.
- `form: string` (optional). Optional external form owner.
- `description: string` (optional). Associated supporting text.
- `error: string` (optional). Associated app validation error; marks the input invalid.
- `required: boolean` (optional; default false). Native required validation.
- `disabled: boolean` (optional; default false). Disables editing and form projection.
- `readOnly: boolean` (optional; default false). Retains focus and the submitted value while rejecting edits.
Accessibility role: native datetime-local input, alert for DST choices
Keyboard: Tab, ArrowUp, ArrowDown, ArrowLeft, ArrowRight, numeric keys, Enter, Space
Tokens: `--sheen-color-border-control`, `--sheen-color-bg-inset`, `--sheen-color-danger-border`, `--sheen-color-warning-border`, `--sheen-color-focus-ring`
Do:
- Pass the zone the user means; show it in the label or description.
- Keep reject when repeated or skipped local times must be chosen explicitly.
Do not:
- Do not substitute the browser timezone or submit the zone-less native value.
Example, Maintenance start:
```tsx
```
### NativeTimeField
A lightweight Sheen-styled native time input with a wall-clock Time value and an ISO form projection.
Category: date and time
Props:
- `granularity: "minute"|"second"` (optional; default "minute"). Smallest native segment; second sets step=1.
- `label: string` (required). Required visible field label.
- `value: T|null` (optional). App-owned Sheen Time, or null.
- `defaultValue: T|null` (optional). Initial uncontrolled value, restored on form reset.
- `onValueChange: (value:T|null)=>void` (optional). Receives complete valid times and explicit clearing; partial native input is never published.
- `minValue: T` (optional). Minimum valid time, applied as the native min.
- `maxValue: T` (optional). Maximum valid time, applied as the native max.
- `name: string` (optional). Form field name for the HH:mm:ss.SSS projection.
- `form: string` (optional). Optional external form owner.
- `description: string` (optional). Associated supporting text.
- `error: string` (optional). Associated app validation error; marks the input invalid.
- `required: boolean` (optional; default false). Native required validation.
- `disabled: boolean` (optional; default false). Disables editing and form projection.
- `readOnly: boolean` (optional; default false). Retains focus and the submitted value while rejecting edits.
Accessibility role: native time input
Keyboard: Tab, ArrowUp, ArrowDown, ArrowLeft, ArrowRight, numeric keys
Tokens: `--sheen-color-border-control`, `--sheen-color-bg-inset`, `--sheen-color-danger-border`, `--sheen-color-focus-ring`
Do:
- Use for wall-clock times with no date or zone.
Do not:
- Do not use an hour cycle prop; the browser chooses the native presentation.
Example, Daily cutoff:
```tsx
```
### TimeField
A locale-ordered segmented wall-clock editor with a timezone-free ISO projection.
Category: date and time
Props:
- `label: string` (required). Required visible field label.
- `value: Time|null` (optional). App-owned Sheen Time, or null.
- `defaultValue: Time|null` (optional). Initial uncontrolled wall time.
- `onValueChange: (value:Time|null)=>void` (optional). Receives complete valid wall times and clearing.
- `placeholderValue: Time` (optional). Deterministic values shown behind empty segments.
- `minValue: Time` (optional). Minimum wall time.
- `maxValue: Time` (optional). Maximum wall time.
- `locale: string` (optional). Explicit BCP 47 locale, defaulting to theme context.
- `hourCycle: 12|24` (optional). Explicit 12- or 24-hour cycle; omission follows the locale.
- `granularity: TimeGranularity` (optional; default "minute"). Smallest editable unit.
- `name: string` (optional). Native form name for HH:mm:ss.SSS.
- `form: string` (optional). Optional external form owner.
- `description: string` (optional). Associated instructions.
- `error: string` (optional). Associated app validation error.
- `required: boolean` (optional; default false). Marks the editor required.
- `disabled: boolean` (optional; default false). Disables editing and projection.
- `readOnly: boolean` (optional; default false). Retains focus while rejecting edits.
Accessibility role: group of spinbuttons
Keyboard: ArrowLeft, ArrowRight, ArrowUp, ArrowDown, PageUp, PageDown, Home, End, numeric keys
Tokens: `--sheen-color-border-control`, `--sheen-color-bg-inset`, `--sheen-color-focus-ring`
Do:
- Keep a wall-clock Time separate from the zone that gives it an instant.
Do not:
- Do not anchor a standalone Time to the browser's current date.
Example, Cutoff time:
```tsx
```
### TimePicker
A contextual list of Sheen wall-clock values with deterministic interval generation.
Category: date and time
Props:
- `label: string` (required). Required visible picker label.
- `value: Time|null` (optional). App-owned Sheen Time, or null.
- `defaultValue: Time|null` (optional). Initial uncontrolled selection.
- `onValueChange: (value:Time|null)=>void` (optional). Receives selected Sheen Time values and clearing.
- `options: readonly TimePickerOption[]` (optional). Optional explicit labeled wall times; values must be unique.
- `stepMinutes: number` (optional; default 15). Generated interval from 1 through 720 minutes when options are omitted.
- `locale: string` (optional). Explicit BCP 47 label locale, defaulting to theme context.
- `hourCycle: 12|24` (optional). Explicit generated-label hour cycle.
- `name: string` (optional). Native form name for HH:mm:ss.SSS.
- `form: string` (optional). Optional external form owner.
- `placeholder: string` (optional). Empty-selection text.
- `description: string` (optional). Associated instructions.
- `error: string` (optional). Associated app validation error.
- `required: boolean` (optional; default false). Requires a selection.
- `disabled: boolean` (optional; default false). Disables interaction and projection.
- `readOnly: boolean` (optional; default false). Allows inspection while rejecting changes.
Accessibility role: button and listbox
Keyboard: Tab, Enter, Space, Arrow keys, Home, End, Escape, Typeahead
Tokens: `--sheen-color-bg-raised`, `--sheen-color-border-control`, `--sheen-color-focus-ring`
Do:
- Use explicit options when availability is not a uniform interval.
Do not:
- Do not treat the selected wall time as an instant without a date and zone.
Example, Review slot:
```tsx
```
### TimeZoneSelect
An app-bounded IANA timezone combobox with stable SSR and hydration options.
Category: date and time
Props:
- `label: string` (required). Required visible combobox label.
- `options: readonly TimeZoneOption[]` (required). Explicit stable IANA IDs and app-localized labels; no host-derived default list.
- `value: TimeZone|null` (optional). App-owned Sheen TimeZone, or null.
- `defaultValue: TimeZone|null` (optional). Initial uncontrolled zone.
- `onValueChange: (value:TimeZone|null)=>void` (optional). Receives validated Sheen TimeZone values and clearing.
- `name: string` (optional). Native form field name for the IANA identifier.
- `form: string` (optional). Optional external form owner.
- `placeholder: string` (optional). Empty-selection text.
- `description: string` (optional). Associated instructions.
- `error: string` (optional). Associated field validation error.
- `pending: boolean` (optional; default false). Retains accepted options while an app-owned refresh is in flight.
- `resultsError: string` (optional). Safe app-owned option request error shown in the open list.
- `onRetry: ()=>void` (optional). Optional app retry action for a failed option request.
- `required: boolean` (optional; default false). Requires a selection.
- `disabled: boolean` (optional; default false). Disables interaction and projection.
- `readOnly: boolean` (optional; default false). Allows inspection while rejecting changes.
Accessibility role: combobox and listbox
Keyboard: Tab, Arrow keys, Home, End, Enter, Escape, Typeahead
Tokens: `--sheen-color-bg-raised`, `--sheen-color-border-control`, `--sheen-color-focus-ring`
Do:
- Commit one stable option list for server and client rendering.
Do not:
- Do not call Intl.supportedValuesOf during render; ICU lists can differ across hosts.
Example, Market timezone:
```tsx
```
## @gemologic/sheen-icons
### AccessibilityIcon
The statically importable accessibility semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, accessibility action:
```tsx
```
### AccountIcon
The statically importable account semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, account action:
```tsx
```
### ActivityIcon
The statically importable activity semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, activity action:
```tsx
```
### AddCircleIcon
The statically importable addCircle semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, addCircle action:
```tsx
```
### AddIcon
The statically importable add semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, add action:
```tsx
```
### AlertIcon
The statically importable alert semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, alert action:
```tsx
```
### AlignCenterIcon
The statically importable alignCenter semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, alignCenter action:
```tsx
```
### AlignJustifyIcon
The statically importable alignJustify semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, alignJustify action:
```tsx
```
### AlignLeftIcon
The statically importable alignLeft semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, alignLeft action:
```tsx
```
### AlignRightIcon
The statically importable alignRight semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, alignRight action:
```tsx
```
### ApiIcon
The statically importable api semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, api action:
```tsx
```
### AppleLogoIcon
The statically importable appleLogo semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, appleLogo action:
```tsx
```
### ArchiveIcon
The statically importable archive semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, archive action:
```tsx
```
### ArrowDownIcon
The statically importable arrowDown semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, arrowDown action:
```tsx
```
### ArrowLeftIcon
The statically importable arrowLeft semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, arrowLeft action:
```tsx
```
### ArrowRightIcon
The statically importable arrowRight semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, arrowRight action:
```tsx
```
### ArrowUpIcon
The statically importable arrowUp semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, arrowUp action:
```tsx
```
### ArrowUpRightIcon
The statically importable arrowUpRight semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, arrowUpRight action:
```tsx
```
### AtIcon
The statically importable at semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, at action:
```tsx
```
### AttachmentIcon
The statically importable attachment semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, attachment action:
```tsx
```
### BankIcon
The statically importable bank semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, bank action:
```tsx
```
### BarChartIcon
The statically importable barChart semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, barChart action:
```tsx
```
### BlockedIcon
The statically importable blocked semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, blocked action:
```tsx
```
### BoldIcon
The statically importable bold semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, bold action:
```tsx
```
### BookIcon
The statically importable book semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, book action:
```tsx
```
### BookmarkFilledIcon
The statically importable bookmarkFilled semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, bookmarkFilled action:
```tsx
```
### BookmarkIcon
The statically importable bookmark semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, bookmark action:
```tsx
```
### BotIcon
The statically importable bot semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, bot action:
```tsx
```
### BriefcaseIcon
The statically importable briefcase semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, briefcase action:
```tsx
```
### BugIcon
The statically importable bug semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, bug action:
```tsx
```
### BuildingIcon
The statically importable building semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, building action:
```tsx
```
### BulletListIcon
The statically importable bulletList semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, bulletList action:
```tsx
```
### CalendarAddIcon
The statically importable calendarAdd semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, calendarAdd action:
```tsx
```
### CalendarCheckIcon
The statically importable calendarCheck semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, calendarCheck action:
```tsx
```
### CalendarIcon
The statically importable calendar semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, calendar action:
```tsx
```
### CameraIcon
The statically importable camera semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, camera action:
```tsx
```
### CartIcon
The statically importable cart semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, cart action:
```tsx
```
### ChatIcon
The statically importable chat semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, chat action:
```tsx
```
### CheckIcon
The statically importable check semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, check action:
```tsx
```
### ChecklistIcon
The statically importable checklist semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, checklist action:
```tsx
```
### ChevronDoubleLeftIcon
The statically importable chevronDoubleLeft semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, chevronDoubleLeft action:
```tsx
```
### ChevronDoubleRightIcon
The statically importable chevronDoubleRight semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, chevronDoubleRight action:
```tsx
```
### ChevronDownIcon
The statically importable chevronDown semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, chevronDown action:
```tsx
```
### ChevronLeftIcon
The statically importable chevronLeft semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, chevronLeft action:
```tsx
```
### ChevronRightIcon
The statically importable chevronRight semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, chevronRight action:
```tsx
```
### ChevronsUpDownIcon
The statically importable chevronsUpDown semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, chevronsUpDown action:
```tsx
```
### ChevronUpIcon
The statically importable chevronUp semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, chevronUp action:
```tsx
```
### ClearFormattingIcon
The statically importable clearFormatting semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, clearFormatting action:
```tsx
```
### ClipboardIcon
The statically importable clipboard semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, clipboard action:
```tsx
```
### ClockIcon
The statically importable clock semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, clock action:
```tsx
```
### CloseIcon
The statically importable close semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, close action:
```tsx
```
### CloudDownloadIcon
The statically importable cloudDownload semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, cloudDownload action:
```tsx
```
### CloudIcon
The statically importable cloud semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, cloud action:
```tsx
```
### CloudOffIcon
The statically importable cloudOff semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, cloudOff action:
```tsx
```
### CloudRainIcon
The statically importable cloudRain semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, cloudRain action:
```tsx
```
### CloudUploadIcon
The statically importable cloudUpload semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, cloudUpload action:
```tsx
```
### CodeBlockIcon
The statically importable codeBlock semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, codeBlock action:
```tsx
```
### CodeIcon
The statically importable code semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, code action:
```tsx
```
### CollapseIcon
The statically importable collapse semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, collapse action:
```tsx
```
### ColumnsIcon
The statically importable columns semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, columns action:
```tsx
```
### CommandIcon
The statically importable command semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, command action:
```tsx
```
### CommentIcon
The statically importable comment semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, comment action:
```tsx
```
### CompassIcon
The statically importable compass semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, compass action:
```tsx
```
### ComposeIcon
The statically importable compose semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, compose action:
```tsx
```
### ContactsIcon
The statically importable contacts semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, contacts action:
```tsx
```
### CopyIcon
The statically importable copy semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, copy action:
```tsx
```
### CpuIcon
The statically importable cpu semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, cpu action:
```tsx
```
### CreditCardIcon
The statically importable creditCard semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, creditCard action:
```tsx
```
### CurrencyDollarIcon
The statically importable currencyDollar semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, currencyDollar action:
```tsx
```
### CurrencyEuroIcon
The statically importable currencyEuro semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, currencyEuro action:
```tsx
```
### CutIcon
The statically importable cut semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, cut action:
```tsx
```
### DashboardIcon
The statically importable dashboard semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, dashboard action:
```tsx
```
### DatabaseIcon
The statically importable database semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, database action:
```tsx
```
### DesktopIcon
The statically importable desktop semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, desktop action:
```tsx
```
### DiscordLogoIcon
The statically importable discordLogo semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, discordLogo action:
```tsx
```
### DonutChartIcon
The statically importable donutChart semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, donutChart action:
```tsx
```
### DownloadIcon
The statically importable download semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, download action:
```tsx
```
### DragHandleIcon
The statically importable dragHandle semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, dragHandle action:
```tsx
```
### DynamicIcon
An explicit full-registry icon lookup for names that are genuinely known only at runtime.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
- `name: string` (required). Runtime semantic name, validated against the complete registry.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use only when a literal or per-icon import cannot represent external runtime data.
Do not:
- Do not pay the full-registry bundle cost for a name known in source.
Example, Runtime lookup:
```tsx
```
### EditIcon
The statically importable edit semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, edit action:
```tsx
```
### EmojiIcon
The statically importable emoji semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, emoji action:
```tsx
```
### ErrorIcon
The statically importable error semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, error action:
```tsx
```
### ExpandIcon
The statically importable expand semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, expand action:
```tsx
```
### ExportIcon
The statically importable export semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, export action:
```tsx
```
### ExtensionIcon
The statically importable extension semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, extension action:
```tsx
```
### ExternalLinkIcon
The statically importable externalLink semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, externalLink action:
```tsx
```
### FileAddIcon
The statically importable fileAdd semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, fileAdd action:
```tsx
```
### FileArchiveIcon
The statically importable fileArchive semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, fileArchive action:
```tsx
```
### FileCodeIcon
The statically importable fileCode semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, fileCode action:
```tsx
```
### FileCsvIcon
The statically importable fileCsv semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, fileCsv action:
```tsx
```
### FileIcon
The statically importable file semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, file action:
```tsx
```
### FileImageIcon
The statically importable fileImage semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, fileImage action:
```tsx
```
### FilePdfIcon
The statically importable filePdf semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, filePdf action:
```tsx
```
### FileRemoveIcon
The statically importable fileRemove semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, fileRemove action:
```tsx
```
### FileTextIcon
The statically importable fileText semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, fileText action:
```tsx
```
### FilterIcon
The statically importable filter semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, filter action:
```tsx
```
### FlagIcon
The statically importable flag semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, flag action:
```tsx
```
### FolderAddIcon
The statically importable folderAdd semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, folderAdd action:
```tsx
```
### FolderIcon
The statically importable folder semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, folder action:
```tsx
```
### FolderOpenIcon
The statically importable folderOpen semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, folderOpen action:
```tsx
```
### ForwardIcon
The statically importable forward semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, forward action:
```tsx
```
### GaugeIcon
The statically importable gauge semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, gauge action:
```tsx
```
### GiftIcon
The statically importable gift semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, gift action:
```tsx
```
### GitBranchIcon
The statically importable gitBranch semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, gitBranch action:
```tsx
```
### GitCommitIcon
The statically importable gitCommit semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, gitCommit action:
```tsx
```
### GitDiffIcon
The statically importable gitDiff semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, gitDiff action:
```tsx
```
### GitForkIcon
The statically importable gitFork semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, gitFork action:
```tsx
```
### GithubLogoIcon
The statically importable githubLogo semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, githubLogo action:
```tsx
```
### GitlabLogoIcon
The statically importable gitlabLogo semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, gitlabLogo action:
```tsx
```
### GitMergeIcon
The statically importable gitMerge semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, gitMerge action:
```tsx
```
### GitPullRequestIcon
The statically importable gitPullRequest semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, gitPullRequest action:
```tsx
```
### GlobeIcon
The statically importable globe semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, globe action:
```tsx
```
### GoogleLogoIcon
The statically importable googleLogo semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, googleLogo action:
```tsx
```
### GridViewIcon
The statically importable gridView semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, gridView action:
```tsx
```
### HashIcon
The statically importable hash semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, hash action:
```tsx
```
### HeadingIcon
The statically importable heading semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, heading action:
```tsx
```
### HeadsetIcon
The statically importable headset semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, headset action:
```tsx
```
### HeartFilledIcon
The statically importable heartFilled semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, heartFilled action:
```tsx
```
### HeartIcon
The statically importable heart semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, heart action:
```tsx
```
### HelpIcon
The statically importable help semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, help action:
```tsx
```
### HiddenIcon
The statically importable hidden semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, hidden action:
```tsx
```
### HierarchyIcon
The statically importable hierarchy semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, hierarchy action:
```tsx
```
### HighlightIcon
The statically importable highlight semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, highlight action:
```tsx
```
### HistoryIcon
The statically importable history semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, history action:
```tsx
```
### HomeIcon
The statically importable home semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, home action:
```tsx
```
### Icon
A statically analyzable semantic icon marker replaced by the Sheen Vite integration.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
- `name: "add"|"remove"|"close"|"check"|"settings"|"search"|"chevronDown"|"chevronUp"|"chevronLeft"|"chevronRight"|"arrowLeft"|"arrowRight"|"arrowUp"|"arrowDown"|"menu"|"moreHorizontal"|"moreVertical"|"filter"|"sortAscending"|"sortDescending"|"refresh"|"download"|"upload"|"edit"|"trash"|"copy"|"externalLink"|"info"|"warning"|"error"|"success"|"calendar"|"clock"|"user"|"users"|"home"|"inbox"|"notifications"|"lock"|"unlock"|"visible"|"hidden"|"arrowUpRight"|"chevronsUpDown"|"chevronDoubleLeft"|"chevronDoubleRight"|"login"|"logout"|"expand"|"collapse"|"dragHandle"|"move"|"swap"|"sort"|"dashboard"|"sidebar"|"compass"|"globe"|"help"|"command"|"keyboard"|"addCircle"|"removeCircle"|"undo"|"redo"|"history"|"link"|"unlink"|"share"|"export"|"send"|"save"|"print"|"cut"|"clipboard"|"compose"|"archive"|"pin"|"unpin"|"bookmark"|"bookmarkFilled"|"star"|"starFilled"|"heart"|"heartFilled"|"flag"|"tag"|"zoomIn"|"zoomOut"|"sliders"|"blocked"|"sparkle"|"lightning"|"rocket"|"wrench"|"extension"|"power"|"qrCode"|"file"|"fileText"|"fileAdd"|"fileRemove"|"fileCode"|"fileImage"|"filePdf"|"fileCsv"|"fileArchive"|"folder"|"folderOpen"|"folderAdd"|"attachment"|"note"|"book"|"package"|"mail"|"mailOpen"|"chat"|"comment"|"reply"|"forward"|"phone"|"at"|"hash"|"quote"|"megaphone"|"notificationsOff"|"bot"|"microphone"|"microphoneOff"|"headset"|"translate"|"image"|"camera"|"video"|"play"|"pause"|"stop"|"skipForward"|"skipBack"|"volume"|"volumeLow"|"mute"|"music"|"cart"|"store"|"creditCard"|"wallet"|"receipt"|"bank"|"currencyDollar"|"currencyEuro"|"percent"|"gift"|"truck"|"barChart"|"lineChart"|"pieChart"|"donutChart"|"trendUp"|"trendDown"|"activity"|"gauge"|"table"|"desktop"|"laptop"|"mobile"|"tablet"|"cpu"|"wifi"|"wifiOff"|"code"|"codeBlock"|"terminal"|"gitBranch"|"gitCommit"|"gitMerge"|"gitPullRequest"|"gitFork"|"gitDiff"|"bug"|"database"|"server"|"cloud"|"cloudUpload"|"cloudDownload"|"cloudOff"|"key"|"api"|"webhook"|"hierarchy"|"workflow"|"network"|"layers"|"logs"|"shield"|"shieldCheck"|"alert"|"pending"|"verified"|"lightbulb"|"account"|"userAdd"|"userRemove"|"userCheck"|"contacts"|"idCard"|"organization"|"legal"|"briefcase"|"emoji"|"thumbsUp"|"thumbsDown"|"accessibility"|"bold"|"italic"|"underline"|"strikethrough"|"heading"|"text"|"clearFormatting"|"alignLeft"|"alignCenter"|"alignRight"|"alignJustify"|"bulletList"|"numberedList"|"checklist"|"indent"|"outdent"|"highlight"|"palette"|"layout"|"gridView"|"listView"|"columns"|"kanban"|"sun"|"moon"|"cloudRain"|"snowflake"|"timer"|"calendarAdd"|"calendarCheck"|"mapPin"|"map"|"navigate"|"building"|"githubLogo"|"gitlabLogo"|"googleLogo"|"appleLogo"|"windowsLogo"|"linkedinLogo"|"xLogo"|"discordLogo"|"slackLogo"|"youtubeLogo"` (required). Literal semantic registry name; dynamic values belong on DynamicIcon.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Configure sheenIcons with every icon set used by bundled themes.
Do not:
- Do not pass computed names; use DynamicIcon when the name is genuinely runtime data.
Example, Literal icon:
```tsx
```
### IdCardIcon
The statically importable idCard semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, idCard action:
```tsx
```
### ImageIcon
The statically importable image semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, image action:
```tsx
```
### InboxIcon
The statically importable inbox semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, inbox action:
```tsx
```
### IndentIcon
The statically importable indent semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, indent action:
```tsx
```
### InfoIcon
The statically importable info semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, info action:
```tsx
```
### ItalicIcon
The statically importable italic semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, italic action:
```tsx
```
### KanbanIcon
The statically importable kanban semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, kanban action:
```tsx
```
### KeyboardIcon
The statically importable keyboard semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, keyboard action:
```tsx
```
### KeyIcon
The statically importable key semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, key action:
```tsx
```
### LaptopIcon
The statically importable laptop semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, laptop action:
```tsx
```
### LayersIcon
The statically importable layers semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, layers action:
```tsx
```
### LayoutIcon
The statically importable layout semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, layout action:
```tsx
```
### LazyIcon
Resolves one semantic icon by runtime name through a per-icon dynamic import, without retaining the complete registry.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery. The label is present while loading and for unknown names.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions, also reserved by the loading placeholder.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
- `name: string` (required). Runtime semantic name. Unknown names render a visible dashed marker instead of throwing; map lucide names first with resolveLucideIconName.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`, `--sheen-color-border-control`, `--sheen-control-radius`
Do:
- Use for names that arrive from a server or schema at runtime.
- Await preloadIcons with the same names on the server and before client hydration when the first paint must show the glyph.
Do not:
- Do not use for names known in source; the literal Icon transform or a per-icon import has no loading state.
- Do not treat an unknown-name marker as an error the user can fix.
Example, Server-supplied name:
```tsx
```
Example, Lucide migration:
```tsx
const stored = "trash-2";
```
### LegalIcon
The statically importable legal semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, legal action:
```tsx
```
### LightbulbIcon
The statically importable lightbulb semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, lightbulb action:
```tsx
```
### LightningIcon
The statically importable lightning semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, lightning action:
```tsx
```
### LineChartIcon
The statically importable lineChart semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, lineChart action:
```tsx
```
### LinkedinLogoIcon
The statically importable linkedinLogo semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, linkedinLogo action:
```tsx
```
### LinkIcon
The statically importable link semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, link action:
```tsx
```
### ListViewIcon
The statically importable listView semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, listView action:
```tsx
```
### LockIcon
The statically importable lock semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, lock action:
```tsx
```
### LoginIcon
The statically importable login semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, login action:
```tsx
```
### LogoutIcon
The statically importable logout semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, logout action:
```tsx
```
### LogsIcon
The statically importable logs semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, logs action:
```tsx
```
### MailIcon
The statically importable mail semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, mail action:
```tsx
```
### MailOpenIcon
The statically importable mailOpen semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, mailOpen action:
```tsx
```
### MapIcon
The statically importable map semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, map action:
```tsx
```
### MapPinIcon
The statically importable mapPin semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, mapPin action:
```tsx
```
### MegaphoneIcon
The statically importable megaphone semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, megaphone action:
```tsx
```
### MenuIcon
The statically importable menu semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, menu action:
```tsx
```
### MicrophoneIcon
The statically importable microphone semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, microphone action:
```tsx
```
### MicrophoneOffIcon
The statically importable microphoneOff semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, microphoneOff action:
```tsx
```
### MobileIcon
The statically importable mobile semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, mobile action:
```tsx
```
### MoonIcon
The statically importable moon semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, moon action:
```tsx
```
### MoreHorizontalIcon
The statically importable moreHorizontal semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, moreHorizontal action:
```tsx
```
### MoreVerticalIcon
The statically importable moreVertical semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, moreVertical action:
```tsx
```
### MoveIcon
The statically importable move semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, move action:
```tsx
```
### MusicIcon
The statically importable music semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, music action:
```tsx
```
### MuteIcon
The statically importable mute semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, mute action:
```tsx
```
### NavigateIcon
The statically importable navigate semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, navigate action:
```tsx
```
### NetworkIcon
The statically importable network semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, network action:
```tsx
```
### NoteIcon
The statically importable note semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, note action:
```tsx
```
### NotificationsIcon
The statically importable notifications semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, notifications action:
```tsx
```
### NotificationsOffIcon
The statically importable notificationsOff semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, notificationsOff action:
```tsx
```
### NumberedListIcon
The statically importable numberedList semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, numberedList action:
```tsx
```
### OrganizationIcon
The statically importable organization semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, organization action:
```tsx
```
### OutdentIcon
The statically importable outdent semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, outdent action:
```tsx
```
### PackageIcon
The statically importable package semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, package action:
```tsx
```
### PaletteIcon
The statically importable palette semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, palette action:
```tsx
```
### PauseIcon
The statically importable pause semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, pause action:
```tsx
```
### PendingIcon
The statically importable pending semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, pending action:
```tsx
```
### PercentIcon
The statically importable percent semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, percent action:
```tsx
```
### PhoneIcon
The statically importable phone semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, phone action:
```tsx
```
### PieChartIcon
The statically importable pieChart semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, pieChart action:
```tsx
```
### PinIcon
The statically importable pin semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, pin action:
```tsx
```
### PlayIcon
The statically importable play semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, play action:
```tsx
```
### PowerIcon
The statically importable power semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, power action:
```tsx
```
### PrintIcon
The statically importable print semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, print action:
```tsx
```
### QrCodeIcon
The statically importable qrCode semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, qrCode action:
```tsx
```
### QuoteIcon
The statically importable quote semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, quote action:
```tsx
```
### ReceiptIcon
The statically importable receipt semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, receipt action:
```tsx
```
### RedoIcon
The statically importable redo semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, redo action:
```tsx
```
### RefreshIcon
The statically importable refresh semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, refresh action:
```tsx
```
### RemoveCircleIcon
The statically importable removeCircle semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, removeCircle action:
```tsx
```
### RemoveIcon
The statically importable remove semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, remove action:
```tsx
```
### ReplyIcon
The statically importable reply semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, reply action:
```tsx
```
### RocketIcon
The statically importable rocket semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, rocket action:
```tsx
```
### SaveIcon
The statically importable save semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, save action:
```tsx
```
### SearchIcon
The statically importable search semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, search action:
```tsx
```
### SendIcon
The statically importable send semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, send action:
```tsx
```
### ServerIcon
The statically importable server semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, server action:
```tsx
```
### SettingsIcon
The statically importable settings semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, settings action:
```tsx
```
### ShareIcon
The statically importable share semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, share action:
```tsx
```
### ShieldCheckIcon
The statically importable shieldCheck semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, shieldCheck action:
```tsx
```
### ShieldIcon
The statically importable shield semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, shield action:
```tsx
```
### SidebarIcon
The statically importable sidebar semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, sidebar action:
```tsx
```
### SkipBackIcon
The statically importable skipBack semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, skipBack action:
```tsx
```
### SkipForwardIcon
The statically importable skipForward semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, skipForward action:
```tsx
```
### SlackLogoIcon
The statically importable slackLogo semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, slackLogo action:
```tsx
```
### SlidersIcon
The statically importable sliders semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, sliders action:
```tsx
```
### SnowflakeIcon
The statically importable snowflake semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, snowflake action:
```tsx
```
### SortAscendingIcon
The statically importable sortAscending semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, sortAscending action:
```tsx
```
### SortDescendingIcon
The statically importable sortDescending semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, sortDescending action:
```tsx
```
### SortIcon
The statically importable sort semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, sort action:
```tsx
```
### SparkleIcon
The statically importable sparkle semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, sparkle action:
```tsx
```
### StarFilledIcon
The statically importable starFilled semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, starFilled action:
```tsx
```
### StarIcon
The statically importable star semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, star action:
```tsx
```
### StopIcon
The statically importable stop semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, stop action:
```tsx
```
### StoreIcon
The statically importable store semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, store action:
```tsx
```
### StrikethroughIcon
The statically importable strikethrough semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, strikethrough action:
```tsx
```
### SuccessIcon
The statically importable success semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, success action:
```tsx
```
### SunIcon
The statically importable sun semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, sun action:
```tsx
```
### SwapIcon
The statically importable swap semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, swap action:
```tsx
```
### TableIcon
The statically importable table semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, table action:
```tsx
```
### TabletIcon
The statically importable tablet semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, tablet action:
```tsx
```
### TagIcon
The statically importable tag semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, tag action:
```tsx
```
### TerminalIcon
The statically importable terminal semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, terminal action:
```tsx
```
### TextIcon
The statically importable text semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, text action:
```tsx
```
### ThumbsDownIcon
The statically importable thumbsDown semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, thumbsDown action:
```tsx
```
### ThumbsUpIcon
The statically importable thumbsUp semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, thumbsUp action:
```tsx
```
### TimerIcon
The statically importable timer semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, timer action:
```tsx
```
### TranslateIcon
The statically importable translate semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, translate action:
```tsx
```
### TrashIcon
The statically importable trash semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, trash action:
```tsx
```
### TrendDownIcon
The statically importable trendDown semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, trendDown action:
```tsx
```
### TrendUpIcon
The statically importable trendUp semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, trendUp action:
```tsx
```
### TruckIcon
The statically importable truck semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, truck action:
```tsx
```
### UnderlineIcon
The statically importable underline semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, underline action:
```tsx
```
### UndoIcon
The statically importable undo semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, undo action:
```tsx
```
### UnlinkIcon
The statically importable unlink semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, unlink action:
```tsx
```
### UnlockIcon
The statically importable unlock semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, unlock action:
```tsx
```
### UnpinIcon
The statically importable unpin semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, unpin action:
```tsx
```
### UploadIcon
The statically importable upload semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, upload action:
```tsx
```
### UserAddIcon
The statically importable userAdd semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, userAdd action:
```tsx
```
### UserCheckIcon
The statically importable userCheck semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, userCheck action:
```tsx
```
### UserIcon
The statically importable user semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, user action:
```tsx
```
### UserRemoveIcon
The statically importable userRemove semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, userRemove action:
```tsx
```
### UsersIcon
The statically importable users semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, users action:
```tsx
```
### VerifiedIcon
The statically importable verified semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, verified action:
```tsx
```
### VideoIcon
The statically importable video semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, video action:
```tsx
```
### VisibleIcon
The statically importable visible semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, visible action:
```tsx
```
### VolumeIcon
The statically importable volume semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, volume action:
```tsx
```
### VolumeLowIcon
The statically importable volumeLow semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, volumeLow action:
```tsx
```
### WalletIcon
The statically importable wallet semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, wallet action:
```tsx
```
### WarningIcon
The statically importable warning semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, warning action:
```tsx
```
### WebhookIcon
The statically importable webhook semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, webhook action:
```tsx
```
### WifiIcon
The statically importable wifi semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, wifi action:
```tsx
```
### WifiOffIcon
The statically importable wifiOff semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, wifiOff action:
```tsx
```
### WindowsLogoIcon
The statically importable windowsLogo semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, windowsLogo action:
```tsx
```
### WorkflowIcon
The statically importable workflow semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, workflow action:
```tsx
```
### WrenchIcon
The statically importable wrench semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, wrench action:
```tsx
```
### XLogoIcon
The statically importable xLogo semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, xLogo action:
```tsx
```
### YoutubeLogoIcon
The statically importable youtubeLogo semantic icon with Phosphor artwork in every icon set.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, youtubeLogo action:
```tsx
```
### ZoomInIcon
The statically importable zoomIn semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, zoomIn action:
```tsx
```
### ZoomOutIcon
The statically importable zoomOut semantic icon with Radix and Phosphor artwork.
Category: icons
Props:
- `decorative: boolean` (optional; default true). Decorative by default; set false together with a nonempty label for meaningful imagery.
- `label: string` (optional). Required accessible name when decorative is false.
- `size: "sm"|"md"|"lg"` (optional; default "md"). Token-sized icon dimensions.
- `tone: "muted"|"inherit"` (optional; default "muted"). Muted at rest or inherited from an interactive parent.
Accessibility role: img when meaningful; hidden when decorative
Keyboard: native behavior
Tokens: `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-color-fg-muted`
Do:
- Use semantic names so themes can switch artwork without changing application code.
Do not:
- Do not place an unlabeled meaningful icon where text is required.
Example, zoomOut action:
```tsx
```
## @gemologic/sheen-patterns
### AccountMenu
An app-owned account identity and action menu that aligns to its topbar or sidebar placement.
Category: application
Props:
- `account: AdminAccountModel` (required). App-owned identity copy, optional avatar, and Sheen menu items. No authentication or fetching is performed.
- `target: "topbar-end"|"sidebar-header"|"sidebar-footer"` (optional; default "topbar-end"). Semantic chrome target controlling logical dropdown or dropup alignment.
- `collapsed: boolean` (optional; default false). Icon-rail presentation. The composite button retains its explicit accessible name.
Accessibility role: button, menu
Keyboard: Tab, Enter, Space, ArrowDown, ArrowUp, Escape
Tokens: `--sheen-color-bg-raised`, `--sheen-color-border-control`
Do:
- Clear the model immediately when authorization changes.
Do not:
- Do not put authentication or account transport in the component.
Example, Topbar account:
```tsx
import { ThemeProvider } from "@gemologic/sheen";
{} }] }} />
```
### AdminApp
The Sheen application baseline with placement-safe chrome, scoped services, retained content, and responsive details.
Category: application
Props:
- `label: string` (required). Accessible name for the primary content scrolling region.
- `documentTitle: string` (optional). Optional accepted-route document title. Requires an app-owned MetaProvider.
- `preset: AdminPreset` (optional; default "standard"). Named deterministic placement configuration.
- `appearance: AdminAppearance` (optional). Independent semantic chrome, navigation, and action treatments. Exact brand colors use the documented --sheen-admin-color-* aliases.
- `theme: ThemeOverrides` (optional). Optional scoped theme, mode, accent, density, radius, motion, direction, and locale overrides. Omitted axes inherit; density alone defaults to comfortable.
- `placements: readonly AdminPlacementOverride[]` (optional). Per-zone validated overrides. A zone may occur at most once.
- `pathname: string` (required). Accepted app pathname for native navigation matching.
- `router: RouterAdapter` (optional). Optional app-injected navigation and unsaved-change adapter.
- `product: AdminProductModel` (optional). Optional app-owned product identity.
- `workspace: AdminWorkspaceModel` (optional). Optional app-owned workspace selector model.
- `primaryNavigation: AdminNavigationModel|readonly AdminNavigationModel[]` (optional). Optional app-owned primary navigation tree, or an ordered array of trees that each render as one labeled section. Links may expose named sibling action menus without nesting controls inside destinations.
- `secondaryNavigation: AdminNavigationModel|readonly AdminNavigationModel[]` (optional). Optional app-owned secondary navigation tree, or an ordered array of trees that each render as one labeled section. Section IDs are unique across both navigation zones.
- `currentView: JSX.Element` (optional). Optional breadcrumb or accepted current-view label.
- `globalSearch: JSX.Element` (optional). Optional app-owned search control. Sheen does not perform the search.
- `actionGroups: readonly AdminActionGroup[]` (optional). Semantic primary, utility, and help action groups with native Button or Link behavior. Optional group presentation='overflow' puts infrequent controls in a scoped, keyboard-operable popover; use icon factories for deferred rendering there.
- `notifications: AdminNotificationModel` (optional). Optional app-owned notification model.
- `account: AdminAccountModel` (optional). Optional app-owned account identity and menu. Sheen does not authenticate.
- `commandPalette: AdminCommandPaletteModel` (optional). Optional scoped command sources, state, persistence, and error hooks. The trigger renders on the server; the palette body is a client chunk that preloads on idle or trigger intent, and a first Ctrl/Cmd+K is queued until it arrives.
- `details: AdminDetailsModel` (optional). Optional controlled or URL-backed details identity and its single content owner.
- `statusBar: JSX.Element` (optional). Optional fixed application status content.
- `refreshing: boolean` (optional; default false). Marks accepted page content busy without replacing or remounting it.
- `contentReady: boolean` (optional). Forwarded route readiness for pane-scroll restoration.
- `sidebarCollapsed: boolean` (optional). Controlled desktop icon-rail state. Phone navigation remains a full drawer.
- `defaultSidebarCollapsed: boolean` (optional; default false). Server-resolved uncontrolled initial icon-rail state.
- `onSidebarCollapsedChange: (collapsed:boolean)=>void` (optional). Collapse proposals from the shell toggle and mod+/ shortcut.
- `sidebarPersistence: AdminSidebarPersistence` (optional). Explicit server-resolved initial preference plus app-owned save and safe error handling. No localStorage read occurs.
- `mobileSidebarOpen: boolean` (optional). Optional app-owned phone drawer state, independent of desktop collapse.
- `onMobileSidebarOpenChange: (open:boolean)=>void` (optional). Phone drawer visibility proposals.
- `shortcutHelp: boolean` (optional; default true). Enable the shared question-mark shortcut sheet and pending shortcut status. The sheet body loads on idle or intent; its trigger renders on the server.
- `development: boolean` (optional; default false). Enable development-only shortcut diagnostics.
- `authorizationKey: string` (optional). Optional diagnostic boundary identity. Apps must clear unauthorized models and content synchronously when it changes.
- `class: string` (optional). Additional class on the low-level AppShell root.
- `children: JSX.Element` (required). Accepted page content. Background refresh keeps this owner mounted.
Accessibility role: banner, navigation, main, complementary, contentinfo, dialog, status
Keyboard: Tab, Shift+Tab, ArrowLeft, ArrowRight, Home, End, Escape, mod+k, mod+/, ?
Tokens: `--sheen-admin-color-canvas`, `--sheen-admin-color-topbar`, `--sheen-admin-color-sidebar`, `--sheen-admin-color-details`, `--sheen-admin-color-status`, `--sheen-admin-color-nav-hover`, `--sheen-admin-color-nav-active`, `--sheen-admin-color-nav-active-fg`, `--sheen-color-focus-ring`
Do:
- Treat placements and appearance as stable server input; use themes and accents for global brand axes and admin aliases for shell-specific surfaces.
- Give each page one focal working region: a metric/chart overview, a collection toolbar and rows, a registry and create form, or settings with save/discard controls.
- Use at most one filled accent action per active task surface; dialogs own a separate task and destructive confirmations use danger semantics.
- Use semantic surface depth and explicit locale-aware numeric precision. Keep counts factual and consistent with the accepted workspace scope.
- Compose structured fields from named controls with group counts and field-specific errors; preserve native form values and drafts through refresh.
Do not:
- Do not remount AdminApp during refresh or use it as a global arbitrary-content modal manager.
- Do not invent historical trends, account-creation actions, or low-contrast text to fill a composition. Keep developer diagnostics in the explicit design lab.
- Do not count accent actions across unrelated runtime surfaces with a global JSX rule or animate layout content on mount.
Example, Standard admin baseline:
```tsx
import { ThemeProvider } from "@gemologic/sheen";
Application content
```
Example, Multiple navigation sections:
```tsx
import { ThemeProvider } from "@gemologic/sheen";
Application content
```
### AdminTopbar
A compact, named application control region with deterministic start, center, and end zones.
Category: application
Props:
- `label: string` (optional; default "Application controls"). Accessible region name.
- `start: JSX.Element` (optional). Start-aligned semantic chrome, resolved once.
- `center: JSX.Element` (optional). Center semantic chrome with bounded horizontal overflow.
- `end: JSX.Element` (optional). End-aligned semantic action chrome, resolved once.
Accessibility role: region
Keyboard: Tab, Shift+Tab
Tokens: `--sheen-color-bg-raised`, `--sheen-color-border`, `--sheen-space-inline-sm`
Do:
- Use AdminApp placement resolution for production shell chrome.
Do not:
- Do not duplicate a semantic control in more than one zone.
Example, Application controls:
```tsx
Northstar} center={Orders} end={} />
```
### AppShell
A viewport-constrained application grid with persistent chrome and a native content pane.
Category: application
Props:
- `label: string` (required). Required accessible name for the primary content scrolling region.
- `documentTitle: string` (optional). Optional accepted-route document title. Requires an app-owned MetaProvider and never derives copy from a URL.
- `header: JSX.Element` (optional). Fixed top chrome, rendered once in a native header.
- `sidebar: JSX.Element` (optional). Retained sidebar content, projected into desktop aside or phone modal without recreating its owner. Requires ThemeProvider; supply named navigation and constrain internal scrolling.
- `sidebarOpen: boolean` (optional). Controlled desktop sidebar visibility. Rejected proposals leave accepted state unchanged; hiding retains the sidebar DOM and removes it from interaction. Phone state is separate.
- `defaultSidebarOpen: boolean` (optional). Initial uncontrolled desktop visibility, true by default. Uncontrolled phone drawers independently start closed and reset when returning to desktop.
- `onSidebarOpenChange: (open:boolean)=>void` (optional). Proposed sidebar visibility from the shell control or mod+/ binding. Supply sidebarOpen to own acceptance and persistence.
- `sidebarBehavior: "hide"|"collapse"` (optional; default "hide"). Desktop toggle behavior. hide removes the sidebar from layout; collapse retains an interactive icon rail. Phone always uses the independent drawer.
- `mobileSidebarOpen: boolean` (optional). Controlled phone drawer state, independent of desktop sidebarOpen. Uncontrolled phone drawers start closed. Sidebar content requires ThemeProvider.
- `onMobileSidebarOpenChange: (open:boolean)=>void` (optional). Phone drawer visibility proposals from the toggle, shortcut, Escape, or outside press. Apps own controlled acceptance and persistence.
- `statusBar: JSX.Element` (optional). Fixed bottom chrome, rendered once in a native footer.
- `router: RouterAdapter` (optional). Optional app-injected router adapter for dirty navigation blocking. Retry must bypass only this registration once. Requires the shell to be inside ThemeProvider.
- `contentReady: boolean` (optional). Defaults to true. Set false while main-pane route content is incomplete so saved scroll restoration can wait for growth; true settles at the current clamped boundary.
- `shortcutHelp: boolean` (optional). Enable localized help, pending indicator, global question-mark binding, and development-only mod+shift+d theme cycling. The help trigger renders on the server; the sheet body loads on idle or intent and a first question-mark press is queued. Requires app-owned ThemeProvider and ShortcutProvider ancestors; defaults to false. Apps should enable this even when character shortcuts are disabled. Development policy comes from ShortcutProvider.
Accessibility role: main, complementary, banner, contentinfo
Keyboard: Tab, Shift+Tab, PageUp, PageDown
Tokens: `--sheen-color-bg`, `--sheen-color-border`
Do:
- Load the patterns stylesheet alongside sheen styles.
- Use one shell per document; compare complete shells in separate iframes.
Do not:
- Do not remount the shell during background refresh.
- Do not treat the initial layout as completed router or mobile-drawer integration.
Example, Application frame:
```tsx
import { MetaProvider } from "@solidjs/meta";
Workspace} statusBar={Ready}>
Application content
```
Example, Shared shortcut help:
```tsx
import { ThemeProvider, ShortcutProvider } from "@gemologic/sheen";
Application content
```
### AuthLayout
A deterministic authentication page frame with focused and responsive brand-split presentations.
Category: application
Props:
- `presentation: "focused"|"brand-split"` (optional; default "focused"). Centered focused layout or two-pane brand-split layout. The split mode requires its aside contract.
- `aside: JSX.Element` (optional). Required product context, illustration, or testimonial in brand-split mode.
- `asideLabel: string` (optional). Required accessible name for the brand-split complementary region.
- `asidePosition: AuthLayoutAsidePosition` (optional; default "start"). Logical placement of the brand region in split mode.
- `ref: HTMLElement|((element:HTMLElement)=>void)` (optional). Native main-landmark reference.
- `label: string` (required). Required accessible name for the authentication page's main landmark.
- `brand: JSX.Element` (required). Persistent app-owned product identity displayed above the authentication surface.
- `children: JSX.Element` (required). Authentication controls and status. The application owns providers, requests, errors, redirects, and session state.
- `footer: JSX.Element` (optional). Optional support, privacy, terms, or implementation links below the authentication surface.
- `contentWidth: AuthLayoutContentWidth` (optional; default "md"). Bounded authentication-content width.
Accessibility role: main, complementary, section, heading, footer
Keyboard: Tab, Shift+Tab
Tokens: `--sheen-color-bg`, `--sheen-color-bg-raised`, `--sheen-color-bg-subtle`, `--sheen-color-border`, `--sheen-color-accent-subtle`, `--sheen-space-section`, `--sheen-elevation-raised`
Do:
- Render AuthLayout as the page's single main landmark.
- Keep provider configuration, network requests, errors, redirects, and session state in the application.
- Use complete server-known brand and authentication markup so hydration has one owner.
Do not:
- Do not mount AuthLayout inside AppShell or another main landmark.
- Do not put secrets, authorization codes, or raw identity-provider errors in client markup.
- Do not branch the initial layout on browser width; the split collapse is CSS-only.
Example, Low-level focused frame:
```tsx
import { Button } from "@gemologic/sheen";
Northstar}>
```
### BrandSplitAuthLayout
A branded two-pane authentication starter that collapses to the focused card without replacing content.
Category: application
Props:
- `aside: JSX.Element` (required). Required app-owned product context, illustration, or testimonial. It stays in the DOM and is visually hidden in the narrow focused presentation.
- `asideLabel: string` (required). Required accessible name for the complementary brand region.
- `asidePosition: AuthLayoutAsidePosition` (optional; default "start"). Logical start or end placement of the brand region.
- `ref: HTMLElement|((element:HTMLElement)=>void)` (optional). Native main-landmark reference.
- `brand: JSX.Element` (required). Persistent app-owned product identity above the authentication card.
- `title: string` (required). Required visible page heading and accessible main-landmark name.
- `description: JSX.Element` (optional). Optional provider, organization, or next-step guidance below the heading.
- `children: JSX.Element` (required). App-owned authentication controls and live status.
- `footer: JSX.Element` (optional). Optional support and legal destinations below the card.
- `headingLevel: 1|2|3|4|5|6` (optional; default 1). Semantic heading level for the visible authentication title.
- `contentWidth: AuthLayoutContentWidth` (optional; default "md"). Bounded card width.
Accessibility role: main, complementary, section, heading, footer
Keyboard: Tab, Shift+Tab
Tokens: `--sheen-color-bg`, `--sheen-color-bg-raised`, `--sheen-color-bg-subtle`, `--sheen-color-border`, `--sheen-color-accent-subtle`, `--sheen-space-section`, `--sheen-elevation-raised`
Do:
- Keep the brand region supportive and the authentication action visually dominant.
- Supply a concise aside label and meaningful text alternatives for informative artwork.
- Verify the CSS-only narrow presentation at 200 and 400 percent zoom.
Do not:
- Do not put required authentication instructions only in the brand region because it is hidden on narrow screens.
- Do not autoplay media or animate layout content on mount.
- Do not reorder the form DOM to follow the aside's visual placement.
Example, Product context and SSO:
```tsx
import { Button } from "@gemologic/sheen";
Northstar} title="Sign in" description="Use your work account." asideLabel="Why teams use Northstar" aside={
One calm workspace for every operation.
}>
```
### CtaBand
A closing call-to-action panel with heading, supporting copy, and actions.
Category: marketing
Props:
- `title: string` (required). Required nonempty heading and accessible section name.
- `eyebrow: string` (optional). Optional short kicker above the heading.
- `description: JSX.Element` (optional). Optional supporting copy below the heading.
- `actions: JSX.Element` (required). Required calls to action. Use Link for destinations and Button for in-page actions.
- `headingLevel: 2|3|4|5|6` (optional; default 2). Semantic heading level.
Accessibility role: region, heading
Keyboard: Tab, Shift+Tab
Tokens: `--sheen-color-bg-raised`, `--sheen-color-border`, `--sheen-color-accent`, `--sheen-elevation-raised`, `--sheen-space-section`
Do:
- Use one CtaBand near the end of a page.
- Repeat the hero's primary action rather than inventing a new one.
Do not:
- Do not stack several CtaBands.
- Do not use it for alerts or status; use Callout or Alert.
Example, Closing call to action:
```tsx
import { Link } from "@gemologic/sheen";
Free for open-source projects.
} actions={Get started} />
```
### DataTablePage
Composes page header, app actions, saved-view controls, table-owned query and selection chrome, and explicit regional states.
Category: application
Props:
- `title: string` (required). Visible page title and accessible loading-region label.
- `headingLevel: 1|2|3|4|5|6` (optional; default 1). Semantic heading level for the page title.
- `breadcrumb: JSX.Element` (optional). Optional breadcrumb rendered above the title.
- `headerActions: JSX.Element` (optional). Optional page-level actions beside the title.
- `tabs: JSX.Element` (optional). Optional page tabs below the title row.
- `toolbarLabel: string` (required). Required accessible name for the app-action toolbar.
- `toolbarGroups: readonly ToolbarGroup[]` (optional). Stable app action groups; whole trailing groups overflow together.
- `views: DataTablePageViews` (optional). Controlled app-backed saved-view records, selection, draft name, pending/error state, and operation callbacks.
- `state: DataTablePageState` (optional; default "ready"). Ready content or an authorization-safe not-found, server-error, or permission-denied replacement.
- `loadingPhase: "idle"|"cold"|"refresh"` (optional; default "idle"). Idle, delayed cold fallback, or retained-content refresh presentation.
- `loadingFallback: JSX.Element` (required). Layout-matched cold-load placeholder reserved in server markup.
- `errorTitle: string` (optional). Optional localized title overriding the selected regional error default.
- `errorDescription: string` (optional). Optional localized regional error detail.
- `onRetry: ()=>void|Promise` (optional). Optional regional error retry action.
- `status: JSX.Element` (optional). Optional page status/footer content.
- `children: JSX.Element` (required). The DataTable owner. Its actions prop owns row, context, and selection action behavior.
Accessibility role: region, heading, toolbar, form, alert
Keyboard: Tab, Shift+Tab, ArrowLeft, ArrowRight, Home, End, Enter, Space, Escape
Tokens: `--sheen-color-bg`, `--sheen-color-border`, `--sheen-color-danger-fg`, `--sheen-space-block-sm`, `--sheen-space-inline-sm`
Do:
- Keep saved-view persistence and state application in the app adapter.
- Let the child DataTable own search, filters, result counts, columns, and export controls.
- Define DataTable actions once so row context and selection controls cannot drift.
- Use refresh to retain accepted table DOM; use permission-denied to remove unauthorized content immediately.
Do not:
- Do not mirror DataTable query or selection controls into the page toolbar.
- Do not show a cold fallback during background refresh.
- Do not use saved-view records from localStorage as an implicit per-user persistence layer.
Example, Continuous client table page:
```tsx
Loading accounts}>Accepted table region
```
### DetailsPanel
One retained detail-content owner with docked, accessible-resizable, and modal Sheet presentations.
Category: application
Props:
- `panelId: string` (required). Stable app or URL-backed identity for the accepted detail record.
- `title: string` (required). Visible panel heading and accessible name.
- `open: boolean` (required). App-owned visibility. Closed content remains mounted and inert while the model exists.
- `presentation: "docked"|"sheet"` (optional; default "docked"). Deterministic docked or Sheet behavior. AdminApp changes this without replacing content.
- `onOpenChange: (open:boolean)=>void` (required). Visibility proposal from close, backdrop, or Escape.
- `returnFocus: ()=>HTMLElement` (optional). Optional surviving focus origin used when closing.
- `resizable: boolean` (optional; default false). Expose a pointer and keyboard separator in docked presentation.
- `width: number` (optional). Controlled width in CSS pixels.
- `defaultWidth: number` (optional; default 360). Initial uncontrolled width in CSS pixels.
- `minWidth: number` (optional; default 280). Minimum accepted width in CSS pixels.
- `maxWidth: number` (optional; default 640). Maximum accepted width in CSS pixels.
- `onWidthChange: (width:number)=>void` (optional). Accepted resize proposal for app persistence or controlled state.
- `closeLabel: string` (optional; default "Close details"). Localized close-control and backdrop label.
- `children: JSX.Element` (required). The single accepted details content owner, never duplicated between presentations.
Accessibility role: complementary, dialog, separator
Keyboard: Tab, Shift+Tab, Escape, ArrowLeft, ArrowRight, Home, End
Tokens: `--sheen-color-bg-raised`, `--sheen-color-border-control`, `--sheen-color-focus-ring`
Do:
- Keep panelId URL-backed or controlled and pass server-resolved presentation inputs when rendering standalone.
Do not:
- Do not render separate desktop and mobile copies of the content.
Example, Docked inspector:
```tsx
import { ThemeProvider } from "@gemologic/sheen";
{}} resizable>
Accepted detail
```
### ErrorState
A regional error presentation with app-owned retry and safe rejection feedback.
Category: application
Props:
- `kind: "not-found"|"server"|"permission-denied"` (optional). Not-found, server, or permission-denied presentation; defaults to server.
- `title: string` (optional). Nonempty visible region name; defaults to the scoped message for the error kind.
- `headingLevel: 1|2|3|4|5|6` (optional). Semantic heading level, default 2; visual heading size stays compact.
- `description: string` (optional). App-localized safe explanation. Do not pass secrets or raw transport errors.
- `onRetry: ()=>void|Promise` (optional). Optional app-owned retry callback. Concurrent attempts are suppressed; rejection shows a scoped generic message. Success does not remove the region.
Accessibility role: region, status
Keyboard: Tab, Shift+Tab, Enter, Space
Tokens: `--sheen-color-border`, `--sheen-color-fg-muted`, `--sheen-space-block-sm`
Do:
- Keep authorized existing content mounted beside a refresh error.
- Let the app own retry requests and region dismissal.
Do not:
- Do not retain unauthorized content after a permission change.
- Do not expose raw exception messages.
- Do not offer retry when the app has no meaningful retry action.
Example, Permission boundary:
```tsx
```
### Faq
A titled question list whose answers expand in place through Sheen's Accordion.
Category: marketing
Props:
- `title: string` (required). Required nonempty section heading and accessible section name.
- `eyebrow: string` (optional). Optional short kicker above the heading.
- `description: JSX.Element` (optional). Optional supporting copy, such as a contact link for unanswered questions.
- `items: readonly FaqItem[]` (required). Questions with unique stable `id`, nonempty `question`, and `answer` content. Answers render on the server while collapsed.
- `value: string[]` (optional). Controlled expanded item IDs. Omit for uncontrolled state.
- `defaultValue: string[]` (optional). Initially expanded item IDs for uncontrolled state.
- `onValueChange: (value:string[])=>void` (optional). Receives the next expanded item IDs.
- `multiple: boolean` (optional; default true). Allows several answers open at once.
- `headingLevel: MarketingSectionLevel` (optional; default 2). Semantic level of the section heading; questions use the next level.
Accessibility role: region, heading, button (aria-expanded)
Keyboard: Tab, Shift+Tab, Enter, Space, ArrowDown, ArrowUp, Home, End
Tokens: `--sheen-color-fg-muted`, `--sheen-space-section`, `--sheen-text-body-size`
Do:
- Phrase each question as a reader would ask it.
- Keep answers short and link to full documentation.
Do not:
- Do not hide essential pricing or legal terms only inside a collapsed answer.
- Do not nest another Accordion inside an answer.
Example, Common questions:
```tsx
MIT. }, { id: "ssr", question: "Does it render on the server?", answer:
Yes, every component renders complete server markup.
}]} />
```
### FeatureGrid
A titled section of feature summaries in a responsive two- to four-column grid.
Category: marketing
Props:
- `title: string` (required). Required nonempty section heading and accessible section name.
- `eyebrow: string` (optional). Optional short kicker above the heading.
- `description: JSX.Element` (optional). Optional supporting copy below the heading.
- `items: readonly FeatureGridItem[]` (required). Features with unique stable `id`, nonempty `title`, `description`, and optional decorative `icon`. IDs key DOM identity.
- `columns: 2|3|4` (optional; default 3). Maximum columns on wide containers; the grid steps down to two and then one as the section narrows.
- `headingLevel: MarketingSectionLevel` (optional; default 2). Semantic level of the section heading; feature titles use the next level.
Accessibility role: region, heading, list
Keyboard: Tab, Shift+Tab
Tokens: `--sheen-color-border`, `--sheen-color-bg-subtle`, `--sheen-color-fg-muted`, `--sheen-control-h-lg`, `--sheen-space-section`, `--sheen-text-h4-size`
Do:
- Keep each description to one or two sentences.
- Use icons from @gemologic/sheen-icons; they are decorative here.
Do not:
- Do not use FeatureGrid for navigation cards; use links in a list instead.
- Do not mix items with and without icons.
Example, Three features:
```tsx
```
### FocusedAuthLayout
A centered authentication card for concise OAuth, OIDC, SSO, or credential flows.
Category: application
Props:
- `ref: HTMLElement|((element:HTMLElement)=>void)` (optional). Native main-landmark reference.
- `brand: JSX.Element` (required). Persistent app-owned product identity above the authentication card.
- `title: string` (required). Required visible page heading and accessible main-landmark name.
- `description: JSX.Element` (optional). Optional provider, organization, or next-step guidance below the heading.
- `children: JSX.Element` (required). App-owned authentication controls and live status.
- `footer: JSX.Element` (optional). Optional support and legal destinations below the card.
- `headingLevel: 1|2|3|4|5|6` (optional; default 1). Semantic heading level for the visible authentication title.
- `contentWidth: AuthLayoutContentWidth` (optional; default "sm"). Bounded card width.
Accessibility role: main, section, heading, footer
Keyboard: Tab, Shift+Tab
Tokens: `--sheen-color-bg`, `--sheen-color-bg-raised`, `--sheen-color-border`, `--sheen-color-fg-muted`, `--sheen-space-section`, `--sheen-elevation-raised`
Do:
- Prefer this layout when authentication is one or two provider actions.
- Give every provider action explicit visible text.
- Keep errors beside the controls and retain the same form owner while retrying.
Do not:
- Do not turn a provider button into a link unless it performs immediate URL navigation.
- Do not imply that the layout performs OAuth or stores credentials.
- Do not replace the card with a spinner during authentication.
Example, OIDC-only sign in:
```tsx
import { Button } from "@gemologic/sheen";
Northstar} title="Welcome back" description="Use your organization account.">
```
### Hero
The opening section of a public page with eyebrow, display heading, lead, actions, and optional media.
Category: marketing
Props:
- `title: string` (required). Required nonempty page heading and accessible section name.
- `eyebrow: string` (optional). Optional short kicker above the heading.
- `lead: JSX.Element` (optional). Optional supporting paragraph or paragraphs below the heading.
- `actions: JSX.Element` (optional). Optional primary and secondary calls to action. Use Link for destinations and Button for in-page actions.
- `media: JSX.Element` (optional). Optional screenshot, illustration, or live preview shown beside the copy on wide containers and below it on narrow ones.
- `headingLevel: 1|2` (optional; default 1). Semantic heading level. Use 1 for the page's opening hero.
- `align: "start"|"center"` (optional; default "start"). Copy alignment. Centered alignment suits heroes without media.
Accessibility role: region (section labelled by its heading), heading
Keyboard: Tab, Shift+Tab
Tokens: `--sheen-text-h1-size`, `--sheen-text-body-size`, `--sheen-color-fg-muted`, `--sheen-color-accent`, `--sheen-space-section`, `--sheen-space-block-lg`
Do:
- Keep the title short enough to scan in two lines.
- Give media its own accessible name or mark it decorative.
- Lead with one primary action and at most one secondary action.
Do not:
- Do not animate hero content on mount.
- Do not hide the hero behind a client-only branch; it is the page's first content.
Example, Product hero:
```tsx
import { Link } from "@gemologic/sheen";
Accessible SolidJS components with server-complete markup.} actions={<>Get startedRead the docs>} />
```
### ListDetailLayout
A persistent URL-driven list and detail workspace with phone focus handoff and pane scroll continuity.
Category: application
Props:
- `router: RouterAdapter` (required). Application router adapter whose accepted location selects the active item.
- `items: readonly ListDetailItem[]` (required). Stable-ID local destinations shown in the list pane.
- `listLabel: string` (required). Accessible name for the list scroll region.
- `detailLabel: string` (required). Accessible name for the persistent detail scroll region.
- `listHref: string` (required). Local destination used by the phone back link.
- `backLabel: string` (required). Localized visible label for the phone back link.
- `detail: JSX.Element` (required). Accepted route detail content; keep retained content here during background refresh.
- `emptyDetail: JSX.Element` (optional). Optional desktop content shown when the URL matches no item.
- `detailReady: boolean` (optional). False while accepted detail content cannot yet restore its saved scroll position.
- `detailPaneId: string` (optional). Stable restoration identity when more than one layout can coexist.
Accessibility role: region, list, link
Keyboard: Tab, Shift+Tab, ArrowUp, ArrowDown, Home, End, Enter
Tokens: `--sheen-color-border`, `--sheen-color-bg`, `--sheen-color-bg-raised`, `--sheen-color-bg-hover`, `--sheen-color-bg-selected`, `--sheen-color-fg-muted`, `--sheen-color-focus-ring`, `--sheen-color-focus-ring-offset`
Do:
- Keep the layout mounted in a route layout so list DOM and scroll survive detail navigation.
- Drive detail content from the router's accepted location and retain it during revalidation.
Do not:
- Do not mirror URL selection into optimistic local state.
- Do not replace the layout or either scroll viewport during background refresh.
Example, URL-selected detail:
```tsx
const router = { location: () => ({ pathname: "/inbox/one", search: "", hash: "" }), navigate: () => {}, block: () => () => {} };
First message} />
```
### LoadingState
Layout-reserving cold skeletons and delayed refresh progress without remounting content.
Category: application
Props:
- `label: string` (required). Required nonempty accessible region name.
- `phase: "idle"|"cold"|"refresh"` (required). Explicit app-owned idle/cold/refresh phase. Cold hides content; refresh preserves it. Timers begin after hydration or a phase change.
- `fallback: JSX.Element` (required). Required noninteractive skeleton matching the app's layout. Cold load reserves its size immediately and reveals it after 200ms.
Accessibility role: region, progressbar
Keyboard: Tab, Shift+Tab
Tokens: `--sheen-color-accent`, `--sheen-duration-slow`
Do:
- Keep the same component mounted while refreshing.
- Supply a layout-matched skeleton and app-owned phase.
- Handle errors and accepted data in the app.
Do not:
- Do not use cold phase for ordinary revalidation.
- Do not retain unauthorized data after an account or permission boundary.
- Do not put interactive controls in the fallback.
Example, Refreshing existing content:
```tsx
import { Skeleton } from "@gemologic/sheen";
}>
```
### Checkbox
A labeled native checkbox with controlled, uncontrolled, and mixed presentation.
Category: forms
Props:
- `id: string` (optional). Root container ID, also used to derive stable internal IDs.
- `ref: HTMLDivElement|((element:HTMLDivElement)=>void)` (optional). Root container reference; use inputRef for the native input.
- `onPointerDown: NonNullable>>` (optional). Native root pointer-down handler, composed with primitive focus behavior.
- `aria-describedby: string` (optional). Extra description IDs on the native input, merged with description and error. With TooltipTrigger, pass its aria-describedby here and its ref as inputRef.
- `description: string` (optional). Supporting text associated with the native input.
- `error: string` (optional). Associated validation error; marks the input invalid without moving focus.
- `checked: boolean` (optional). App-owned checked value, retained across form reset unless the app changes it.
- `defaultChecked: boolean` (optional; default false). Initial uncontrolled checked value restored on form reset.
- `indeterminate: boolean` (optional; default false). App-owned mixed presentation; clear it explicitly when resolving a partial selection.
- `onCheckedChange: ((checked:boolean)=>void)` (optional). Receives requested checked changes, not a DOM event.
- `disabled: boolean` (optional; default false). Disables activation, keyboard focus, and form submission.
- `readOnly: boolean` (optional; default false). Prevents changes while retaining focus and submission.
- `required: boolean` (optional; default false). Requires this checkbox to be checked for native form validation.
- `name: string` (optional). Native form field name; omitted or empty names are not submitted.
- `form: string` (optional). ID of an owning form outside the input's ancestry; forwarded to the native input.
- `value: string` (optional; default "on"). Submitted value when checked.
- `inputRef: ((element:HTMLInputElement)=>void)` (optional). Receives the native input; ref and remaining DOM props belong to the root container.
- `label: string` (optional). Visible label. Supply exactly one of label, aria-label, or aria-labelledby.
- `aria-label: string` (optional). Accessible name on the native input when no visible label fits, such as a table row selector.
- `aria-labelledby: string` (optional). ID of existing visible text, such as a row header, that names the native input.
Accessibility role: checkbox
Keyboard: Tab, Shift+Tab, Space
Tokens: `--sheen-color-border-control`, `--sheen-color-accent`, `--sheen-color-focus-ring`, `--sheen-icon-size-md`
Do:
- Use mixed state for partial selections and update it explicitly.
- Use aria-label or aria-labelledby only where a visible label would repeat nearby text.
Do not:
- Do not use a checkbox for an immediate on/off setting that needs switch semantics.
Example, Opt in:
```tsx
```
Example, Table row selector:
```tsx
```
### CheckboxGroup
A native fieldset of independent choices with shared selection ownership.
Category: forms
Props:
- `label: string` (required). Required visible group legend.
- `options: readonly CheckboxOption[]` (required). Options keyed by unique value; replacing objects or reordering retains surviving controls.
- `value: readonly string[]` (optional). App-owned selected values; reset does not change them unless the app does.
- `defaultValue: readonly string[]` (optional). Captured uncontrolled initial selection restored by uncanceled reset.
- `onValueChange: (value:string[])=>void` (optional). Receives a fresh deduplicated selection array on changes.
- `description: string` (optional). Supporting instructions associated with the fieldset.
- `error: string` (optional). Group validation message; marks the fieldset invalid without moving focus.
- `readOnly: boolean` (optional; default false). Prevents option changes while retaining focus and form values.
Accessibility role: group
Keyboard: Tab, Shift+Tab, Space
Tokens: `--sheen-space-block-sm`, `--sheen-color-fg-muted`, `--sheen-color-danger-fg`
Do:
- Use unique stable values and short group legends.
- Validate minimum selections in the app and provide a group error.
Do not:
- Do not mark every checkbox required to require at least one selection.
Example, Alert channels:
```tsx
```
### Cluster
Row alias for wrapping groups of related controls.
Category: layout
Props:
- `wrap: boolean` (optional; default true). Wrap onto additional lines when inline space is exhausted.
- `gap: Spacing` (optional; default "md"). Role-based spacing that follows the active density.
- `align: Alignment` (optional; default "center"). Cross-axis alignment without changing DOM or keyboard order.
- `justify: Justification` (optional; default "start"). Main-axis distribution without reversing content order.
Accessibility role: presentation layout
Keyboard: native behavior
Tokens: `--sheen-space-block-md`, `--sheen-space-inline-md`
Do:
- Preserve logical DOM order and use token spacing.
Do not:
- Do not use layout wrappers to invent inaccessible keyboard order.
Example, Cluster composition:
```tsx
```
### Code
Inline code, rendered as code with the mono type role. Syntax highlighting belongs to CodeBlock.
Category: typography
Props:
Accessibility role: code
Keyboard: native behavior
Tokens: `--sheen-font-sans`, `--sheen-font-mono`, `--sheen-color-fg`, `--sheen-color-fg-muted`
Do:
- Use visible text as well as color to communicate meaning.
Do not:
- Do not use low-contrast subtle tokens for meaningful text.
Example, Code example:
```tsx
workspace.id
```
### Collapsible
A native disclosure button with persistent, inert-when-closed content.
Category: navigation
Props:
- `label: string` (required). Visible disclosure-button label.
- `open: boolean` (optional). App-owned expanded state; owners may reject requested changes.
- `defaultOpen: boolean` (optional; default false). Initial uncontrolled expanded state, including SSR.
- `onOpenChange: (open:boolean)=>void` (optional). Requested expanded-state changes.
- `disabled: boolean` (optional; default false). Disables user activation without hiding already expanded content.
Accessibility role: button with aria-expanded and aria-controls
Keyboard: Tab, Shift+Tab, Enter, Space
Tokens: `--sheen-color-fg-muted`, `--sheen-space-block-sm`, `--sheen-duration-normal`, `--sheen-ease-standard`
Do:
- Keep a stable disclosure owner while its content refreshes.
- Use independent disclosures for independent sections.
Do not:
- Do not use a disclosure as a substitute for route navigation.
- Do not put interactive elements inside its label.
Example, Advanced settings:
```tsx
```
### Combobox
Editable single selection with retained async results.
Category: forms
Props:
- `value: string|null` (optional). Controlled selected value; null explicitly clears selection.
- `defaultValue: string|null` (optional). Initial uncontrolled selected value.
- `onValueChange: (value:string|null)=>void` (optional). Receives committed option values, never free-form input.
- `label: string` (required). Required visible label.
- `options: readonly ComboboxOption[]` (required). Accepted options with unique nonempty values and labels.
- `name: string` (optional). Native hidden-select form name.
- `form: string` (optional). Optional external form ID.
- `placeholder: string` (optional). Text shown while the editable input is empty.
- `description: string` (optional). Supporting text associated with the input.
- `error: string` (optional). Field validation text and invalid state.
- `disabled: boolean` (optional; default false). Disables input, selection, and submission.
- `readOnly: boolean` (optional; default false). Allows inspection but rejects edits.
- `required: boolean` (optional; default false). Requires a committed selection for native form submission.
- `filter: ComboboxFilter` (optional; default "contains"). Built-in label filter, or false when the app supplies externally filtered options.
- `onInputChange: (value:string)=>void` (optional). Receives editable query changes; the app owns debounce, cancellation, and request ordering.
- `pending: boolean` (optional; default false). Retains the last accepted result nodes and prevents stale selection while the next result set is pending.
- `resultsError: string` (optional). Nonblocking async-result error; field validation remains separate.
- `onRetry: ()=>void` (optional). Optional retry action shown with resultsError.
- `inputRef: (element:HTMLInputElement)=>void` (optional). Receives the visible native input.
Accessibility role: combobox
Keyboard: ArrowDown, ArrowUp, Home, End, Enter, Escape
Tokens: `--sheen-color-bg-inset`, `--sheen-color-bg-raised`, `--sheen-color-border-control`, `--sheen-color-focus-ring`
Do:
- Set pending before replacing externally fetched options, then publish the accepted result set atomically.
Do not:
- Do not commit free-form query text as the selected value.
Example, App-owned results:
```tsx
```
### CommandPalette
Searches static, remote and registered shortcut commands with retained refresh results and app-owned recents.
Category: overlays
Props:
- `sources: readonly CommandPaletteSource[]` (required). Static and abortable remote command sources with stable IDs. Each command may add render functions for a decorative leading icon and trailing content, such as a Kbd hint or Badge, which becomes the option's description; its label remains the accessible name.
- `open: boolean` (optional). Controlled open state.
- `defaultOpen: boolean` (optional; default false). Initial uncontrolled open state.
- `onOpenChange: (open:boolean)=>void` (optional). Receives open-state requests.
- `recents: CommandPaletteRecents` (optional). Server-known recent IDs plus app-owned persistence.
- `shortcutScope: string` (optional; default "global"). Scope where mod+k opens the mounted palette.
- `onSourceError: (sourceId:string,error:unknown)=>void` (optional). Reports a failed remote source without clearing accepted results.
- `onCommandError: (commandId:string,error:unknown)=>void` (optional). Reports a selected command failure.
- `class: string` (optional). Additional class on the command root.
Accessibility role: dialog containing a combobox and listbox
Keyboard: mod+k, ArrowUp, ArrowDown, Enter, Escape
Tokens: `--sheen-color-bg-raised`, `--sheen-color-border`, `--sheen-color-bg-selected`, `--sheen-elevation-overlay`
Do:
- Provide stable command IDs and server-known initial remote results.
- Keep trailing text short and supplementary to the label.
Do not:
- Do not read recents on mount or blank accepted results during remote search.
Example, Application commands:
```tsx
import type { CommandPaletteSource } from "@gemologic/sheen";
const sources: readonly CommandPaletteSource[] = [{ kind: "static", id: "app", commands: [{ id: "settings", label: "Open settings", group: "Navigation", run: () => {} }] }];
```
Example, Icons and trailing hints:
```tsx
import type { CommandPaletteSource } from "@gemologic/sheen";
const sources: readonly CommandPaletteSource[] = [{ kind: "static", id: "app", commands: [{ id: "new-project", label: "Create project", group: "Actions", icon: () => , trailing: () => New, run: () => {} }, { id: "search", label: "Search records", group: "Navigation", icon: () => , trailing: () => /, run: () => {} }] }];
```
### ConfirmDialog
A controlled confirmation decision with safe initial focus.
Category: overlays
Props:
- `open: boolean` (required). App-owned visibility.
- `onConfirm: ()=>void` (required). Affirmative decision callback. The app owns closing and subsequent operations.
- `onCancel: ()=>void` (required). Cancellation callback for the safe action or Escape. Outside clicks do not cancel.
- `confirmLabel: string` (optional). Affirmative action label, defaulting to the scoped confirm message.
- `cancelLabel: string` (optional). Safe action label, defaulting to the scoped cancel message.
- `tone: "accent"|"danger"` (optional; default "accent"). Affirmative action tone.
- `title: string` (required). Required visible and accessible title.
- `contentId: string` (optional). Optional unique content ID, forwarded to AlertDialog.
- `description: string` (required). Required explanation of the decision and its consequences.
- `returnFocus: (()=>HTMLElement)` (optional). Optional surviving focus target when the prompt closes.
- `shortcutScope: string` (optional). Unique modal shortcut scope ID, forwarded to AlertDialog. Open confirmations automatically suspend outer shortcut scopes within ShortcutProvider.
- `class: string` (optional). Additional modal content classes.
Accessibility role: alertdialog
Keyboard: Tab, Shift+Tab, Enter, Space, Escape
Tokens: `--sheen-color-bg-raised`, `--sheen-color-focus-ring`, `--sheen-elevation-modal`
Do:
- Mount the controller Dialog once in the creating owner's theme scope.
Do not:
- Do not start irreversible work before the confirmation promise resolves true.
Example, Imperative confirmation:
```tsx
const decision = createConfirm();
<>>
```
### Container
Full-width content boundary with token padding, without centering or imposing a document width.
Category: layout
Props:
- `padding: Spacing` (optional; default "md"). Role-based spacing that follows the active density.
Accessibility role: presentation layout
Keyboard: native behavior
Tokens: `--sheen-space-block-md`, `--sheen-space-inline-md`
Do:
- Preserve logical DOM order and use token spacing.
Do not:
- Do not use layout wrappers to invent inaccessible keyboard order.
Example, Container composition:
```tsx
```
### ContextMenu
Adds a scope-aware action menu without suppressing the native menu when no replacement is available.
Category: overlays
Props:
- `as: "div"|"tr"|"li"` (optional; default "div"). Native div, li, or table-row trigger retained in the document.
- `items: readonly MenuItem[]` (required). Validated action, checkbox, radio, separator, and submenu definitions shared with DropdownMenu.
- `disabled: boolean` (optional; default false). Leaves the platform context menu available and prevents long-press replacement.
- `onOpenChange: (open:boolean)=>void` (optional). Receives requested open-state changes.
- `menuClass: string` (optional). Additional class on the portaled menu surface.
Accessibility role: menu and native trigger semantics
Keyboard: Shift+F10, ContextMenu, ArrowUp, ArrowDown, Home, End, Enter, Space, Escape
Tokens: `--sheen-color-bg-raised`, `--sheen-color-focus-ring`, `--sheen-elevation-overlay`
Do:
- Use the same action source as the visible overflow or selection controls.
- Disable or omit empty replacements so the native browser menu remains available.
Do not:
- Do not suppress contextmenu without opening an equivalent accessible menu.
- Do not make right-click the only way to reach an action.
Example, Row actions:
```tsx
{} }]}>Account A
```
### Conversation
A scrolling message log keyed by stable IDs that follows new content while the reader is at the end.
Category: ai
Props:
- `ref: HTMLDivElement|((element:HTMLDivElement)=>void)` (optional). Native root reference. The log itself is the inner scroller.
- `items: readonly Item[]` (required). Ordered turns with unique, nonempty, stable IDs. Replacing an item object for the same ID updates its accessor without recreating its node.
- `children: (item:Accessor)=>JSX.Element` (required). Renders one turn from a reactive item accessor; read fields inside JSX so updates stay fine-grained.
- `label: string` (optional). Accessible log name; defaults to the scoped conversation message.
- `stickToBottom: boolean` (optional; default true). Follow growth while scrolled to the end. Scrolling up stops following until the reader returns to the end or uses the jump action.
- `jumpLabel: string` (optional). Jump action text; defaults to the scoped jumpToLatest message.
Accessibility role: log
Keyboard: Tab focuses the scrollable log, Arrow keys, Page Up/Down, Home, and End scroll it, Enter or Space activates the jump action
Tokens: `--sheen-motion-stagger`, `--sheen-duration-normal`, `--sheen-ease-spring`, `--sheen-motion-distance-sm`, `--sheen-space-block-lg`
Do:
- Give the conversation a bounded block size so it can scroll.
- Use StreamingText for the growing turn so the log does not announce every token.
Do not:
- Do not key turns by index or request revision.
- Do not force-scroll a reader who scrolled up.
Example, Thread:
```tsx
{turn => {turn().text}}
```
### DescriptionDetails
A semantic value in a description list, optionally using tabular figures.
Category: data-display
Props:
- `numeric: boolean` (optional; default false). Enable tabular figures for numeric values; formatting remains app-owned or uses the context locale formatter.
Accessibility role: native dd
Keyboard: native behavior
Tokens: `--sheen-color-fg`, `--sheen-color-fg-muted`, `--sheen-text-ui-size`, `--sheen-space-block-md`, `--sheen-space-inline-lg`
Do:
- Compose terms and details inside DescriptionList. Use one term/details pair per row in columns layout.
- Use stacked layout for multiple terms or descriptions in a semantic group.
Do not:
- Do not use description lists as an interactive table or arbitrary layout grid.
Example, Order details:
```tsx
SymbolBTCQuantity1.25
```
### DescriptionList
A native description list for related names and values.
Category: data-display
Props:
- `layout: "stacked"|"columns"` (optional; default "stacked"). Stacked labels and values, or columns using one term followed by one details element per pair.
Accessibility role: native dl
Keyboard: native behavior
Tokens: `--sheen-color-fg`, `--sheen-color-fg-muted`, `--sheen-text-ui-size`, `--sheen-space-block-md`, `--sheen-space-inline-lg`
Do:
- Compose terms and details inside DescriptionList. Use one term/details pair per row in columns layout.
- Use stacked layout for multiple terms or descriptions in a semantic group.
Do not:
- Do not use description lists as an interactive table or arbitrary layout grid.
Example, Order details:
```tsx
SymbolBTCQuantity1.25
```
### DescriptionTerm
A semantic name in a description list.
Category: data-display
Props:
Accessibility role: native dt
Keyboard: native behavior
Tokens: `--sheen-color-fg`, `--sheen-color-fg-muted`, `--sheen-text-ui-size`, `--sheen-space-block-md`, `--sheen-space-inline-lg`
Do:
- Compose terms and details inside DescriptionList. Use one term/details pair per row in columns layout.
- Use stacked layout for multiple terms or descriptions in a semantic group.
Do not:
- Do not use description lists as an interactive table or arbitrary layout grid.
Example, Order details:
```tsx
SymbolBTCQuantity1.25
```
### Dialog
Opens a scoped modal with a focus trap and focus restoration.
Category: overlays
Props:
- `title: string` (required). Accessible dialog title.
- `contentId: string` (optional). Optional stable content element ID for an external aria-controls relationship. Must be unique in the document.
- `trigger: string` (optional). Visible label for the opening button.
- `description: string` (optional). Optional explanatory text associated with the dialog.
- `open: boolean` (optional). Controlled open state; rejected close requests retain the modal.
- `defaultOpen: boolean` (optional; default false). Uncontrolled initial open state; portal content mounts when the theme target is ready.
- `onOpenChange: (open:boolean)=>void` (optional). Requests a change in open state without mutating controlled ownership.
- `dismissible: boolean` (optional; default true). Allows Escape, outside press, and the close action; false disables all three.
- `closeLabel: string` (optional). Labelled footer close action. Without it, a corner close icon (named by the scoped close message) comes last in tab order; with it, or for alert dialogs, a labelled close action leads the footer.
- `initialFocus: ()=>HTMLElement` (optional). Resolves an enabled focus target inside the mounted dialog.
- `returnFocus: ()=>HTMLElement` (optional). Optional surviving focus target after closing, useful for triggerless dialogs.
- `shortcutScope: string` (optional). Unique modal shortcut scope ID, defaulting to an internal stable ID. Within ShortcutProvider, opening suspends outer scopes automatically. Register modal actions under this ID; do not reuse an application/global scope.
- `class: string` (optional). Additional classes on modal content.
- `footer: JSX.Element` (optional). App-owned footer actions beside the built-in close action.
Accessibility role: dialog
Keyboard: Tab, Shift+Tab, Escape
Tokens: `--sheen-color-bg-raised`, `--sheen-color-bg-overlay`, `--sheen-elevation-modal`
Do:
- Mount inside the theme scope whose colors the overlay should inherit.
Do not:
- Do not portal overlays to document.body.
Example, Scoped modal:
```tsx
```
### Drawer
Opens a modal panel from a logical viewport side using the scoped overlay stack.
Category: overlays
Props:
- `side: DrawerSide` (optional; default "end"). Logical viewport edge from which the panel enters.
- `title: string` (required). Accessible panel title.
- `contentId: string` (optional). Optional stable content element ID.
- `trigger: string` (optional). Visible label for the opening button.
- `description: string` (optional). Optional explanatory text associated with the panel.
- `open: boolean` (optional). Controlled open state.
- `defaultOpen: boolean` (optional; default false). Uncontrolled initial open state.
- `onOpenChange: (open:boolean)=>void` (optional). Requests an open-state change.
- `dismissible: boolean` (optional; default true). Allows Escape, outside press, and the close action.
- `closeLabel: string` (optional). Labelled footer close action. Without it, a corner close icon (named by the scoped close message) comes last in tab order; with it, or for alert dialogs, a labelled close action leads the footer.
- `initialFocus: ()=>HTMLElement` (optional). Resolves an enabled focus target inside the panel.
- `returnFocus: ()=>HTMLElement` (optional). Resolves a surviving focus target after close.
- `shortcutScope: string` (optional). Unique modal shortcut scope ID.
- `class: string` (optional). Additional classes on panel content.
- `footer: JSX.Element` (optional). App-owned footer actions beside close.
Accessibility role: dialog
Keyboard: Tab, Shift+Tab, Escape
Tokens: `--sheen-color-bg-raised`, `--sheen-color-bg-overlay`, `--sheen-elevation-modal`, `--sheen-duration-slow`
Do:
- Use logical start/end sides so the panel follows document direction.
Do not:
- Do not mount a second portal or focus trap around Drawer.
Example, End-side drawer:
```tsx
```
### DropdownMenu
A scoped action menu with nested, checkbox, and radio items.
Category: overlays
Props:
- `trigger: JSX.Element` (required). Visible native opening-button content. It must provide a clear accessible name.
- `triggerLabel: string` (optional). Optional explicit accessible trigger name for icon-only or composite content.
- `items: readonly MenuItem[]` (required). Sheen-owned discriminated items with stable, unique sibling IDs. Labeled items may include a lazy decorative icon renderer; checkbox and radio values are app-owned; shortcuts are display-only.
- `open: boolean` (optional). App-owned open state.
- `defaultOpen: boolean` (optional; default false). Uncontrolled initial state; content mounts when the scoped portal is ready.
- `onOpenChange: (open:boolean)=>void` (optional). Open-state requests; controlled owners may reject them.
- `onCloseAutoFocus: (event:Event)=>void` (optional). Close-focus lifecycle event. Prevent default only when supplying an alternative focus destination; layouts may use it to defer moving the trigger until restoration.
- `disabled: boolean` (optional; default false). Disable the opening button.
- `placement: DropdownMenuPlacement` (optional; default "bottom-start"). Logical menu placement. Sidebar footers normally use top-end; topbars use bottom-end.
- `matchTriggerWidth: boolean` (optional; default false). Size the root menu to the trigger width, capped by the available viewport width.
- `class: string` (optional). Additional root menu content classes.
Accessibility role: menu
Keyboard: Enter, Space, ArrowDown, ArrowUp, ArrowLeft, ArrowRight, Home, End, Escape
Tokens: `--sheen-color-bg-raised`, `--sheen-color-focus-ring`, `--sheen-elevation-overlay`
Do:
- Keep item IDs stable across data refreshes.
- Keep checkbox and radio state in the app.
Do not:
- Do not put form fields or arbitrary interactive content in an ARIA menu.
- Do not use action items for URL navigation.
Example, Workspace actions:
```tsx
↻, onSelect: () => {} }]} />
```
### EditableTextField
Edits uncontrolled local text while committed form state stays app-owned and refresh-safe.
Category: forms
Props:
- `value: string` (required). Committed app value shown at rest.
- `label: string` (required). Accessible action and input name.
- `onCommit: (value:string,signal:AbortSignal)=>void|Promise` (required). Commits a valid draft with cancellation.
- `validate: (value:string)=>string` (optional). Returns a synchronous validation message.
- `onCommitError: (error:unknown)=>void` (optional). Reports transport failure while the draft stays editable.
- `emptyLabel: string` (optional). Resting text when the committed value is empty.
- `disabled: boolean` (optional; default false). Prevents entry into edit mode.
Accessibility role: button at rest and textbox while editing
Keyboard: Enter edits or commits, Escape reverts, Tab or blur commits
Tokens: `--sheen-color-border-control`, `--sheen-color-focus-ring`, `--sheen-color-danger-border`, `--sheen-color-warning-border`
Do:
- Read committed form state from the app, not the temporary input.
Do not:
- Do not replace a dirty draft when refreshed committed data changes.
Example, Project name:
```tsx
import { createSignal } from "solid-js";
const [name, setName] = createSignal("North star");
{ setName(value); }} />
```
### EmptyState
A named region distinguishing an empty dataset from a query with no matches.
Category: data-display
Props:
- `kind: "empty"|"no-results"` (optional; default "empty"). Select the localized empty or no-results default heading.
- `heading: string` (optional). Override the localized visible heading without assuming a document heading level.
- `description: string` (optional). Optional explanation or recovery instructions below the heading.
Accessibility role: region, named by the visible heading unless explicitly overridden
Keyboard: Tab reaches app-supplied actions in DOM order
Tokens: `--sheen-color-fg`, `--sheen-color-fg-muted`, `--sheen-text-h4-size`, `--sheen-space-section`
Do:
- Supply app-owned actions through children, such as clearing filters or creating the first item.
- Use no-results only after the query completes successfully with zero matches.
Do not:
- Do not render an empty state for loading, refresh, permission denial, or transport errors.
- Do not steal focus or automatically announce the entire region. The app owns result-status announcements.
Example, No filter matches:
```tsx
```
### Field
A visible label, description, and validation message associated with one native labelable control.
Category: forms
Props:
- `label: string` (required). Required visible label.
- `controlId: string` (optional). Override the stable generated control ID; must be unique in the document.
- `description: string` (optional). Supporting instructions referenced by aria-describedby.
- `error: string` (optional). Validation message, also referenced by aria-describedby. A nonempty error sets aria-invalid.
- `required: boolean` (optional; default false). Set native required and display a decorative required marker.
- `disabled: boolean` (optional; default false). Forward native disabled to the control.
- `children: (control:FieldControlProps)=>JSX.Element` (required). Render one labelable control and spread the supplied reactive bindings on it. Do not destructure or snapshot them.
Accessibility role: native label association; no additional landmark or live region
Keyboard: Native control behavior, Label activation focuses its control
Tokens: `--sheen-color-fg-muted`, `--sheen-color-danger-fg`, `--sheen-space-block-xs`
Do:
- Use within wrapper implementations or for a custom labelable control. Input already composes Field.
- Keep controls mounted when descriptions or errors change. Apps own validation and announcements.
Do not:
- Do not wrap a labeled Input in another Field.
- Do not use a single Field label for a group of controls; use group semantics.
Example, Custom native control:
```tsx
{control => }
```
### FileDropzone
A native-picker-first file intake surface with drag parity, validation, and app-owned upload state.
Category: forms
Props:
- `ref: HTMLDivElement|((element:HTMLDivElement)=>void)` (optional). Native root reference.
- `inputRef: HTMLInputElement|((element:HTMLInputElement)=>void)` (optional). Native file-input reference.
- `label: string` (required). Required visible field label.
- `description: string` (optional). Supporting requirements associated with the intake surface.
- `chooseLabel: string` (optional). Visible native picker action; defaults to the localized message.
- `dropLabel: string` (optional). Visible and announced active-drag instruction.
- `accept: string` (optional). Comma-separated native accept hint, also enforced for dropped and selected files.
- `multiple: boolean` (optional; default false). Allows more than one file in each native selection; defaults to one.
- `capture: "user"|"environment"` (optional). Native device capture hint.
- `maxFiles: number` (optional). Positive total item limit, including app-owned existing items.
- `maxSize: number` (optional). Positive maximum file size in bytes.
- `validateFile: (file:File)=>string|null` (optional). Optional synchronous app validation returning an error message or null.
- `items: readonly FileDropzoneItem[]` (optional). Serializable app-owned upload records with stable IDs, visible status text, and optional progress.
- `onFilesSelected: (files:readonly File[])=>void` (required). Receives accepted browser File objects; the app starts and owns transport.
- `onFilesRejected: (rejections:readonly FileDropzoneRejection[])=>void` (optional). Receives count, size, type, and custom validation failures.
- `onRemove: (id:string)=>void` (optional). Optional app-owned removal action by stable item ID.
- `onRetry: (id:string)=>void` (optional). Optional app-owned retry action shown for error items.
- `disabled: boolean` (optional; default false). Disables picker, drop, actions, and selection callbacks.
- `readOnly: boolean` (optional; default false). Keeps files inspectable while rejecting picker, drop, retry, and removal.
Accessibility role: native file input and selected-file list
Keyboard: Tab, Enter, Space
Tokens: `--sheen-color-bg-subtle`, `--sheen-color-bg-hover`, `--sheen-color-bg-raised`, `--sheen-color-border`, `--sheen-color-border-control`, `--sheen-color-fg`, `--sheen-color-fg-muted`, `--sheen-color-fg-subtle`, `--sheen-color-accent-fg`, `--sheen-color-accent-subtle`, `--sheen-color-success-fg`, `--sheen-color-danger-fg`, `--sheen-color-focus-ring`, `--sheen-color-focus-ring-offset`
Do:
- Expose app-owned text status for every queued, uploading, complete, or failed item.
Do not:
- Do not make dropping the only way to select files or start transport inside the component.
Example, Document intake:
```tsx
const queueUploads = (_files: readonly File[]) => {};
queueUploads(files)} />
```
### Form
A native form with token rhythm and pending state, composed with FormSection (titled field groups that sit beside their fields on wide containers) and FormActions (the submit row, optionally sticky).
Category: forms
Props:
- `onSubmit: (data:FormData,event:SubmitEvent)=>void|Promise` (optional). Receives native FormData after constraint validation; the default navigation is prevented. Return a promise to mark the form busy until it settles.
Accessibility role: form; sections are headed regions and actions are native buttons
Keyboard: Tab, Shift+Tab, Enter
Tokens: `--sheen-space-section`, `--sheen-space-gutter`, `--sheen-color-border`, `--sheen-text-h4-size`, `--sheen-color-fg-muted`
Do:
- Use native required, pattern, and type constraints, then show server errors on the matching Field.
- Put the primary action last in FormActions.
Do not:
- Do not disable the submit button to signal invalid input; let validation explain what to fix.
Example, Settings form:
```tsx
```
### FormActions
The submit and cancel row that ends a Form, optionally sticky at the bottom of the scrolling container.
Category: forms
Props:
- `sticky: boolean` (optional). Keeps the row visible at the bottom of the scroll container.
- `align: "start"|"end"|"between"` (optional; default "end"). Horizontal alignment of the actions.
Accessibility role: none; contains native buttons
Keyboard: Tab, Enter
Tokens: `--sheen-space-inline-sm`, `--sheen-color-bg`, `--sheen-color-border`, `--sheen-z-chrome`
Do:
- Put the primary action last.
Do not:
- Do not disable submit to signal invalid input.
Example, Save row:
```tsx
```
### FormSection
A titled group of related fields inside a Form. Containers at least 40rem wide place the title and description beside the fields.
Category: forms
Props:
- `title: string` (required). Section heading, rendered as an h2.
- `description: JSX.Element` (optional). Short explanation of what the fields control.
Accessibility role: section with a heading
Keyboard: native behavior
Tokens: `--sheen-space-section`, `--sheen-space-gutter`, `--sheen-text-h4-size`, `--sheen-color-fg-muted`, `--sheen-color-border`
Do:
- Group fields by what the user is deciding, not by data type.
Do not:
- Do not nest FormSections.
Example, Profile section:
```tsx
```
### Glyph
Decorative component-chrome glyphs (chevrons, close, check, plus/minus, calendar, trends) shared by Sheen packages. Inherits text color and mirrors directional glyphs in RTL.
Category: typography
Props:
- `name: "chevron-down"|"chevron-up"|"chevron-left"|"chevron-right"|"chevrons-left"|"chevrons-right"|"close"|"check"|"plus"|"minus"|"dot"|"alert"|"calendar"|"search"|"bell"|"trend-up"|"trend-down"|"trend-flat"|"more"|"grip"|"status-info"|"status-success"|"status-warning"|"status-danger"` (required). Glyph from the closed chrome set.
Accessibility role: presentation (aria-hidden)
Keyboard: native behavior
Tokens: `--sheen-icon-size-md`
Do:
- Name the owning control with visible text or aria-label; the glyph itself is always hidden.
Do not:
- Do not use Glyph for content imagery or app icons; use @gemologic/sheen-icons, which follows the theme's icon set.
Example, Icon-only close button:
```tsx
```
### Grid
One to twelve equal-width columns with role-based row and column gaps.
Category: layout
Props:
- `columns: 1|2|3|4|5|6|7|8|9|10|11|12` (optional; default 1). Equal-width tracks with shrinkable minmax sizing.
- `gap: Spacing` (optional; default "md"). Role-based spacing that follows the active density.
- `align: Alignment` (optional; default "stretch"). Cross-axis alignment without changing DOM or keyboard order.
Accessibility role: presentation layout
Keyboard: native behavior
Tokens: `--sheen-space-block-md`, `--sheen-space-inline-md`
Do:
- Preserve logical DOM order and use token spacing.
Do not:
- Do not use layout wrappers to invent inaccessible keyboard order.
Example, Grid composition:
```tsx
```
### Heading
A real h1 through h6 with independently selectable heading typography.
Category: typography
Props:
- `level: 1|2|3|4|5|6` (required). Document outline level; choose semantically rather than for visual size.
- `size: "display-1"|"display-2"|"h1"|"h2"|"h3"|"h4"` (optional). Optional visual type role, independent of the document outline level.
Accessibility role: heading
Keyboard: native behavior
Tokens: `--sheen-font-sans`, `--sheen-font-mono`, `--sheen-color-fg`, `--sheen-color-fg-muted`
Do:
- Keep the document heading outline meaningful.
Do not:
- Do not use low-contrast subtle tokens for meaningful text.
Example, Heading example:
```tsx
Workspace settings
```
### IconButton
A square native icon action with a required accessible name and matching tooltip.
Category: primitives
Props:
- `label: string` (required). Required nonempty action name, also shown in the tooltip.
- `children: JSX.Element` (required). Required noninteractive icon content, hidden from the accessible name.
- `type: "button"|"submit"|"reset"` (optional; default "button"). Native action, submission, or reset behavior.
- `shortcut: string|ShortcutAction` (optional). A string displays a hint only; a typed shortcut action also registers the trigger and displays its platform-formatted binding.
- `variant: NonNullable<"solid"|"soft"|"outline"|"ghost"|"link">` (optional; default "outline"). Visual treatment; solid accent actions should be rare.
- `tone: NonNullable<"neutral"|"accent"|"danger"|"success">` (optional; default "neutral"). Semantic color role, independent of visual treatment.
- `size: NonNullable<"xs"|"sm"|"md"|"lg">` (optional; default "md"). Density-aware control size.
- `loading: boolean` (optional; default false). Marks pending work and suppresses activation while keeping the button focusable.
- `placement: "top"|"bottom"|"left"|"right"` (optional; default "top"). Preferred side, with viewport collision handling.
- `openDelay: number` (optional; default 500). Hover opening delay in milliseconds; keyboard focus opens immediately.
- `closeDelay: number` (optional; default 100). Pointer departure delay in milliseconds, preserving a hoverable path to the content.
Accessibility role: button
Keyboard: Tab, Shift+Tab, Enter, Space, Escape dismisses tooltip
Tokens: `--sheen-button-radius`, `--sheen-control-h-md`, `--sheen-color-accent`, `--sheen-color-bg-raised`, `--sheen-elevation-raised`, `--sheen-duration-fast`, `--sheen-icon-size-md`
Do:
- Describe the action, not the icon's appearance.
- Supply noninteractive icon content; the label provides its accessible name.
Do not:
- Do not nest interactive controls or use this for navigation.
- Do not duplicate a typed shortcut action with a separate useShortcut registration.
Example, More actions:
```tsx
⋯
```
### Input
A text input with a required visible label and stable accessible identity.
Category: forms
Props:
- `label: string` (required). Visible label, never replaced by a placeholder.
- `description: string` (optional). Supporting instructions associated with the input.
- `error: string` (optional). Validation message associated with the input and marking it invalid; no automatic live announcement.
Accessibility role: textbox
Keyboard: Tab, Shift+Tab, Native text editing
Tokens: `--sheen-color-bg-inset`, `--sheen-color-border-control`, `--sheen-control-h-md`
Do:
- Use explicit labels and preserve drafts through refreshes.
Do not:
- Do not rely on placeholders as labels.
Example, Labeled input:
```tsx
```
### InputGroup
A labeled input with logical start/end content, keeping native control and action behavior.
Category: forms
Props:
- `startContent: JSX.Element` (optional). Leading text or action. Supply accessible labels for actions and aria-hidden for purely decorative content.
- `endContent: JSX.Element` (optional). Trailing text or action. Actions own their disabled state independently of the input.
- `label: string` (required). Required visible input label.
- `description: string` (optional). Instructions associated with the input.
- `error: string` (optional). App-owned validation message associated with the invalid input.
Accessibility role: native input with separate native actions
Keyboard: Tab follows start action, input, end action in DOM order, Native text editing
Tokens: `--sheen-color-bg-inset`, `--sheen-color-fg-muted`, `--sheen-color-border-control`, `--sheen-space-inline-sm`
Do:
- Include meaningful units in the label or associated instructions; adjacent text is not automatically part of the accessible name.
- Use labeled Buttons for actions and own their disabled state.
Do not:
- Do not hide interactive addons from assistive technology.
- Do not wrap InputGroup in another Field; its label and error are already included.
Example, Amount with unit:
```tsx
```
### Kbd
Semantic keyboard-input notation. Shortcut registration and platform formatting are separate concerns.
Category: typography
Props:
Accessibility role: keyboard input
Keyboard: native behavior
Tokens: `--sheen-font-sans`, `--sheen-font-mono`, `--sheen-color-fg`, `--sheen-color-fg-muted`
Do:
- Use visible text as well as color to communicate meaning.
Do not:
- Do not use low-contrast subtle tokens for meaningful text.
Example, Kbd example:
```tsx
Ctrl K
```
### Link
Navigates to a native anchor destination, with text, quiet, or button styling.
Category: primitives
Props:
- `href: string` (required). Required destination. Native target, download, rel, and modified-click behavior are preserved.
- `variant: "text"|"quiet"|"button"` (optional; default "text"). Text link, quiet link (foreground color, underline on hover and focus; only where layout already marks links, such as table cells, lists, and navigation), or button appearance. All retain link semantics.
- `appearance: NonNullable<"solid"|"soft"|"outline"|"ghost"|"link">` (optional; default "outline"). Button treatment when variant is button, matching Button's variant.
- `tone: NonNullable<"neutral"|"accent"|"danger"|"success">` (optional; default "neutral"). Button tone when variant is button.
- `size: NonNullable<"xs"|"sm"|"md"|"lg">` (optional; default "md"). Button size when variant is button.
Accessibility role: link
Keyboard: Tab, Shift+Tab, Enter
Tokens: `--sheen-color-accent-fg`, `--sheen-color-focus-ring`, `--sheen-color-focus-ring-offset`, `--sheen-control-h-md`
Do:
- Use Button for actions that do not change the URL.
- Provide visible text or an accessible name.
- Let the app router handle navigation through its normal anchor integration.
Do not:
- Do not put interactive controls inside links.
- Do not treat aria-disabled as disabling native navigation; render unavailable content without a destination instead.
- Do not use Space to emulate button activation.
Example, Destination:
```tsx
Orders
```
Example, Button-styled destination:
```tsx
New order
```
### LinkTooltip
A native destination anchor with scoped hover/focus help.
Category: overlays
Props:
- `href: string` (required). Required native destination. Modified clicks and target/rel retain browser behavior.
- `content: string` (required). Noninteractive supporting text. The anchor still needs visible text or an accessible name.
- `tooltipDisabled: boolean` (optional). Disables only the help layer, without disabling or replacing the anchor.
- `placement: "top"|"bottom"|"left"|"right"` (optional). Preferred side with collision handling, default top.
- `openDelay: number` (optional). Hover opening delay in milliseconds, default 500.
- `closeDelay: number` (optional). Pointer departure delay in milliseconds, default 100.
Accessibility role: link, tooltip
Keyboard: Tab, Shift+Tab, Enter, Escape
Tokens: `--sheen-color-bg-raised`, `--sheen-color-focus-ring`
Do:
- Use under ThemeProvider; overlay inherits its scope.
- Provide a native accessible link name even when the tooltip is disabled.
Do not:
- Do not put buttons or other interactive controls inside the link or tooltip.
Example, Destination help:
```tsx
Orders
```
### List
Vertical rows with leading, title, description, and trailing slots. Rows are links, buttons, or static content; ListItem is exported alongside.
Category: data-display
Props:
- `label: string` (optional). Accessible name when no nearby heading names the list.
- `dividers: boolean` (optional; default false). Separators between rows.
- `density: "compact"|"default"|"comfortable"` (optional; default "default"). Row padding.
- `inset: boolean` (optional; default false). Wrap rows in a raised, bordered surface.
Accessibility role: list of listitem; rows are native links or buttons when interactive
Keyboard: Tab, Shift+Tab, Enter, Space
Tokens: `--sheen-color-bg-hover`, `--sheen-color-bg-selected`, `--sheen-color-focus-ring`, `--sheen-color-border-subtle`, `--sheen-color-fg-muted`, `--sheen-elevation-raised`
Do:
- Use href for rows that open a page and onSelect for rows that run an action.
- Mark the row that drives an adjacent detail view with selected, and the current page with current.
Do not:
- Do not put other interactive controls inside an interactive row.
- Do not use List for single or multiple selection; use RadioGroup, CheckboxGroup, or Select.
- Do not disable link rows; render them without href instead.
Example, Navigable rows:
```tsx
SEV2} />
```
### ListItem
One row of a List: title, optional description, leading media, and trailing metadata or actions. An href makes the row a link; onSelect makes it a button.
Category: data-display
Props:
- `title: JSX.Element` (required). Primary row text.
- `description: JSX.Element` (optional). Secondary line under the title.
- `leading: JSX.Element` (optional). Avatar, icon, or status mark before the text.
- `trailing: JSX.Element` (optional). Metadata, badges, or counts after the text.
- `href: string` (optional). Makes the row a destination; the whole row navigates natively.
- `onSelect: ()=>void` (optional). Makes the row a native button for in-place actions such as opening a detail pane. Ignored when href is set.
- `current: boolean` (optional). Marks a link row as the current page (aria-current="page").
- `selected: boolean` (optional). Visual selected state for rows that drive a detail view.
- `disabled: boolean` (optional). Disables the row's button; links ignore it.
Accessibility role: listitem; the row body is a link or button when interactive
Keyboard: Tab, Enter, Space
Tokens: `--sheen-color-bg-hover`, `--sheen-color-fg-muted`, `--sheen-color-border`
Do:
- Use href for navigation and onSelect for in-place actions.
Do not:
- Do not put buttons or links inside an interactive row; give the row one action.
Example, Linked row:
```tsx
```
### Message
One conversation turn with an optional avatar, author, timestamp, content, and actions row.
Category: ai
Props:
- `ref: HTMLElement|((element:HTMLElement)=>void)` (optional). Native article reference.
- `from: MessageFrom` (required). Who produced the turn. User turns align to the inline end in a bubble; system turns are centered notes.
- `author: JSX.Element` (optional). Visible author name; it also names the article.
- `avatar: JSX.Element` (optional). Avatar or icon shown beside the turn.
- `timestamp: string` (optional). Machine-readable time for the time element's datetime.
- `timeLabel: string` (optional). Display time text. The time element renders only when this is provided.
- `actions: JSX.Element` (optional). Per-turn actions such as copy or retry, in normal tab order.
Accessibility role: article
Keyboard: Tab reaches actions in order
Tokens: `--sheen-color-bg-raised`, `--sheen-color-fg-muted`, `--sheen-text-body-size`, `--sheen-surface-radius`
Do:
- Supply both timestamp and timeLabel so the visible time is locale formatted and machine readable.
Do not:
- Do not hide actions until hover; keyboard and touch users need them in the tab order.
Example, Assistant turn:
```tsx
Copy}>Here is the summary you asked for.
```
### Meter
Uses the native meter element for a scalar value within a known range.
Category: data
Props:
- `label: string` (required). Required accessible measurement label.
- `value: number` (required). Finite current value within min and max.
- `min: number` (optional; default 0). Finite lower bound.
- `max: number` (optional; default 1). Finite upper bound greater than min.
- `low: number` (optional). Optional lower threshold within the range.
- `high: number` (optional). Optional upper threshold within the range and not below low.
- `optimum: number` (optional). Optional optimal value within the range.
Accessibility role: meter
Keyboard: native behavior
Tokens: `--sheen-color-bg-inset`, `--sheen-color-success`, `--sheen-color-warning`, `--sheen-color-danger`
Do:
- Use for a measurement with meaningful bounds and thresholds.
Do not:
- Do not use Meter for task completion; use Progress.
Example, Storage:
```tsx
```
### MultiCombobox
Editable tagged selection with retained async results.
Category: forms
Props:
- `value: readonly string[]` (optional). Controlled ordered set of selected values.
- `defaultValue: readonly string[]` (optional). Initial uncontrolled ordered set of selected values.
- `onValueChange: (value:readonly string[])=>void` (optional). Receives committed unique values in selection order.
- `label: string` (required). Required visible label.
- `options: readonly ComboboxOption[]` (required). Accepted options with unique nonempty values and labels.
- `name: string` (optional). Native multi-select form name.
- `form: string` (optional). Optional external form ID.
- `placeholder: string` (optional). Text shown when no tags are selected.
- `description: string` (optional). Supporting text associated with the input.
- `error: string` (optional). Field validation text and invalid state.
- `disabled: boolean` (optional; default false). Disables input, tags, selection, and submission.
- `readOnly: boolean` (optional; default false). Allows inspection but rejects query and tag changes.
- `required: boolean` (optional; default false). Requires at least one committed selection for native form submission.
- `filter: ComboboxFilter` (optional; default "contains"). Built-in label filter, or false when the app supplies externally filtered options.
- `onInputChange: (value:string)=>void` (optional). Receives editable query changes; the app owns debounce, cancellation, and request ordering.
- `pending: boolean` (optional; default false). Retains and disables the last accepted results until replacement results are accepted.
- `resultsError: string` (optional). Nonblocking async-result error; selected tags remain available.
- `onRetry: ()=>void` (optional). Optional retry action shown with resultsError.
- `inputRef: (element:HTMLInputElement)=>void` (optional). Receives the visible native input.
Accessibility role: combobox
Keyboard: ArrowDown, ArrowUp, Home, End, Enter, Escape, Backspace
Tokens: `--sheen-color-bg-inset`, `--sheen-color-bg-raised`, `--sheen-color-border-control`, `--sheen-color-focus-ring`
Do:
- Keep option values stable so selected tags survive filtered result subsets.
Do not:
- Do not replace accepted options with a loading placeholder.
Example, Multiple owners:
```tsx
```
### NavItem
A native destination link with explicit current-page presentation inside NavList.
Category: navigation
Props:
- `href: string` (required). Required destination URL; browser navigation and modified clicks remain native.
- `label: string` (required). Required visible destination label.
- `current: boolean` (optional; default false). App-owned current-page state, exposed through aria-current.
- `icon: JSX.Element` (optional). Optional decorative, noninteractive icon. The visible label supplies its accessible meaning.
- `badge: JSX.Element` (optional). Optional noninteractive status/count content, included in the link's accessible name. Localize counts in the app.
- `tooltip: string` (optional). Optional contextual help, requiring ThemeProvider. Keep supplied and toggle tooltipDisabled to retain the anchor across presentation changes.
- `tooltipDisabled: boolean` (optional). Disables supplied tooltip help without disabling or replacing the link.
- `actions: JSX.Element` (optional). Optional sibling controls rendered beside the link. Use for row actions that must not be nested inside the destination.
Accessibility role: link, listitem
Keyboard: Tab, Shift+Tab, Enter, Space, Escape
Tokens: `--sheen-color-fg`, `--sheen-color-bg-hover`, `--sheen-color-focus-ring`
Do:
- Let the app/router determine the current page.
- Keep identities stable when labels refresh.
- Render optional row actions as sibling controls through actions.
Do not:
- Do not use the destination itself for an action or nest interactive controls in icon and badge slots.
Example, Current destination:
```tsx
```
### NavList
A named navigation landmark containing a native list of destination links.
Category: navigation
Props:
- `label: string` (required). Required accessible landmark name, distinguishing separate navigation lists.
Accessibility role: navigation, list
Keyboard: Tab, Shift+Tab, Enter
Tokens: `--sheen-space-block-xs`, `--sheen-space-inline-sm`
Do:
- Use NavItem children and distinguish multiple navigation landmarks.
Do not:
- Do not apply menu or tablist semantics to ordinary URL navigation.
Example, Settings navigation:
```tsx
```
### NumberField
A locale-aware spinbutton with numeric app state, step controls, and native form submission.
Category: forms
Props:
- `label: string` (required). Required visible label.
- `value: number|null` (optional). Controlled numeric value; null presents an empty field.
- `defaultValue: number|null` (optional). Initial uncontrolled numeric value; null starts empty.
- `onValueChange: (value:number|null)=>void` (optional). Receives a finite number, or null for an empty/partial value.
- `min: number` (optional). Finite inclusive lower bound.
- `max: number` (optional). Finite inclusive upper bound.
- `step: number` (optional; default 1). Positive finite arrow and trigger increment.
- `largeStep: number` (optional). Positive finite Page Up and Page Down increment; defaults to ten steps.
- `formatOptions: Intl.NumberFormatOptions` (optional). Intl number options evaluated with the effective scoped locale.
- `name: string` (optional). Native hidden-input form name.
- `form: string` (optional). ID of a form outside the component ancestry.
- `description: string` (optional). Supporting text associated with the spinbutton.
- `error: string` (optional). Validation text that marks the field invalid.
- `disabled: boolean` (optional; default false). Disables input, triggers, focus, and submission.
- `readOnly: boolean` (optional; default false). Prevents edits while retaining focus and submission.
- `required: boolean` (optional; default false). Marks the native field required.
- `inputRef: HTMLInputElement|((element:HTMLInputElement)=>void)` (optional). Receives the visible native input.
Accessibility role: spinbutton
Keyboard: ArrowUp, ArrowDown, PageUp, PageDown, Home, End
Tokens: `--sheen-color-bg-inset`, `--sheen-color-border-control`, `--sheen-color-focus-ring`, `--sheen-control-h-md`
Do:
- Keep app state numeric and let the scoped locale format the display.
Do not:
- Do not parse the formatted visible input in form submit handlers; use the hidden raw value.
Example, Localized amount:
```tsx
```
### NumberText
Typesets a finite number with locale-aware grouping, precision, and quieter fractional digits and units.
Category: typography
Props:
- `value: number` (required). Finite numeric value. Percent formats accept a fraction: 0.65 means 65 percent.
- `format: Intl.NumberFormatOptions` (optional). Intl.NumberFormat options for explicit precision, currency, units, or compact notation.
- `flash: boolean` (optional). Briefly tints the number with the market up or down color when the value changes. Never on first render; off under reduced motion.
- `tween: boolean` (optional). Counts from the previous value to the next on change. Server and first render show the final value; reduced motion jumps. Avoid inside live regions, which would announce intermediate values.
Accessibility role: inline text
Keyboard: native behavior
Tokens: `--sheen-color-fg-muted`, `--sheen-color-market-up`, `--sheen-color-market-down`, `--sheen-duration-slow`
Do:
- Use the same format for the same metric throughout the application.
- Name units and currency explicitly.
- Use raw values for sorting and calculations.
Do not:
- Do not preformat or parse localized strings.
- Do not pass non-finite values; render an explicit missing-value state instead.
Example, Account balance:
```tsx
```
### Pagination
Requests pages while announcing only controlled, accepted results.
Category: navigation
Props:
- `pageIndex: number` (required). Zero-based accepted page. Empty results require zero.
- `pageCount: number` (required). Nonnegative safe integer count; zero represents empty results.
- `onPageChange: (pageIndex:number)=>void` (required). Requests a new zero-based page; the app updates pageIndex only after acceptance.
- `pending: boolean` (optional; default false). Prevents further requests without removing keyboard focus or replacing accepted page text.
- `disabled: boolean` (optional; default false). Prevents requests without exposing a busy state, for example while retained rows belong to a different failed query.
- `label: string` (optional). Navigation landmark name; defaults to the provider's pagination message.
Accessibility role: navigation, status
Keyboard: Tab, Shift+Tab, Enter, Space
Tokens: `--sheen-space-inline-xs`, `--sheen-color-bg-selected`, `--sheen-color-fg-muted`
Do:
- Use within ThemeProvider for explicit locale and translated messages.
- Retain the accepted page during remote work and expose errors/retry in the owning region.
- Use Link for URL navigation; these controls request app-owned dataset changes.
Do not:
- Do not announce requested pages before their results are accepted.
- Do not use pagination=false to mean infinite network fetching.
Example, Controlled pages:
```tsx
console.log(index)} />
```
### Popover
A labeled nonmodal contextual layer for interactive content.
Category: overlays
Props:
- `trigger: JSX.Element` (required). Visible native opening-button content. It must provide a clear accessible name.
- `title: string` (required). Required visible and accessible popover title.
- `description: string` (optional). Optional associated supporting text.
- `open: boolean` (optional). App-owned open state.
- `defaultOpen: boolean` (optional; default false). Uncontrolled initial state; portal content mounts when its theme target is ready.
- `onOpenChange: (open:boolean)=>void` (optional). Requested open-state changes; controlled owners may reject them.
- `disabled: boolean` (optional; default false). Natively disables the trigger, like Button, so it leaves the tab order and cannot request opening. An already open popover still closes normally.
- `placement: "top"|"top-start"|"top-end"|"bottom"|"bottom-start"|"bottom-end"|"left"|"right"` (optional; default "bottom"). Preferred logical side and alignment, with viewport collision handling.
- `class: string` (optional). Additional content classes.
Accessibility role: dialog
Keyboard: Tab, Shift+Tab, Enter, Space, Escape
Tokens: `--sheen-color-bg-raised`, `--sheen-color-focus-ring`, `--sheen-duration-fast`, `--sheen-elevation-overlay`
Do:
- Use a stable title and retain owner data while refreshing content.
Do not:
- Do not use a popover when the workflow requires a modal decision.
Example, View options:
```tsx
```
Example, Unavailable options:
```tsx
Choose a format.
```
### Progress
Uses the native progress element for determinate or indeterminate task completion.
Category: feedback
Props:
- `label: string` (required). Required accessible task label.
- `max: number` (optional; default 1). Positive finite completion bound.
- `value: number` (optional). Finite accepted progress; omit for an indeterminate task.
Accessibility role: progressbar
Keyboard: native behavior
Tokens: `--sheen-color-bg-inset`, `--sheen-color-accent`, `--sheen-control-h-xs`
Do:
- Omit value for truly indeterminate work.
Do not:
- Do not invent progress percentages that the operation cannot measure.
Example, Upload progress:
```tsx
```
### PromptInput
A chat composer whose textarea grows to a bounded height and whose single action sends the draft or stops a streaming response.
Category: ai
Props:
- `ref: HTMLFormElement|((element:HTMLFormElement)=>void)` (optional). Native form reference.
- `value: string` (optional). Controlled draft. The owner clears it after submit; omit for uncontrolled ownership.
- `defaultValue: string` (optional). Initial uncontrolled draft. Uncontrolled drafts clear after each submit.
- `onValueChange: (value:string)=>void` (optional). Receives every draft proposal, including IME composition text and text typed before hydration.
- `onSubmit: (value:string)=>void` (required). Receives the untrimmed draft from Enter or the send action. Whitespace-only drafts, open IME compositions, and streaming never submit.
- `onStop: ()=>void` (optional). Called by the stop action while streaming. Without it the stop action is unavailable.
- `status: PromptInputStatus` (optional; default "idle"). Idle shows the send action; streaming turns the same button node into a stop action and holds Enter.
- `label: string` (optional). Accessible textarea name; defaults to the scoped promptInput message.
- `placeholder: string` (optional). Visible hint inside the empty textarea. It does not replace the accessible label.
- `name: string` (optional). Native textarea name for FormData.
- `disabled: boolean` (optional; default false). Disables the textarea and action natively.
- `maxRows: number` (optional; default 8). Positive integer row count where growth stops and the textarea scrolls.
- `leading: JSX.Element` (optional). Toolbar content before the action area, such as an attachment button.
- `trailing: JSX.Element` (optional). Toolbar content placed immediately before the send/stop action.
- `submitLabel: string` (optional). Send action accessible name; defaults to the scoped sendMessage message.
- `stopLabel: string` (optional). Stop action accessible name; defaults to the scoped stopResponse message.
- `textareaRef: (element:HTMLTextAreaElement)=>void` (optional). Native textarea reference for focus management.
Accessibility role: form containing a multiline textbox and a send/stop button
Keyboard: Enter submits, Shift+Enter inserts a newline, Enter confirming an IME candidate does not submit, Tab moves to toolbar actions, Enter or Space activates send/stop
Tokens: `--sheen-color-bg-inset`, `--sheen-color-border-control`, `--sheen-text-body-leading`, `--sheen-color-focus-ring`, `--sheen-surface-radius`
Do:
- Keep the draft editable while a response streams; only submission waits.
- Return focus decisions to the app; the action keeps focus through send/stop changes.
Do not:
- Do not submit on Enter during IME composition.
- Do not clear a controlled draft before the app accepts the submission.
Example, Chat composer:
```tsx
import { createSignal } from "solid-js";
const [status, setStatus] = createSignal<"idle" | "streaming">("idle");
setStatus("streaming")} onStop={() => setStatus("idle")} />
```
Example, Attachment slot:
```tsx
{}} leading={} />
```
### Prose
Long-form reading typography for rendered Markdown, help articles, changelogs, and legal text. Styles native descendants (headings, paragraphs, lists, quotes, code, tables, images) with a readable measure.
Category: typography
Props:
Accessibility role: none; descendants keep native semantics
Keyboard: native behavior
Tokens: `--sheen-text-body-size`, `--sheen-text-body-leading`, `--sheen-text-h1-size`, `--sheen-text-h2-size`, `--sheen-text-h3-size`, `--sheen-color-accent-fg`, `--sheen-color-bg-inset`, `--sheen-font-mono`
Do:
- Sanitize untrusted HTML before rendering it inside Prose.
- Keep one Prose region per article so the measure stays readable.
Do not:
- Do not wrap application chrome, forms, or tables of records in Prose; use components with their own styling.
Example, Rendered article:
```tsx
Rotate an API key
Create the new key before revoking the old one.
Open Settings → API keys.
Choose Rotate.
```
### RadioGroup
A named native group of mutually exclusive choices.
Category: forms
Props:
- `id: string` (optional). Root fieldset ID used to derive stable nested IDs.
- `ref: HTMLFieldSetElement|((element:HTMLFieldSetElement)=>void)` (optional). Native root fieldset reference.
- `name: string` (required). Required nonempty native name; use a distinct name per group within its owning form.
- `label: string` (required). Required visible group legend.
- `options: readonly CheckboxOption[]` (required). Options with unique nonempty values, labels, optional descriptions and disabled flags.
- `value: string|null` (optional). App-owned selection; null explicitly selects nothing.
- `defaultValue: string|null` (optional). Captured uncontrolled selection restored on uncanceled form reset.
- `onValueChange: (value:string|null)=>void` (optional). Receives requested selection changes, including null when reset clears an uncontrolled group.
- `description: string` (optional). Supporting instructions associated with the group and its inputs.
- `error: string` (optional). Associated group error and invalid state without automatic focus or announcements.
- `readOnly: boolean` (optional; default false). Rejects changes while retaining focus and submitted values.
- `required: boolean` (optional; default false). Requires one selection for native form validation.
- `orientation: "horizontal"|"vertical"` (optional; default "vertical"). Visual arrangement and ARIA orientation.
Accessibility role: radiogroup
Keyboard: Tab, Shift+Tab, Space, Arrow keys
Tokens: `--sheen-color-border-control`, `--sheen-color-accent`, `--sheen-color-focus-ring`, `--sheen-icon-size-md`
Do:
- Use a stable legend and unique native group name.
Do not:
- Do not use radios for independent on/off choices or toolbar toggle groups.
Example, Refresh cadence:
```tsx
```
### RangeSlider
A two-thumb slider with an ordered tuple contract, minimum separation, and distinct accessible thumb names.
Category: forms
Props:
- `value: readonly [number,number]` (optional). Controlled increasing pair within the configured range.
- `defaultValue: readonly [number,number]` (optional). Initial uncontrolled pair; defaults to min and max.
- `onValueChange: (value:readonly [number,number])=>void` (optional). Receives exactly two ordered values during interaction.
- `onValueChangeEnd: (value:readonly [number,number])=>void` (optional). Receives exactly two ordered values at interaction end.
- `minStepsBetweenThumbs: number` (optional; default 0). Nonnegative integer count of required steps between thumbs.
- `label: string` (required). Required visible group label.
- `min: number` (optional; default 0). Finite inclusive lower bound.
- `max: number` (optional; default 100). Finite inclusive upper bound.
- `step: number` (optional; default 1). Positive finite increment.
- `formatOptions: Intl.NumberFormatOptions` (optional). Intl number options evaluated with the effective scoped locale.
- `name: string` (optional). Shared native form name for the two range inputs.
- `form: string` (optional). ID of a form outside the component ancestry.
- `description: string` (optional). Supporting text associated with both thumbs.
- `error: string` (optional). Validation text that marks the slider invalid.
- `disabled: boolean` (optional; default false). Disables pointer, keyboard, and form interaction.
- `readOnly: boolean` (optional; default false). Prevents changes while retaining focus.
- `required: boolean` (optional; default false). Marks both native range inputs required.
- `orientation: "horizontal"|"vertical"` (optional; default "horizontal"). Horizontal or vertical physical orientation.
- `inverted: boolean` (optional; default false). Reverses the physical direction without changing tuple order.
Accessibility role: slider
Keyboard: ArrowLeft, ArrowRight, ArrowUp, ArrowDown, PageUp, PageDown, Home, End
Tokens: `--sheen-color-bg-inset`, `--sheen-color-border-control`, `--sheen-color-accent`, `--sheen-color-focus-ring`
Do:
- Give both bounds one clear group label; Sheen supplies distinct minimum and maximum thumb names.
Do not:
- Do not use an unordered pair or silently sort invalid app state.
Example, Latency window:
```tsx
```
### Resizable
Hydration-stable panes with pointer, keyboard and persisted sizing.
Category: navigation
Props:
- `children: JSX.Element` (required). Ordered panels and handles.
- `orientation: "horizontal"|"vertical"` (optional; default "horizontal"). Horizontal side-by-side or vertical stacked panels.
- `sizes: readonly number[]` (optional). Controlled panel fractions summing to one.
- `defaultSizes: readonly number[]` (optional). Deterministic initial panel fractions summing to one.
- `onSizesChange: (sizes:readonly number[])=>void` (optional). Reports validated immutable panel fractions.
- `keyboardStep: number` (optional; default 0.05). Fraction moved by a separator arrow-key action.
- `persistence: ResizablePersistence` (optional). App-owned server-known initial sizes, save function, and explicit error handler.
Accessibility role: group containing adjustable separators
Keyboard: ArrowLeft, ArrowRight, ArrowUp, ArrowDown, Home, End
Tokens: `--sheen-color-border-control`, `--sheen-color-accent-fg`, `--sheen-color-focus-ring`, `--sheen-color-focus-ring-offset`
Do:
- Pass the same persisted initialSizes on the server and client.
Do not:
- Do not read localStorage on mount and visibly replace server geometry.
Example, Inspector split:
```tsx
FilesPreview
```
### ResizableHandle
Labeled pointer and keyboard separator between panels.
Category: navigation
Props:
- `label: string` (required). Required accessible name describing both adjacent panels.
- `index: number` (required). Index of the preceding panel.
Accessibility role: separator
Keyboard: ArrowLeft, ArrowRight, ArrowUp, ArrowDown, Home, End
Tokens: `--sheen-color-border-control`, `--sheen-color-accent-fg`, `--sheen-color-focus-ring`, `--sheen-color-focus-ring-offset`
Do:
- Name both adjacent regions in the label.
Do not:
- Do not remove the separator from the tab order.
Example, Editor separator:
```tsx
SourceResult
```
### ResizablePanel
Defines a bounded, optionally collapsible pane inside Resizable.
Category: navigation
Props:
- `children: JSX.Element` (required). Retained panel content.
- `index: number` (required). Stable zero-based index into the root initial-size snapshot.
- `panelId: string` (optional). Stable ID used by the separator relationship.
- `initialSize: number` (optional). Panel-specific initial fraction, overriding the root entry.
- `minSize: number` (optional). Minimum fraction allowed during resize.
- `maxSize: number` (optional). Maximum fraction allowed during resize.
- `collapsible: boolean` (optional; default false). Allows the panel to collapse past its threshold.
- `collapsedSize: number` (optional; default 0). Fraction retained while collapsed.
- `collapseThreshold: number` (optional; default 0.05). Required overdrag fraction before collapse.
- `onResize: (size:number)=>void` (optional). Reports current panel fraction.
- `onCollapse: (size:number)=>void` (optional). Reports the final collapsed fraction.
- `onExpand: (size:number)=>void` (optional). Reports the restored expanded fraction.
Accessibility role: region controlled by adjacent separator
Keyboard: native behavior
Tokens: `--sheen-color-bg`, `--sheen-space-block-md`, `--sheen-space-inline-md`
Do:
- Keep important controls reachable at the minimum size.
Do not:
- Do not use unstable panel IDs across refreshes.
Example, Bounded pane:
```tsx
FilesPreview
```
### Row
Logical horizontal flow, wrapping by default.
Category: layout
Props:
- `wrap: boolean` (optional; default true). Wrap onto additional lines when inline space is exhausted.
- `gap: Spacing` (optional; default "md"). Role-based spacing that follows the active density.
- `align: Alignment` (optional; default "center"). Cross-axis alignment without changing DOM or keyboard order.
- `justify: Justification` (optional; default "start"). Main-axis distribution without reversing content order.
Accessibility role: presentation layout
Keyboard: native behavior
Tokens: `--sheen-space-block-md`, `--sheen-space-inline-md`
Do:
- Preserve logical DOM order and use token spacing.
Do not:
- Do not use layout wrappers to invent inaccessible keyboard order.
Example, Row composition:
```tsx
```
### ScrollArea
A named, keyboard-accessible native scrolling viewport that retains content and scroll ownership.
Category: layout
Props:
- `label: string` (required). Required accessible name distinguishing this scrolling region.
- `orientation: "vertical"|"horizontal"|"both"` (optional; default "vertical"). Scrollable axes. The parent must constrain their dimensions.
Accessibility role: region
Keyboard: Tab, Shift+Tab, ArrowUp, ArrowDown, ArrowLeft, ArrowRight, PageUp, PageDown, Home, End
Tokens: `--sheen-color-fg-subtle`, `--sheen-color-focus-ring`
Do:
- Constrain the viewport through its grid/flex parent or explicit size.
- Use its native ref for app-owned per-pane restoration.
Do not:
- Do not remount the viewport to refresh its content.
- Do not treat this as virtualization or automatic data loading.
Example, Constrained activity pane:
```tsx
Activity content
```
### SearchInput
Labeled search input with a localized clear action.
Category: forms
Props:
- `value: string` (optional). Controlled query. When supplied, the parent must accept changes through onValueChange. An active IME draft remains locally visible until composition ends.
- `defaultValue: string` (optional). Initial uncontrolled query and native form-reset target, ignored when value is supplied.
- `onValueChange: (value:string)=>void` (optional). Receives input and clear edits synchronously, including composition input, and changed uncontrolled values after an uncanceled form reset. No fetching or debounce is performed.
- `clearLabel: string` (optional). Override the localized clear-search action label.
- `shortcut: ShortcutAction` (optional). Optional typed shortcut registration that focuses the input when a ShortcutProvider is present.
- `description: string` (optional). Associated search instructions.
- `error: string` (optional). App-owned validation message.
- `label: string` (required). Required visible label.
Accessibility role: searchbox plus a native clear button
Keyboard: Native text editing, Tab to clear action, Enter or Space clears and restores input focus
Tokens: `--sheen-color-bg-inset`, `--sheen-color-border-control`, `--sheen-control-h-md`
Do:
- Own requests, debounce, composition-aware search scheduling, and stale-result handling in the app.
- Keep existing results visible during query refresh. Use native onInput for detailed input/composition events.
Do not:
- Do not treat this as an autocomplete or results popup.
- Do not switch between controlled and uncontrolled ownership during the control's lifetime.
Example, Search orders:
```tsx
```
### SegmentedControl
A compact single-selection control with native radio submission and bounded overflow.
Category: forms
Props:
- `id: string` (optional). Root fieldset ID used to derive stable relationships.
- `ref: HTMLFieldSetElement|((element:HTMLFieldSetElement)=>void)` (optional). Native root fieldset reference.
- `name: string` (required). Required nonempty native radio-group name.
- `label: string` (required). Required visible group legend.
- `options: readonly SegmentedControlOption[]` (required). Ordered unique values with nonempty labels and optional disabled state.
- `value: string|null` (optional). App-owned selection, or null for no selection.
- `defaultValue: string|null` (optional). Captured uncontrolled selection restored on uncanceled form reset.
- `onValueChange: (value:string|null)=>void` (optional). Receives requested committed selection changes.
- `description: string` (optional). Supporting instructions associated with the group.
- `error: string` (optional). Associated error and invalid state.
- `readOnly: boolean` (optional; default false). Keeps the group focusable and submitted while rejecting changes.
- `required: boolean` (optional; default false). Requires one enabled selection for native validation.
- `orientation: "horizontal"|"vertical"` (optional; default "horizontal"). Visual and keyboard orientation.
- `size: "sm"|"md"` (optional; default "sm"). Compact or standard segment height.
- `overflowBehavior: "scroll"|"wrap"` (optional; default "scroll"). Scrolls one line by default or wraps when the app permits height growth.
- `fullWidth: boolean` (optional; default false). Stretch segments to share the container width equally, for short exclusive choices such as Buy/Sell.
Accessibility role: radiogroup and native radio
Keyboard: Tab, Shift+Tab, Arrow keys, Home, End, Space
Tokens: `--sheen-color-bg-inset`, `--sheen-color-bg-hover`, `--sheen-color-accent-subtle`, `--sheen-color-accent-fg`, `--sheen-color-focus-ring`
Do:
- Use for a short set of mutually exclusive peer views or modes.
Do not:
- Do not use segments for independent toggles or a long searchable taxonomy.
Example, Report period:
```tsx
```
### Select
A single choice with a scope-aware listbox and native form participation.
Category: forms
Props:
- `label: string` (required). Required visible label.
- `options: readonly SelectOption[]` (required). Options keyed by unique nonempty strings, with labels, descriptions, and disabled flags.
- `value: string|null` (optional). App-owned value; null explicitly clears selection.
- `defaultValue: string|null` (optional). Captured uncontrolled default restored by uncanceled form reset.
- `onValueChange: (value:string|null)=>void` (optional). Requested value changes; controlled owners may accept or reject.
- `name: string` (optional). Native form field name; unnamed selects do not submit.
- `form: string` (optional). Optional external form ID, associated with the trigger and native select.
- `placeholder: string` (optional). Empty-selection text, defaulting to the localized selectOption message.
- `description: string` (optional). Supporting instructions associated with the trigger.
- `error: string` (optional). Associated error text and invalid state, without automatic announcements.
- `disabled: boolean` (optional; default false). Prevents interaction and submission.
- `readOnly: boolean` (optional; default false). Allows inspection but rejects selection changes.
- `required: boolean` (optional; default false). Requires a nonempty selection for native form submission.
Accessibility role: button
Keyboard: Tab, Space, Enter, Arrow keys, Home, End, Escape, Typeahead
Tokens: `--sheen-color-border-control`, `--sheen-color-bg-raised`, `--sheen-color-focus-ring`
Do:
- Keep option values stable across refreshes.
Do not:
- Do not use Select as an editable autocomplete.
Example, Refresh cadence:
```tsx
```
### Separator
A structural divider with native separator semantics and an explicit decorative mode.
Category: surfaces
Props:
- `orientation: "horizontal"|"vertical"` (optional; default "horizontal"). Horizontal or vertical separation. Vertical separators stretch within a constrained flex or grid row.
- `decorative: boolean` (optional; default false). Hide a purely visual divider from assistive technology.
Accessibility role: separator unless decorative
Keyboard: native behavior
Tokens: `--sheen-color-bg-raised`, `--sheen-color-border`, `--sheen-color-focus-ring-offset`
Do:
- Use role tokens and preserve the surrounding keyboard order.
Do not:
- Do not add structural borders or shadows merely as decoration.
Example, Separator composition:
```tsx
First sectionSecond section
```
### Sheet
Provides the Drawer contract under the common Sheet name for task and detail panels.
Category: overlays
Props:
- `side: DrawerSide` (optional; default "end"). Logical viewport edge from which the panel enters.
- `title: string` (required). Accessible panel title.
- `contentId: string` (optional). Optional stable content element ID.
- `trigger: string` (optional). Visible label for the opening button.
- `description: string` (optional). Optional explanatory text associated with the panel.
- `open: boolean` (optional). Controlled open state.
- `defaultOpen: boolean` (optional; default false). Uncontrolled initial open state.
- `onOpenChange: ((open:boolean)=>void)` (optional). Requests an open-state change.
- `dismissible: boolean` (optional; default true). Allows Escape, outside press, and the close action.
- `closeLabel: string` (optional). Labelled footer close action. Without it, a corner close icon (named by the scoped close message) comes last in tab order; with it, or for alert dialogs, a labelled close action leads the footer.
- `initialFocus: (()=>HTMLElement)` (optional). Resolves an enabled focus target inside the panel.
- `returnFocus: (()=>HTMLElement)` (optional). Resolves a surviving focus target after close.
- `shortcutScope: string` (optional). Unique modal shortcut scope ID.
- `class: string` (optional). Additional classes on panel content.
- `footer: JSX.Element` (optional). App-owned footer actions beside close.
Accessibility role: dialog
Keyboard: Tab, Shift+Tab, Escape
Tokens: `--sheen-color-bg-raised`, `--sheen-color-bg-overlay`, `--sheen-elevation-modal`, `--sheen-duration-slow`
Do:
- Use Sheet for the same modal side-panel behavior when that name fits the product vocabulary.
Do not:
- Do not use it for persistent AppShell navigation.
Example, Task sheet:
```tsx
Current task
```
### ShortcutPending
Persistent single-line live status for pending shortcut sequences.
Category: application
Props:
- `label: string` (optional). Accessible status name, defaulting to the scoped pendingShortcut message.
Accessibility role: status
Keyboard: native behavior
Tokens: `--sheen-control-h-sm`, `--sheen-color-fg-muted`, `--sheen-text-ui-size`
Do:
- Mount one instance in a persistent status or toolbar slot inside both providers.
- Keep its inline size constrained by the surrounding layout.
Do not:
- Do not conditionally mount the live region only after a prefix.
- Do not rely on one-second feedback as the only way to discover actions; retain the shortcut sheet.
Example, Sequence feedback:
```tsx
```
### ShortcutProvider
Owner-scoped chord and sequence dispatcher with usePendingShortcut feedback.
Category: application
Props:
- `children: JSX.Element` (optional). Owned application content; one provider per document, no nested providers.
- `platform: "mac"|"other"` (optional). Optional mac/other override, read at construction. When omitted, resolve navigator.platform on mount before registering bindings. SSR and initial hydration expose an empty inventory, never provisional wrong-platform bindings.
- `development: boolean` (required). Required collision policy, read at construction: development throws, production warns and uses last registration.
- `activeScopes: readonly string[]` (optional). Reactive outer-to-inner base scope IDs; default global. Focused ShortcutScope boundaries append outer-to-inner scopes. Open sheen dialogs override both with the newest active modal scope. Changes cancel pending sequences; non-sheen overlays must still manage their own isolation.
- `characterShortcuts: boolean` (optional). Allow character-only single keys and sequences, default true. Wire to a user-facing preference. False retains bindings requiring Ctrl, Meta, Alt, or a non-character key. Changes cancel pending input; the app owns persistence.
- `onError: (error:unknown)=>void` (optional). Reports synchronous failures and async rejections while their registration is alive. Matched defaults are prevented before execution. Disposed registrations consume late rejections without notifying a new owner. Without a handler, live errors are rethrown in a microtask.
Accessibility role: none
Keyboard: Registered chords
Do:
- Use useShortcut inside an owned child component.
- Keep platform and development configuration stable for the provider lifetime.
Do not:
- Do not infer backend or modal state from this provider.
- Do not register reserved browser shortcuts or assume disposal cancels application transport.
Example, Keyboard owner:
```tsx
Workspace
```
### ShortcutScope
DOM-bound view or pane scope activated by keyboard focus in its descendants.
Category: application
Props:
- `scope: string` (required). Required unique non-global ID matching useShortcut registrations. Changes release the old scope and cancel pending input.
Accessibility role: none by default
Keyboard: Descendant keyboard events activate the innermost scope
Do:
- Use distinct IDs for simultaneously mounted panes/views.
- Place controls inside the native scope boundary; it adds no tab stop or layout styling.
Do not:
- Do not assume portalled children retain DOM focus ancestry.
- Do not use global as a scoped ID; open dialogs suspend focus scopes.
Example, Inspector pane:
```tsx
```
### ShortcutSheet
Generated modal inventory of registered shortcuts, grouped by their application labels.
Category: application
Props:
- `title: string` (required). Accessible dialog title.
- `contentId: string` (optional). Optional stable content element ID for an external aria-controls relationship. Must be unique in the document.
- `trigger: string` (optional). Visible label for the opening button.
- `description: string` (optional). Optional explanatory text associated with the dialog.
- `open: boolean` (optional). Controlled open state; rejected close requests retain the modal.
- `defaultOpen: boolean` (optional; default false). Uncontrolled initial open state; portal content mounts when the theme target is ready.
- `onOpenChange: ((open:boolean)=>void)` (optional). Requests a change in open state without mutating controlled ownership.
- `dismissible: boolean` (optional; default true). Allows Escape, outside press, and the close action; false disables all three.
- `closeLabel: string` (optional). Labelled footer close action. Without it, a corner close icon (named by the scoped close message) comes last in tab order; with it, or for alert dialogs, a labelled close action leads the footer.
- `initialFocus: (()=>HTMLElement)` (optional). Resolves an enabled focus target inside the mounted dialog.
- `returnFocus: (()=>HTMLElement)` (optional). Optional surviving focus target after closing, useful for triggerless dialogs.
- `shortcutScope: string` (optional). Unique modal shortcut scope ID, defaulting to an internal stable ID. Within ShortcutProvider, opening suspends outer scopes automatically. Register modal actions under this ID; do not reuse an application/global scope.
- `class: string` (optional). Additional classes on modal content.
- `footer: JSX.Element` (optional). App-owned footer actions beside the built-in close action.
Accessibility role: dialog
Keyboard: Tab, Shift+Tab, Escape
Tokens: `--sheen-space-block-sm`, `--sheen-space-inline-sm`
Do:
- Mount inside ThemeProvider and ShortcutProvider.
- Provide a visible trigger even when question-mark opening is enabled.
- Let Dialog suspend outer scopes; use a unique shortcutScope for any sheet-specific bindings.
Do not:
- Do not assume this inventory implies every scope is active.
- Do not treat displayed shortcuts as the only means of executing an action.
Example, Discoverable keyboard help:
```tsx
```
### Skeleton
A static decorative placeholder for a region's genuine first load.
Category: loading
Props:
- `shape: "text"|"rectangle"|"circle"` (optional; default "text"). Text line, rectangular region, or circular placeholder. Supply logical dimensions through style for the expected content geometry.
Accessibility role: decorative, hidden and inert
Keyboard: native behavior
Tokens: `--sheen-color-bg-subtle`, `--sheen-color-border`, `--sheen-control-radius`, `--sheen-surface-radius`, `--sheen-text-ui-leading`, `--sheen-control-h-lg`
Do:
- Reserve the geometry of the expected content. The app owns the 200ms cold-load delay and a localized loading status for the region.
Do not:
- Do not replace loaded content during refresh or navigation with a skeleton.
- Do not put controls or meaningful content inside a skeleton. It is hidden from assistive technology and inert.
- Do not add shimmer, pulse, or mount animation.
Example, Cold-load placeholder:
```tsx
```
### Slider
A single-value accessible slider with scoped locale formatting and native range input semantics.
Category: forms
Props:
- `value: number` (optional). Controlled finite value within the configured range.
- `defaultValue: number` (optional). Initial uncontrolled value; defaults to min.
- `onValueChange: (value:number)=>void` (optional). Receives each accepted pointer or keyboard value.
- `onValueChangeEnd: (value:number)=>void` (optional). Receives the accepted value at interaction end.
- `label: string` (required). Required visible label.
- `min: number` (optional; default 0). Finite inclusive lower bound.
- `max: number` (optional; default 100). Finite inclusive upper bound.
- `step: number` (optional; default 1). Positive finite increment.
- `formatOptions: Intl.NumberFormatOptions` (optional). Intl number options evaluated with the effective scoped locale.
- `name: string` (optional). Native range-input form name.
- `form: string` (optional). ID of a form outside the component ancestry.
- `description: string` (optional). Supporting text associated with the thumb.
- `error: string` (optional). Validation text that marks the slider invalid.
- `disabled: boolean` (optional; default false). Disables pointer, keyboard, and form interaction.
- `readOnly: boolean` (optional; default false). Prevents changes while retaining focus.
- `required: boolean` (optional; default false). Marks the native range input required.
- `orientation: "horizontal"|"vertical"` (optional; default "horizontal"). Horizontal or vertical physical orientation.
- `inverted: boolean` (optional; default false). Reverses the physical direction without changing numeric order.
Accessibility role: slider
Keyboard: ArrowLeft, ArrowRight, ArrowUp, ArrowDown, PageUp, PageDown, Home, End
Tokens: `--sheen-color-bg-inset`, `--sheen-color-border-control`, `--sheen-color-accent`, `--sheen-color-focus-ring`
Do:
- Use a NumberField when exact entry matters more than spatial adjustment.
Do not:
- Do not use a slider for an unbounded or highly precise value.
Example, Percent threshold:
```tsx
```
### SortableList
A controlled reorderable list with pointer dragging, an accent drop indicator, auto-scroll, and an announced keyboard model. Import it from @gemologic/sheen/sortable with @gemologic/sheen/styles/sortable.css.
Category: data
Props:
- `ref: HTMLDivElement|((element:HTMLDivElement)=>void)` (optional). Root element reference.
- `items: readonly Item[]` (required). Owner-ordered items with stable, unique, nonempty ids and a label used for handles and announcements. Item nodes are keyed by id, so refreshed objects keep their DOM, focus, and any in-progress keyboard lift.
- `children: (item:Accessor,index:Accessor)=>JSX.Element` (required). Renders one item from its accessor and current index. It runs once per id; read the accessor for refreshed data.
- `onReorder: (reorder:SortableReorder)=>void` (required). Receives { id, fromIndex, toIndex, ids } after a pointer drop or keyboard drop. The list is controlled: pass reordered items back to accept the move.
- `label: string` (required). Accessible name of the list.
- `orientation: SortableOrientation` (optional; default "vertical"). Layout and arrow-key axis. Horizontal arrows follow reading direction, so they mirror in RTL scopes.
- `handle: boolean` (optional; default false). Render a grip button on each item that owns pointer and keyboard dragging. Without it the whole item drags and is the keyboard target.
- `disabled: boolean` (optional; default false). Prevents picking up any item. Items with disabled: true cannot be picked up, but others still move around them.
- `messages: Partial>>` (optional). Per-instance overrides for the sortable* message keys. Scoped ThemeProvider messages with the same keys apply first.
Accessibility role: list of list items; each item (or its grip button) is the keyboard drag target, described by visually hidden instructions, with an assertive status region for announcements
Keyboard: Space or Enter picks up the focused item, ArrowUp/ArrowDown (vertical) or ArrowLeft/ArrowRight (horizontal, mirrored in RTL) move the lifted item, Home and End move it to the start or end, Space or Enter drops and calls onReorder, Escape or moving focus away cancels and restores the original position
Tokens: `--sheen-color-bg-raised`, `--sheen-elevation-raised`, `--sheen-elevation-overlay`, `--sheen-color-accent`, `--sheen-color-focus-ring`, `--sheen-color-focus-ring-offset`, `--sheen-surface-radius`
Do:
- Use stable ids from your data so DOM identity, focus, and drafts survive refreshes.
- Apply the proposed ids in onReorder, or keep the old order to reject the move.
- Use handle when items contain their own interactive controls.
Do not:
- Do not key items by index or regenerate ids on refresh.
- Do not use reordering as the only way to express priority when a numeric field is clearer.
- Do not import the drag engine directly; Sheen keeps it behind this entry.
Example, Reorderable tasks:
```tsx
import { createSignal } from "solid-js";
const [tasks, setTasks] = createSignal([{ id: "a", label: "Draft notes" }, { id: "b", label: "Rotate keys" }]);
setTasks(current => event.ids.flatMap(id => current.filter(task => task.id === id)))}>{task => {task().label}}
```
Example, Horizontal with handles:
```tsx
{}}>{item => item().label}
```
### Spacer
Decorative flexible space in a Row or Stack; use gap for fixed spacing.
Category: layout
Props:
Accessibility role: presentation layout
Keyboard: native behavior
Tokens: `--sheen-space-block-md`, `--sheen-space-inline-md`
Do:
- Preserve logical DOM order and use token spacing.
Do not:
- Do not put content or interactive children inside Spacer.
Example, Spacer composition:
```tsx
```
### Spinner
A compact loading status with localized text and an optional decorative presentation.
Category: loading
Props:
- `size: "sm"|"md"|"lg"` (optional; default "md"). Semantic icon size.
- `label: string` (optional). Localized status text, defaulting to the provider's loading message.
- `decorative: boolean` (optional; default false). Hide the spinner when surrounding content already announces loading.
Accessibility role: status unless decorative
Keyboard: native behavior
Tokens: `--sheen-color-fg-muted`, `--sheen-icon-size-sm`, `--sheen-icon-size-md`, `--sheen-icon-size-lg`, `--sheen-duration-slow`
Do:
- Use a compact status inside the affected region. The app owns loading timing.
- Use decorative mode beside an existing loading announcement to avoid duplicates.
Do not:
- Do not use full-page spinners or replace existing content during refresh.
- Do not rely on an initially server-rendered live region being announced automatically.
Example, Saving status:
```tsx
```
### Stack
Vertical flow with density-aware block spacing.
Category: layout
Props:
- `gap: Spacing` (optional; default "md"). Role-based spacing that follows the active density.
- `align: Alignment` (optional; default "stretch"). Cross-axis alignment without changing DOM or keyboard order.
- `justify: Justification` (optional; default "start"). Main-axis distribution without reversing content order.
Accessibility role: presentation layout
Keyboard: native behavior
Tokens: `--sheen-space-block-md`, `--sheen-space-inline-md`
Do:
- Preserve logical DOM order and use token spacing.
Do not:
- Do not use layout wrappers to invent inaccessible keyboard order.
Example, Stack composition:
```tsx
```
### Stepper
A responsive workflow progress list with native link, action, and status steps.
Category: navigation
Props:
- `ref: HTMLElement|((element:HTMLElement)=>void)` (optional). Native navigation landmark reference.
- `label: string` (required). Required navigation and progress name.
- `steps: readonly StepperStep[]` (required). Stable-ID status, native-link, or native-button steps with one optional current step.
- `orientation: "horizontal"|"vertical"` (optional; default "horizontal"). Horizontal flow that stacks responsively, or an always-vertical flow.
- `density: "compact"|"default"` (optional; default "default"). Default or compact spacing.
- `refreshing: boolean` (optional; default false). Marks retained accepted steps busy without replacing them.
Accessibility role: navigation, progressbar, and ordered list
Keyboard: Tab, Shift+Tab, Enter, Space
Tokens: `--sheen-color-border-control`, `--sheen-color-accent-subtle`, `--sheen-color-success-subtle`, `--sheen-color-danger-subtle`
Do:
- Use link steps for URL changes and action steps only for in-place operations.
Do not:
- Do not encode progress only through connector or marker color.
Example, Workspace setup:
```tsx
```
### StreamingText
Plain text that grows token by token, retaining paragraph nodes and announcing completion once.
Category: ai
Props:
- `ref: HTMLDivElement|((element:HTMLDivElement)=>void)` (optional). Native root reference.
- `text: string` (required). The full accepted text so far. Blank lines separate paragraphs; other whitespace is preserved. Not parsed as markdown or HTML.
- `streaming: boolean` (optional; default false). Shows the caret and marks the text busy. Changing it from true to false announces completion politely.
- `completeLabel: string` (optional). Completion announcement; defaults to the scoped responseComplete message.
Accessibility role: text with a polite status announcement
Keyboard: native behavior
Tokens: `--sheen-color-fg-muted`, `--sheen-duration-slow`, `--sheen-space-block-md`
Do:
- Publish the accumulated text, not individual tokens; appends rewrite only the final paragraph.
Do not:
- Do not render model output as HTML.
- Do not toggle streaming per token; that would announce repeatedly.
Example, Streaming reply:
```tsx
```
### Surface
Semantic surface with role padding and an inherited focus-ring offset.
Category: surfaces
Props:
- `variant: "base"|"subtle"|"raised"|"inset"` (optional; default "base"). Semantic surface fill; also establishes the focus-ring offset for descendants.
- `padding: Spacing` (optional; default "none"). Role-based padding; none leaves spacing to the composition.
- `bordered: boolean` (optional; default false). Adds a structural border, not an interactive-control boundary.
- `elevated: boolean` (optional; default false). Opt-in raised shadow. Keep elevation sparse.
Accessibility role: generic surface
Keyboard: native behavior
Tokens: `--sheen-color-bg-raised`, `--sheen-color-border`, `--sheen-color-focus-ring-offset`
Do:
- Use role tokens and preserve the surrounding keyboard order.
Do not:
- Do not add structural borders or shadows merely as decoration.
Example, Surface composition:
```tsx
```
### Switch
A labeled binary setting with native form participation and switch semantics.
Category: forms
Props:
- `description: string` (optional). Associated supporting instructions.
- `id: string` (optional). Root container ID used to derive internal IDs.
- `ref: HTMLDivElement|((element:HTMLDivElement)=>void)` (optional). Root container reference; inputRef targets the native input.
- `onPointerDown: NonNullable>>` (optional). Native root pointer-down handler composed with focus behavior.
- `aria-describedby: string` (optional). Extra description IDs on the native input, merged with description and error. With TooltipTrigger, pass its aria-describedby here and its ref as inputRef.
- `error: string` (optional). Associated error marking the control invalid without moving focus.
- `checked: boolean` (optional). App-owned state, retained on reset unless the app changes it.
- `defaultChecked: boolean` (optional; default false). Initial uncontrolled state restored on uncanceled reset.
- `onCheckedChange: (checked:boolean)=>void` (optional). Receives the requested boolean state, not a DOM event.
- `disabled: boolean` (optional; default false). Prevents changes, keyboard focus, and form submission.
- `readOnly: boolean` (optional; default false). Prevents changes while retaining focus and submission.
- `required: boolean` (optional; default false). Requires the switch to be on for native form validation.
- `name: string` (optional). Native form name; empty or omitted names are not submitted.
- `form: string` (optional). External owning form ID, forwarded to the native input.
- `value: string` (optional; default "on"). Value submitted when on.
- `inputRef: (element:HTMLInputElement)=>void` (optional). Receives the native input.
- `label: string` (optional). Visible label, unchanged between on and off. Supply exactly one of label, aria-label, or aria-labelledby.
- `aria-label: string` (optional). Accessible name on the native input when no visible label fits.
- `aria-labelledby: string` (optional). ID of existing visible text that names the native input.
Accessibility role: switch
Keyboard: Tab, Shift+Tab, Space
Tokens: `--sheen-color-accent`, `--sheen-color-border-control`, `--sheen-color-focus-ring`, `--sheen-icon-size-md`
Do:
- Use a stable label describing the setting, not its current value.
Do not:
- Do not use mixed state; a switch is strictly on or off.
Example, Live updates:
```tsx
```
Example, Row setting:
```tsx
```
### Table
Native table semantics and token styling for bounded, non-virtualized tables.
Category: data-display
Props:
- `striped: boolean` (optional; default false). Alternate body-row surfaces with matching focus offsets.
Accessibility role: native table
Keyboard: Native controls within cells retain their tab order; static rows are not focus stops.
Tokens: `--sheen-table-row-h`, `--sheen-color-fg`, `--sheen-color-fg-muted`, `--sheen-color-border`, `--sheen-color-bg-subtle`
Do:
- Supply a caption or explicit accessible table name. Use header cells with scope=col or scope=row.
- Keep native table nesting and explicit TableBody for deterministic server markup.
Do not:
- Do not use this primitive for unbounded datasets. DataTable owns virtualization, pagination, and grid interaction.
- Do not make static rows keyboard focus stops or apply grid roles without implementing grid behavior.
Example, Small order table:
```tsx
OrdersSymbolQuantityBTC1.25
```
### TableBody
Native tbody semantics and token styling for bounded, non-virtualized tables.
Category: data-display
Props:
Accessibility role: native tbody
Keyboard: Native controls within cells retain their tab order; static rows are not focus stops.
Tokens: `--sheen-table-row-h`, `--sheen-color-fg`, `--sheen-color-fg-muted`, `--sheen-color-border`, `--sheen-color-bg-subtle`
Do:
- Supply a caption or explicit accessible table name. Use header cells with scope=col or scope=row.
- Keep native table nesting and explicit TableBody for deterministic server markup.
Do not:
- Do not use this primitive for unbounded datasets. DataTable owns virtualization, pagination, and grid interaction.
- Do not make static rows keyboard focus stops or apply grid roles without implementing grid behavior.
Example, Small order table:
```tsx
OrdersSymbolQuantityBTC1.25
```
### TableCaption
Native caption semantics and token styling for bounded, non-virtualized tables.
Category: data-display
Props:
Accessibility role: native caption
Keyboard: Native controls within cells retain their tab order; static rows are not focus stops.
Tokens: `--sheen-table-row-h`, `--sheen-color-fg`, `--sheen-color-fg-muted`, `--sheen-color-border`, `--sheen-color-bg-subtle`
Do:
- Supply a caption or explicit accessible table name. Use header cells with scope=col or scope=row.
- Keep native table nesting and explicit TableBody for deterministic server markup.
Do not:
- Do not use this primitive for unbounded datasets. DataTable owns virtualization, pagination, and grid interaction.
- Do not make static rows keyboard focus stops or apply grid roles without implementing grid behavior.
Example, Small order table:
```tsx
OrdersSymbolQuantityBTC1.25
```
### TableCell
Native td semantics and token styling for bounded, non-virtualized tables.
Category: data-display
Props:
- `numeric: boolean` (optional; default false). Use logical end alignment and tabular figures for numeric content.
Accessibility role: native td
Keyboard: Native controls within cells retain their tab order; static rows are not focus stops.
Tokens: `--sheen-table-row-h`, `--sheen-color-fg`, `--sheen-color-fg-muted`, `--sheen-color-border`, `--sheen-color-bg-subtle`
Do:
- Supply a caption or explicit accessible table name. Use header cells with scope=col or scope=row.
- Keep native table nesting and explicit TableBody for deterministic server markup.
Do not:
- Do not use this primitive for unbounded datasets. DataTable owns virtualization, pagination, and grid interaction.
- Do not make static rows keyboard focus stops or apply grid roles without implementing grid behavior.
Example, Small order table:
```tsx
OrdersSymbolQuantityBTC1.25
```
### TableFoot
Native tfoot semantics and token styling for bounded, non-virtualized tables.
Category: data-display
Props:
Accessibility role: native tfoot
Keyboard: Native controls within cells retain their tab order; static rows are not focus stops.
Tokens: `--sheen-table-row-h`, `--sheen-color-fg`, `--sheen-color-fg-muted`, `--sheen-color-border`, `--sheen-color-bg-subtle`
Do:
- Supply a caption or explicit accessible table name. Use header cells with scope=col or scope=row.
- Keep native table nesting and explicit TableBody for deterministic server markup.
Do not:
- Do not use this primitive for unbounded datasets. DataTable owns virtualization, pagination, and grid interaction.
- Do not make static rows keyboard focus stops or apply grid roles without implementing grid behavior.
Example, Small order table:
```tsx
OrdersSymbolQuantityBTC1.25
```
### TableHead
Native thead semantics and token styling for bounded, non-virtualized tables.
Category: data-display
Props:
Accessibility role: native thead
Keyboard: Native controls within cells retain their tab order; static rows are not focus stops.
Tokens: `--sheen-table-row-h`, `--sheen-color-fg`, `--sheen-color-fg-muted`, `--sheen-color-border`, `--sheen-color-bg-subtle`
Do:
- Supply a caption or explicit accessible table name. Use header cells with scope=col or scope=row.
- Keep native table nesting and explicit TableBody for deterministic server markup.
Do not:
- Do not use this primitive for unbounded datasets. DataTable owns virtualization, pagination, and grid interaction.
- Do not make static rows keyboard focus stops or apply grid roles without implementing grid behavior.
Example, Small order table:
```tsx
OrdersSymbolQuantityBTC1.25
```
### TableHeaderCell
Native th semantics and token styling for bounded, non-virtualized tables.
Category: data-display
Props:
- `numeric: boolean` (optional; default false). Use logical end alignment and tabular figures for numeric content.
Accessibility role: native th
Keyboard: Native controls within cells retain their tab order; static rows are not focus stops.
Tokens: `--sheen-table-row-h`, `--sheen-color-fg`, `--sheen-color-fg-muted`, `--sheen-color-border`, `--sheen-color-bg-subtle`
Do:
- Supply a caption or explicit accessible table name. Use header cells with scope=col or scope=row.
- Keep native table nesting and explicit TableBody for deterministic server markup.
Do not:
- Do not use this primitive for unbounded datasets. DataTable owns virtualization, pagination, and grid interaction.
- Do not make static rows keyboard focus stops or apply grid roles without implementing grid behavior.
Example, Small order table:
```tsx
OrdersSymbolQuantityBTC1.25
```
### TableRow
Native tr semantics and token styling for bounded, non-virtualized tables.
Category: data-display
Props:
Accessibility role: native tr
Keyboard: Native controls within cells retain their tab order; static rows are not focus stops.
Tokens: `--sheen-table-row-h`, `--sheen-color-fg`, `--sheen-color-fg-muted`, `--sheen-color-border`, `--sheen-color-bg-subtle`
Do:
- Supply a caption or explicit accessible table name. Use header cells with scope=col or scope=row.
- Keep native table nesting and explicit TableBody for deterministic server markup.
Do not:
- Do not use this primitive for unbounded datasets. DataTable owns virtualization, pagination, and grid interaction.
- Do not make static rows keyboard focus stops or apply grid roles without implementing grid behavior.
Example, Small order table:
```tsx
OrdersSymbolQuantityBTC1.25
```
### Tabs
Named tab panels with stable identities, retained drafts, and scoped keyboard navigation.
Category: navigation
Props:
- `label: string` (required). Required accessible name for the tab list.
- `items: readonly TabOption[]` (required). Ordered tabs with stable unique values, labels, and optional disabled state.
- `value: string` (optional). Controlled selected value.
- `defaultValue: string` (optional). Initial uncontrolled value; defaults to the first enabled tab.
- `onValueChange: (value:string)=>void` (optional). Requests selection; controlled owners may reject it.
- `orientation: "horizontal"|"vertical"` (optional; default "horizontal"). Tab list layout and arrow-key axis.
- `activationMode: "automatic"|"manual"` (optional; default "automatic"). Automatic selects on arrow navigation; manual requires Enter or Space.
- `children: (value:string)=>JSX.Element` (required). Panel renderer, mounted once per stable item value and retained while inactive.
Accessibility role: tablist, tab, tabpanel
Keyboard: Tab, Shift+Tab, ArrowLeft, ArrowRight, ArrowUp, ArrowDown, Home, End, Enter, Space
Tokens: `--sheen-color-fg`, `--sheen-color-border`, `--sheen-color-focus-ring`
Do:
- Keep values stable during refresh.
- Use manual activation when selection starts expensive work.
Do not:
- Do not use tabs as a substitute for URL navigation.
- Do not assume inactive panels stop effects or native form submission.
Example, Settings panels:
```tsx
{value => }
```
### Tag
A labeled chip with optional native-button removal; collection state remains app-owned.
Category: data display
Props:
- `label: string` (required). Plain-text tag identity, also used by the default accessible remove label.
- `onRemove: ()=>void` (optional). App-owned removal callback. The app updates the collection and restores focus if the tag disappears.
- `removeLabel: string` (optional). Override the accessible remove-button name; defaults to the localized remove message plus label.
- `disabled: boolean` (optional; default false). Disables removal without hiding the tag.
- `tone: StatusTone` (optional; default "neutral"). Semantic status or market role, independent of the selected accent.
- `variant: "soft"|"solid"|"outline"` (optional; default "soft"). Soft fill, solid fill, or outline treatment.
- `size: "sm"|"md"` (optional; default "sm"). Density-aware label size.
Accessibility role: label with optional removal button
Keyboard: Tab, Enter, Space
Tokens: `--sheen-text-caption-size`, `--sheen-color-success-fg`, `--sheen-color-success-subtle`
Do:
- Use visible text as well as color to communicate meaning.
Do not:
- Do not remove a focused tag without moving focus to a surviving control.
Example, Tag example:
```tsx
```
### TagInput
An ordered free-form tag editor with native multi-value submission and stale-safe async validation.
Category: forms
Props:
- `ref: HTMLDivElement|((element:HTMLDivElement)=>void)` (optional). Native root reference.
- `inputRef: HTMLInputElement|((element:HTMLInputElement)=>void)` (optional). Native editable-input reference.
- `label: string` (required). Required visible field label.
- `name: string` (optional). Native multi-value form name.
- `form: string` (optional). Optional external form ID.
- `value: readonly string[]` (optional). Controlled ordered unique nonempty tag values.
- `defaultValue: readonly string[]` (optional). Initial uncontrolled values restored on uncanceled form reset.
- `onValueChange: (value:readonly string[])=>void` (optional). Receives ordered committed tag values.
- `validate: (candidate:string,context:TagInputValidationContext,signal:AbortSignal)=>TagInputValidationResult|Promise` (optional). Optional sync or async candidate validator. It receives accepted values and an AbortSignal; stale completions cannot publish.
- `onValidationError: (error:unknown)=>void` (optional). Receives unexpected validator failures after the retained draft receives a localized error.
- `normalize: (draft:string)=>string` (optional). Synchronous candidate normalization before uniqueness and validation; defaults to trim.
- `placeholder: string` (optional). Editable-input placeholder shown only when no tags exist.
- `description: string` (optional). Supporting text associated with the editor.
- `error: string` (optional). App-owned field error, distinct from candidate validation.
- `disabled: boolean` (optional; default false). Disables editing, removal, reordering, validation, and form submission.
- `readOnly: boolean` (optional; default false). Keeps values and controls inspectable while rejecting changes.
- `required: boolean` (optional; default false). Requires at least one committed tag in the native form projection.
- `commitKeys: readonly string[]` (optional). Keys that validate and commit the current draft; defaults to Enter and comma.
Accessibility role: labeled text input and native multi-select projection
Keyboard: Enter, Comma, Backspace, Delete, Alt+Arrow keys, Alt+Home, Alt+End
Tokens: `--sheen-color-bg`, `--sheen-color-border-control`, `--sheen-color-neutral-subtle`, `--sheen-color-focus-ring`
Do:
- Use stable exact strings when order and free-form entry both matter.
Do not:
- Do not use TagInput for selection from a controlled taxonomy; use MultiCombobox.
Example, Project labels:
```tsx
```
### Text
Inline text with semantic type roles, accessible muted color, and optional tabular figures.
Category: typography
Props:
- `size: "caption"|"ui-sm"|"ui"|"body"|"lead"` (optional; default "ui"). Semantic type role, not an arbitrary font size.
- `tone: "default"|"muted"` (optional; default "default"). Primary or AA-gated muted foreground.
- `numeric: boolean` (optional; default false). Enable tabular figures for aligned numeric content.
Accessibility role: inline text
Keyboard: native behavior
Tokens: `--sheen-font-sans`, `--sheen-font-mono`, `--sheen-color-fg`, `--sheen-color-fg-muted`
Do:
- Use visible text as well as color to communicate meaning.
Do not:
- Do not use low-contrast subtle tokens for meaningful text.
Example, Text example:
```tsx
Updated recently
```
### Textarea
A labeled native multiline input with optional frame-batched autosizing.
Category: forms
Props:
- `label: string` (required). Required visible label.
- `description: string` (optional). Instructions associated with the textarea.
- `error: string` (optional). App-owned validation message, associated with the invalid textarea.
- `autoResize: boolean` (optional; default false). Measure content after mount and grow or shrink on input, value, width, font, or theme changes. Owns inline block-size while enabled; use min/max-block-size constraints. Rows reserves initial server geometry.
Accessibility role: multiline textbox
Keyboard: Native multiline text editing, Enter inserts a newline, Tab follows native focus order
Tokens: `--sheen-color-bg-inset`, `--sheen-color-border-control`, `--sheen-text-ui-leading`, `--sheen-space-block-xs`
Do:
- Reserve realistic rows on the server. Font-dependent measurement happens after hydration without replacing the control.
- Use max-block-size to cap growth; excess content remains scrollable.
Do not:
- Do not autosubmit on Enter or discard drafts during background refresh.
- Do not animate height while typing or set a competing inline block-size during autosizing.
Example, Growing notes:
```tsx
```
### ThemeProvider
Owns application theme state, scoped overlays, messages, and root-only persistence.
Category: theming
Props:
- `initialState: ThemeState` (optional). Deterministic initial state; cookie mode requires identical server/client state.
- `defaultMode: Mode|"system"` (optional; default "dark"). Fresh-install preference; system follows the OS only when explicitly selected.
- `defaultTheme: string` (optional; default "obsidian"). Default registered theme ID.
- `defaultAccent: string` (optional; default "jade"). Default independent accent preset.
- `defaultDensity: "compact"|"comfortable"|"spacious"` (optional; default "comfortable"). Default control density.
- `defaultRadius: "sharp"|"soft"|"round"` (optional; default "soft"). Default corner treatment.
- `defaultMotion: "full"|"reduced"` (optional; default "full"). Default motion preference; OS reduced motion still wins.
- `direction: "ltr"|"rtl"` (optional; default "ltr"). Explicit writing direction.
- `locale: string` (optional; default "en-US"). Explicit server/client Intl locale.
- `themes: readonly ThemeMetadata[]` (optional). Registered themes. Load their CSS and configure the same prepaint catalog.
- `accents: readonly string[]` (optional). Custom accent IDs built with defineAccent/buildAccent. Load their CSS and pass the same IDs to createThemeScript({ accents }).
- `storageKey: string` (optional; default "sheen"). Root preference storage key.
- `hydration: "client"|"cookie"` (optional; default "client"). Client prepaint handoff or cookie-authoritative SSR.
- `persist: (state:ThemeState)=>Promise` (optional). Cookie-mode app callback, awaited before accepting preference changes.
- `onPersistenceError: (error:unknown)=>void` (optional). Reports failed storage or cookie persistence.
- `nonce: string` (optional). CSP nonce for generated scope scripts; match the document policy.
- `messages: Partial` (optional). Partial translations inheriting English defaults.
Accessibility role: context provider
Keyboard: native behavior
Do:
- Install the theme prepaint script in client hydration mode.
Do not:
- Do not choose initial markup from browser-only state.
Example, Dark application root:
```tsx
```
### ThemeScope
Overrides theme axes locally, with inherited messages and a contextual overlay target.
Category: theming
Props:
- `controllable: boolean` (optional; default false). Makes scoped setters modify local overrides only. Without it, setters forward axes the scope does not pin to the parent and reject pinned axes.
- `class: string` (optional). Class for the scope wrapper.
- `messages: Partial` (optional). Partial translations layered over the parent scope's messages.
- `theme: string|null` (optional). Local theme ID; omitted inherits and null resets to provider default.
- `mode: Mode|"system"|null` (optional). Local mode; omitted inherits and null resets.
- `accent: string|null` (optional). Local accent preset; never changes root persistence.
- `density: "compact"|"comfortable"|"spacious"|null` (optional). Local density; omitted inherits and null resets.
- `radius: "sharp"|"soft"|"round"|null` (optional). Local corner treatment; omitted inherits and null resets.
- `motion: "full"|"reduced"|null` (optional). Local motion preference; OS reduced motion still wins.
- `direction: "ltr"|"rtl"|null` (optional). Local writing direction; omitted inherits and null resets.
- `locale: string|null` (optional). Local explicit formatting locale; omitted inherits and null resets.
Accessibility role: themed region
Keyboard: native behavior
Do:
- Use independent iframes for full-layout comparisons.
Do not:
- Do not expect scopes to persist preferences.
Example, Light comparison pane:
```tsx
```
### Toast
A notification card with stable action, pending, retry, and dismissal controls.
Category: overlays
Props:
- `notification: ToastNotification` (required). Immutable controller snapshot. Raw errors are never rendered.
- `onAction: ()=>void` (required). Request the owning controller's action. Pending actions cannot be invoked through the button.
- `onDismiss: ()=>void` (required). Request removal without canceling app-owned work.
- `class: string` (optional). Additional card classes.
Accessibility role: group
Keyboard: Tab, Shift+Tab, Enter, Space
Tokens: `--sheen-color-bg-raised`, `--sheen-color-focus-ring`, `--sheen-color-danger-fg`, `--sheen-elevation-overlay`
Do:
- Key cards by notification handle and pass updated snapshots into the existing card.
- Provide safe localized action error text.
Do not:
- Do not use a transient card as the only place essential information or actions can be found.
- Do not mistake the card for a complete queue presenter: announcements, timers, and removal belong to the presenter.
Example, Notification card:
```tsx
const notices = createToaster(); const id = notices.show({ title: "Saved", duration: null }); const notification = notices.notifications()[0];
<>{notification && { void notices.runAction(id); }} onDismiss={() => { notices.dismiss(id); }} />}>
```
### Toaster
A scoped, bounded notification queue with live announcements and paused visible-time expiry.
Category: overlays
Props:
- `controller: ToastController` (required). Owner-local notification controller. Mount one presenter for each controller.
- `limit: number` (optional; default 3). Positive maximum number of visible or exiting cards; queued cards do not consume lifetime.
- `label: string` (optional). Accessible region name; defaults to the scoped notifications message.
- `class: string` (optional). Additional region classes.
Accessibility role: region
Keyboard: Tab, Shift+Tab, Enter, Space, Escape
Tokens: `--sheen-color-bg-raised`, `--sheen-duration-fast`, `--sheen-space-block-md`
Do:
- Create and mount a controller inside the appropriate theme scope.
- Keep essential information and actions available without a time limit.
Do not:
- Do not treat dismissal as cancellation of an app-owned request.
- Do not mount multiple presenters for the same controller.
Example, Scoped notifications:
```tsx
const notices = createToaster();
<>>
```
### Tooltip
An action button with hover/focus help and optional shortcut display.
Category: overlays
Props:
- `type: "button"|"submit"|"reset"` (optional; default "button"). Native action, submission, or reset behavior.
- `content: string` (required). Noninteractive supporting text; never a replacement for the trigger's accessible name.
- `shortcut: string|ShortcutAction` (optional). A string displays a hint only; a typed shortcut action also registers the trigger and displays its platform-formatted binding.
- `placement: "top"|"bottom"|"left"|"right"` (optional; default "top"). Preferred side, with viewport collision handling.
- `openDelay: number` (optional; default 500). Hover opening delay in milliseconds; keyboard focus opens immediately.
- `closeDelay: number` (optional; default 100). Pointer departure delay in milliseconds, preserving a hoverable path to the content.
- `variant: NonNullable<"solid"|"soft"|"outline"|"ghost"|"link">` (optional; default "outline"). Visual treatment; solid accent actions should be rare.
- `tone: NonNullable<"neutral"|"accent"|"danger"|"success">` (optional; default "neutral"). Semantic color role, independent of visual treatment.
- `size: NonNullable<"xs"|"sm"|"md"|"lg">` (optional; default "md"). Density-aware control size.
- `loading: false|true` (optional; default false). Marks pending work and suppresses activation while keeping the button focusable.
Accessibility role: tooltip
Keyboard: Tab, Shift+Tab, Escape, Enter, Space
Tokens: `--sheen-button-radius`, `--sheen-control-h-md`, `--sheen-color-accent`, `--sheen-color-bg-raised`, `--sheen-elevation-raised`, `--sheen-duration-fast`
Do:
- Provide a visible label or aria-label on the native trigger.
Do not:
- Do not nest a button inside Tooltip; use TooltipTrigger to attach help to an existing element.
- Do not put interactive controls in its content.
Example, Save hint:
```tsx
Save
```
### TooltipTrigger
Hover/focus help attached to an existing focusable element without rendering another control.
Category: overlays
Props:
- `content: string` (required). Noninteractive supporting text; never a replacement for the element's accessible name.
- `shortcut: string` (optional). Display-only shortcut hint rendered as Kbd; it does not register a binding.
- `tooltipDisabled: boolean` (optional; default false). Disables only the help layer. Set it when the element is disabled, because disabled controls do not open help.
- `placement: "top"|"bottom"|"left"|"right"` (optional; default "top"). Preferred side, with viewport collision handling.
- `openDelay: number` (optional; default 500). Hover opening delay in milliseconds; keyboard focus opens immediately.
- `closeDelay: number` (optional; default 100). Pointer departure delay in milliseconds, preserving a hoverable path to the content.
- `aria-describedby: string` (optional). Existing description IDs, merged with the tooltip content ID in the supplied bindings.
- `children: (trigger:TooltipTriggerBindings)=>JSX.Element` (required). Render exactly one focusable element and spread the supplied ref and aria-describedby bindings on it. Compose an own ref by calling the binding's ref; the element keeps its own event handlers.
Accessibility role: tooltip
Keyboard: Tab, Shift+Tab, Escape
Tokens: `--sheen-color-bg-raised`, `--sheen-elevation-raised`, `--sheen-duration-fast`
Do:
- Use for an element that already exists, such as an app button or a third-party control, instead of nesting it inside Tooltip.
Do not:
- Do not render more than one element from the bindings or attach help to a non-focusable element.
- Do not put interactive content in the tooltip; use Popover.
Example, Existing button:
```tsx
{trigger => }
```
Example, Native element:
```tsx
{trigger => }
```
Example, Switch or checkbox:
```tsx
{trigger => }
```
### Tree
A hierarchical treeview with explicit selection, retained expansion state, roving focus, and typeahead.
Category: navigation
Props:
- `label: string` (required). Required accessible name for the tree.
- `selectionMode: TreeSelectionMode` (optional; default "single"). Whether items are unselectable, singly selected, or independently selected.
- `selectedValues: readonly string[]` (optional). Controlled stable item values selected by the app.
- `defaultSelectedValues: readonly string[]` (optional). Initially selected values for uncontrolled operation.
- `onSelectionChange: (values:readonly string[])=>void` (optional). Receives requested selection; controlled owners may reject it.
- `expandedValues: readonly string[]` (optional). Controlled stable branch values that expose their child groups.
- `defaultExpandedValues: readonly string[]` (optional). Initially expanded branch values for uncontrolled operation.
- `onExpandedChange: (values:readonly string[])=>void` (optional). Receives requested expansion; controlled owners may reject it.
- `onActivate: (value:string)=>void` (optional). Handles Enter or the default item action without changing selection or focus.
Accessibility role: tree
Keyboard: ArrowDown, ArrowUp, ArrowRight, ArrowLeft, Home, End, Enter, Space, *, typeahead
Tokens: `--sheen-color-bg-hover`, `--sheen-color-bg-selected`, `--sheen-color-focus-ring`, `--sheen-space-inline-sm`
Do:
- Use stable unique values and preserve item ownership while labels or data refresh.
- Keep focus, selection, expansion, and activation as separate states.
Do not:
- Do not use Tree for a flat list or remount it to publish refreshed data.
Example, Workspace tree:
```tsx
```
### TreeItem
A stable leaf or retained branch within a Tree.
Category: navigation
Props:
- `value: string` (required). Required stable identity, unique within the owning tree.
- `label: string` (required). Required visible and accessible item label.
- `disabled: boolean` (optional; default false). Keeps the item focusable while preventing selection, activation, and expansion.
- `children: JSX.Element` (optional). Nested TreeItems; providing children makes this item an expandable branch.
Accessibility role: treeitem
Keyboard: ArrowDown, ArrowUp, ArrowRight, ArrowLeft, Enter, Space
Tokens: `--sheen-color-fg`, `--sheen-color-bg-hover`, `--sheen-color-focus-ring`, `--sheen-space-inline-sm`
Do:
- Keep each value stable across background refresh and reordering.
Do not:
- Do not put unrelated interactive controls inside an item label.
Example, Retained branch:
```tsx
```