Make your AI a shadcn expert

Form Required Optional

A form showing the pattern for required versus optional fields with asterisks and labels.

Scroll to load preview

Clear visual distinction between required and optional form fields using asterisks and helper text. Helps users understand which information is mandatory before they start filling out the form.

FAQ

Last updated on March 24, 2026

Was this page helpful?

Sign in to leave feedback.