Skip to content
Twentyfirst UIHalo

Activity Rings

Life · ActivityRings, Card

View as Markdown

Concentric progress rings for daily goals (move, exercise, stand, steps, water) with a legend.

  • rings lists outer ring first: label, value, goal, unit, tint.
  • The rings carry one accessible description with every value and goal; legend={false} hides the visible legend.

Props

ActivityRings

PropTypeNotes
ringsActivityRing[]Outer ring first.
size?numberDiameter of the rings (default 132).
legend?booleanHide the legend beside the rings.
label?stringAccessible name (default "Activity").
className?stringExtra class on the root element.
style?CSSPropertiesInline style on the root element.

Card

PropTypeNotes
title?string
description?string
meta?string[]
corner?ReactNode
status?ReactNode
actions?ReactNode[]
tint?Tint | "surface"
onClick?() => void
children?ReactNode
eyebrow?ReactNode
surface?Surface`"glass"`: translucent glass over what is behind (maps, 3D, video, photos); `"solid"` opts out inside a glass `UIProvider`.
className?stringExtra class on the root element.
style?CSSPropertiesInline style on the root element.