SuperdindaDocs
Consent & billing

ProgressRing

A thin progress ring (Figma "Progress Ring" 188:1539), kept only for the queue position: countdown and sync-percentage rings are retired (SC-06, SC-16), time is said as text.

Brand by default, Warm when attention.

<ProgressRing value={60} label="Sua vez na fila"><span>2º</span></ProgressRing>

Playground

Um preset por valor do primeiro eixo do Figma. Mude as props; dsState força hover, foco ou pressionado, como na matriz.

Progress Ring

Variantes, tamanhos e estados

Cada célula é o componente real, marcada com a variante do Figma que reproduz (passe o mouse pra ver o node).

Value · 0

ToneProgress Ring
Brand
2ºna fila

Value · 60

ToneProgress Ring
Brand
2ºna fila
Warm
2ºna fila

Value · 100

ToneProgress Ring
Brand
2ºna fila

Props

As props que o arquivo do DS declara. O componente também repassa as do primitivo (base-ui), quando ele tem um.

PropTipoPadrãoDescrição
number—Figma "Value": 0–100.
"brand" | "warm""brand"Figma "Tone". Warm is for a held turn that is running out.
string—Accessible name. With it the ring is a progressbar; without it the ring is decorative and the children must say the same thing in words.
string—
ReactNode—What sits inside the ring (the queue position, a short sentence).

On this page