snapshot of https://github.com/shadcn-ui/ui.git (main, 2026-09-15; blobs > 131072B omitted)
This commit is contained in:
14
apps/v4/examples/radix/progress-label.tsx
Normal file
14
apps/v4/examples/radix/progress-label.tsx
Normal file
@@ -0,0 +1,14 @@
|
||||
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>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user