reshaped

Reshaped Checkbox

Cards

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 { Card, Reshaped, Text, View } from "reshaped/bundle";
import Checkbox, { CheckboxGroup } from "@/components/ui/reshaped-checkbox";

export default function Demo() {
  return (
    <Reshaped theme="slate">
      <div style={{ maxWidth: 520, width: "100%", margin: "0 auto", padding: 24 }}>
        <CheckboxGroup name="animalCustom" defaultValue={["cat"]}>
          <View gap={3}>
            <Card as="label">
              <View gap={3} direction="row" align="center">
                <Checkbox value="dog" />
                <View.Item grow>
                  <Text variant="body-1" weight="bold">
                    Dog
                  </Text>
                  <Text variant="body-2">
                    The dog is a domesticated animal of the family Canidae.
                  </Text>
                </View.Item>
              </View>
            </Card>
            <Card as="label">
              <View gap={3} direction="row" align="center">
                <Checkbox value="cat" />
                <View.Item grow>
                  <Text variant="body-1" weight="bold">
                    Cat
                  </Text>
                  <Text variant="body-2">
                    The cat is a domesticated animal of the family Felidae.
                  </Text>
                </View.Item>
              </View>
            </Card>
          </View>
        </CheckboxGroup>
      </div>
    </Reshaped>
  );
}

Dependencies

More by reshaped

View all
  • Reshaped Toast

    Reshaped Toast

    9
  • Reshaped Calendar

    Reshaped Calendar

    9
  • Reshaped Progress indicator

    Reshaped Progress indicator

    7
  • Reshaped Context menu

    Reshaped Context menu

    7
  • Reshaped Autocomplete

    Reshaped Autocomplete

    7
  • Reshaped Pagination

    Reshaped Pagination

    6
  • Reshaped Carousel

    Reshaped Carousel

    6
  • Reshaped Slider

    Reshaped Slider

    5

More in Cards

View all
  • Statistics Card 2

    Statistics Card 2

    264
  • Course Design Cards

    Course Design Cards

    1.1K
  • Card

    Card

    70
  • Stats cards with links

    Stats cards with links

    39
  • The Item one

    The Item one

    3
  • Card Studio

    Card Studio

    7
  • Statistics Card 7

    Statistics Card 7

    292
  • Item

    Item

    10