Files
upstream-shadcn-ui/apps/v4/examples/radix/progress-label.tsx
upstream-mirror 1416db152c
All checks were successful
Release / Create Version PR or Publish Stable Release (push) Has been skipped
Release / Publish Prerelease to NPM (push) Has been skipped
Monitor Registries / Monitor registry health (push) Has been skipped
snapshot of https://github.com/shadcn-ui/ui.git (main, 2026-09-15; blobs > 131072B omitted)
2026-09-15 22:44:43 +05:00

15 lines
431 B
TypeScript

import { Field, FieldLabel } from "@/styles/radix-nova/ui/field"
import { Progress } from "@/styles/radix-nova/ui/progress"
export function ProgressWithLabel() {
return (
<Field className="w-full max-w-sm">
<FieldLabel htmlFor="progress-upload">
<span>Upload progress</span>
<span className="ml-auto">66%</span>
</FieldLabel>
<Progress value={66} id="progress-upload" />
</Field>
)
}