Netzo Logo

label

Renders an accessible label associated with controls.

shadcn/ui radix-ui Storybook Figma

Usage

After installation components can be imported and used directly.

import { Label } from 'netzo/components/label.tsx'

Examples

Working examples to copy-paste into projects under components/.

Default

import { Checkbox } from "netzo/components/checkbox.tsx";
import { Label } from "netzo/components/label.tsx";

export default () => {
  return (
    <div>
      <div className="flex items-center space-x-2">
        <Checkbox id="terms" />
        <Label htmlFor="terms">Accept terms and conditions</Label>
      </div>
    </div>
  );
};