label-with-checkbox

PreviousNext
Docs
pureuiexample

Preview

Loading preview…
registry/pure-ui/examples/label/label-with-checkbox.tsx
import { Checkbox } from "@/registry/pure-ui/ui/checkbox";
import { Label } from "@/registry/pure-ui/ui/label";

export function LabelWithCheckbox() {
  return (
    <Label>
      <Checkbox />
      Accept terms and conditions
    </Label>
  );
}

Installation

npx shadcn@latest add @pureui/label-with-checkbox

Usage

import { LabelWithCheckbox } from "@/components/label-with-checkbox"
<LabelWithCheckbox />