p-checkbox-2

PreviousNext

Disabled checkbox

Docs
cossblock

Preview

Loading preview…
registry/default/particles/p-checkbox-2.tsx
import { Checkbox } from "@/registry/default/ui/checkbox";
import { Label } from "@/registry/default/ui/label";

export default function Particle() {
  return (
    <Label>
      <Checkbox defaultChecked disabled />
      Accept terms and conditions
    </Label>
  );
}

Installation

npx shadcn@latest add @coss/p-checkbox-2

Usage

import { PCheckbox2 } from "@/components/p-checkbox-2"
<PCheckbox2 />