Skip to main content

donut-binary

Feature guidance for the 2-segment (binary) Donut chart variant. Use when generating a Donut with exactly 2 segments and no separate swatch legend. Token values referenced here are defined in donut-chart-tokens.

Informações da origem

Repositório
adobe/react-spectrum-charts
Última atividade na origem
4 de agosto de 2026 às 19:59
Idioma detectado do SKILL.md
inglês
Estrelas
129
Forks
30

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
name
donut-binary
description
Feature guidance for the 2-segment (binary) Donut chart variant. Use when generating a Donut with exactly 2 segments and no separate swatch legend. Token values referenced here are defined in donut-chart-tokens.
# 2-Segment / Binary Donut Tokens referenced below are defined in [`donut-chart-tokens`](../donut-chart-tokens/SKILL.md) — this file covers feature behavior only, not token values. - `Segment=2` variant - Primary segment: any categorical color; secondary: `chart.donut.color.secondary-gray` - No legend component — label lives in the center hole (`Metric total` + `Metric label`, see [`donut-metric-labels`](../donut-metric-labels/SKILL.md)) - Only the primary segment is labeled
Ver no GitHub