Vinyl UI

Checkbox

Binary choice control.

Vinyl styling: 2px foreground border with tight corners.

Installation

npx shadcn@latest add @vinyl/checkbox

The @vinyl registry URL in components.json decides whether you get the web or the native version (see installation for web / native).

Usage

<Checkbox id="loop" defaultChecked />
<Label htmlFor="loop">Auto-reverse</Label>

API

Same API as shadcn/ui's Checkbox on the web, and React Native Reusables' Checkbox on native. Vinyl only changes styling and motion.

On this page