Skip to content

shadcn Form examples

shadcn/ui builds forms from Field, Label and the controls inside them, with a description and an error message per field. In our blocks it shows up in contact, booking, checkout, application and settings forms: 467 blocks and 72 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 Form

Showing 48 of 539. The rest are in their categories: sign in and sign up (34), header (30), forms (25), calculator (21), onboarding (18), contact (17) and more.

Questions about shadcn Form

How many blocks use shadcn Form?

539 of ours: 467 blocks and 72 app screens, in 84 categories, most of all sign in and sign up (34), header (30), forms (25). Each one imports the Form from your own components/ui folder, so it follows your theme.

How do I install shadcn Form?

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

Are these examples free?

10 of the 539 are free and install without an account. The other 529 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