Edwin Vakayil

New checkbox

Forms 10

About

This is a checkbox component

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds New checkbox to your project and fits it to your theme.

Code

How New checkbox is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import { useState } from "react";
import { Checkbox } from "@/components/ui/chekbox";

export function CheckboxPreview() {
  const [checked, setChecked] = useState(true);

  return (
    <div className="flex min-h-screen items-center justify-center">
      <Checkbox checked={checked} onChange={setChecked}>
        <span className="text-muted-foreground">
          Email me when the next release ships
        </span>
      </Checkbox>
    </div>
  );
}

export default CheckboxPreview;

Dependencies

More by Edwin Vakayil

View all
  • Origin Button

    Origin Button

    887
  • Infinite Ribbon

    Infinite Ribbon

    602
  • Shimmer Text

    Shimmer Text

    461
  • Dia Text

    Dia Text

    379
  • Icon Bar

    Icon Bar

    266
  • FAQ Pro

    FAQ Pro

    250
  • Verified Badge

    Verified Badge

    235
  • New Card

    New Card

    201

More in Forms

View all
  • Premium Auth

    Premium Auth

    593
  • Contact Form

    Contact Form

    28
  • Form

    Form

    4
  • Login 1

    Login 1

    70
  • Book A Demo 1

    Book A Demo 1

    94
  • Contact Card

    Contact Card

    1.1K
  • HeroUI Field Error

    HeroUI Field Error

    13
  • Form [react-aria-components]

    Form [react-aria-components]

    19