snapshot of https://github.com/shadcn-ui/ui.git (main, 2026-09-15; blobs > 131072B omitted)
This commit is contained in:
15
apps/v4/examples/base/checkbox-basic.tsx
Normal file
15
apps/v4/examples/base/checkbox-basic.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import { Checkbox } from "@/styles/base-nova/ui/checkbox"
|
||||
import { Field, FieldGroup, FieldLabel } from "@/styles/base-nova/ui/field"
|
||||
|
||||
export function CheckboxBasic() {
|
||||
return (
|
||||
<FieldGroup className="mx-auto w-56">
|
||||
<Field orientation="horizontal">
|
||||
<Checkbox id="terms-checkbox-basic" name="terms-checkbox-basic" />
|
||||
<FieldLabel htmlFor="terms-checkbox-basic">
|
||||
Accept terms and conditions
|
||||
</FieldLabel>
|
||||
</Field>
|
||||
</FieldGroup>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user