reshaped

Reshaped Checkbox

Forms

About

Works like a native checkbox with value and name passed to the form on submission. Comes in three sizes, supports error, disabled and indeterminate states, controlled and uncontrolled modes, and a CheckboxGroup compound for selecting multiple values with any layout, including card-based composition.

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

Code

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

Usage.tsx

import { Reshaped, View } from "reshaped/bundle";
import Checkbox, { CheckboxGroup } from "@/components/ui/reshaped-checkbox";

export default function Demo() {
  return (
    <Reshaped theme="slate">
      <div style={{ margin: "0 auto", padding: 24, display: "flex", justifyContent: "center" }}>
        <CheckboxGroup
          name="animalComposition"
          onChange={({ value }) => console.log(value)}
        >
          <View gap={2}>
            <Checkbox value="dog">Dog</Checkbox>
            <Checkbox value="cat">Cat</Checkbox>
          </View>
        </CheckboxGroup>
      </div>
    </Reshaped>
  );
}

Dependencies

More by reshaped

View all
  • Reshaped Toast

    Reshaped Toast

    9
  • Reshaped Calendar

    Reshaped Calendar

    9
  • Reshaped Context menu

    Reshaped Context menu

    7
  • Reshaped Autocomplete

    Reshaped Autocomplete

    7
  • Reshaped Progress indicator

    Reshaped Progress indicator

    6
  • Reshaped Pagination

    Reshaped Pagination

    6
  • Reshaped Carousel

    Reshaped Carousel

    6
  • Reshaped Slider

    Reshaped Slider

    5

More in Forms

View all
  • Premium Auth

    Premium Auth

    494
  • Login 1

    Login 1

    52
  • Authentication Card

    Authentication Card

    44
  • Login 2

    Login 2

    7
  • Form

    Form

    31
  • Login Card

    Login Card

    32
  • Card Studio

    Card Studio

    41
  • Form

    Form

    136