Skip to content

Progress

progress-values.tsx
import { Stack } from "@/components/ui/stack"
import { Progress } from "@/components/ui/progress"

export function ProgressValues() {
  return (
    <Stack direction="col" className="gap-3 max-w-sm w-full">
      <Progress value={0} />
      <Progress value={33} />
      <Progress value={66} />
      <Progress value={100} />
    </Stack>
  )
}
progress-variants.tsx
import { Stack } from "@/components/ui/stack"
import { Progress } from "@/components/ui/progress"

export function ProgressVariants() {
  return (
    <Stack direction="col" className="gap-3 max-w-sm w-full">
      <Progress value={60} />
      <Progress value={60} variant="destructive" />
      <Progress value={60} variant="success" />
    </Stack>
  )
}