@hanzo/ui

Progress Ring

import { ProgressRing } from '@hanzo/ui'

No examples yet.

Types

export type ProgressRingProps = Omit<ComponentProps<typeof XStack>, 'children'> & {
  /** 0–100, or `null` for indeterminate. */
  value: number | null
  size?: keyof typeof SIZE
  /** The indicator's colour, any CSS colour or custom property. */
  barColor?: string
  /** A label drawn left of the ring; names it unless `aria-label` is given. */
  children?: ReactNode
  'aria-label'?: string
}

Exports

ProgressRingtype ProgressRingProps