About
A monochrome checkbox for e-ink/low-refresh displays that supports standalone controlled/uncontrolled use, binding to a form, and grouping multiple checkboxes into one multi-select field.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Checkbox to your project and fits it to your theme.
Code
How Checkbox is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { Checkbox } from "@/components/ui/checkbox";
import { useState } from "react";
export default function CheckboxGroupDemo() {
const [toppings, setToppings] = useState<string[]>(["cheese"]);
return (
<div
className="flex flex-col gap-3 p-6"
style={{
background: "var(--eink-color-secondary)",
color: "var(--eink-color-primary)",
fontFamily: "var(--eink-font-family-main)",
}}
>
<Checkbox.Group label="Toppings" value={toppings} onChange={setToppings}>
<Checkbox value="cheese">Cheese</Checkbox>
<Checkbox value="olives">Olives</Checkbox>
<Checkbox value="mushrooms">Mushrooms</Checkbox>
</Checkbox.Group>
<span>Value: {JSON.stringify(toppings)}</span>
</div>
);
}
















