Edwin Vakayil

New checkbox

Forms 8

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

    865
  • Infinite Ribbon

    Infinite Ribbon

    579
  • Shimmer Text

    Shimmer Text

    435
  • Dia Text

    Dia Text

    370
  • Icon Bar

    Icon Bar

    260
  • FAQ Pro

    FAQ Pro

    244
  • Verified Badge

    Verified Badge

    231
  • New Card

    New Card

    198

More in Forms

View all
  • Premium Auth

    Premium Auth

    567
  • Login 2

    Login 2

    12
  • Form

    Form

    139
  • Book A Demo 1

    Book A Demo 1

    90
  • Contact Card

    Contact Card

    1.1K
  • Authentication Card

    Authentication Card

    51
  • Card Studio

    Card Studio

    46
  • Login 1

    Login 1

    62