Form Component

Capsule-styled forms with React Hook Form integration and Zod validation.

Login Form

A simple login form with email, password, and remember me checkbox.

Must be at least 8 characters long.

Settings Form

A settings form with toggle switches and select dropdown.

Receive push notifications on your device.

Receive emails about new products and features.

Payment Form

A checkout form with credit card fields and validation.

Contact Form

A contact form with textarea for longer messages.

Please provide as much detail as possible.

Profile Form

A more complex form with multiple fields and optional values.

@

Your unique identifier.

How others will see you.

Optional. Max 160 characters.

Optional. Your personal website or portfolio.

Inline Form

A compact inline form layout, perfect for newsletter signups.

Join 10,000+ subscribers. No spam, unsubscribe anytime.

Classic Form (Default Inputs)

A form using the default bordered input style for a more defined look.

API Reference

Form

Wrapper component that provides form context from react-hook-form.

PropTypeDefault
...formUseFormReturnRequired

FormField

Connects a form field to react-hook-form Controller.

PropTypeDefault
controlControlRequired
namestringRequired
render(field) => ReactNodeRequired

Input

Styled input component with variant support.

PropTypeDefault
variant"default" | "subtle""default"