Skip to content

shadcn Checkbox examples

A box that can be checked, unchecked or indeterminate, with keyboard support. In our blocks it handles consent lines, filters, task lists and row selection in tables: 130 blocks and 52 app screens use it. Every example below is a finished section with real copy, light and dark, that installs with the shadcn CLI.

Blocks built with shadcn Checkbox

Showing 48 of 182. The rest are in their categories: sign in and sign up (15), forms (13), commerce (11), application form (10), newsletter (6), product grid (6) and more.

Questions about shadcn Checkbox

How many blocks use shadcn Checkbox?

182 of ours: 130 blocks and 52 app screens, in 49 categories, most of all sign in and sign up (15), forms (13), commerce (11). Each one imports the Checkbox from your own components/ui folder, so it follows your theme.

How do I install shadcn Checkbox?

shadcn/ui’s own component: npx shadcn@latest add checkbox. Our free example: npx shadcn@latest add @themesdev/checkbox, no account needed. A block from this page brings the Checkbox along as a dependency, so you never install it by hand.

Are these examples free?

3 of the 182 are free and install without an account. The other 179 come with UI Pro, €199 once for one person (excl. tax).

Do they work with Next.js and Astro?

Yes. They are React components on shadcn/ui and Tailwind CSS v4, so they run in Next.js, Vite and Astro with React. In Astro they render on the server, and only the parts that need interaction ship JavaScript.

Other shadcn/ui components in our blocks

All shadcn/ui pages

Preview

Open the page
In UI Pro: get it, €199 once

With every block and theme. 400+ buyers since 2020. Plans