brijr/ui

Lab

Field

npx shadcn@latest add @brijr/field

Controls

A Field gives its control a label, a description and an error. Press a label: it focuses, checks or toggles its control.

We only use it for receipts.

Shown on your public profile.

Decides what this member can change.

Sent to your phone.

You agree to the terms of service.

Ask for a code at sign in.

You can change it later.

40

How loud notifications play.

Invalid

`invalid` on the Field marks the control and shows the error now, for a message from your server or form library.

We only use it for receipts.

Enter a full email address.

Shown on your public profile.

Tell us a little about you.

Decides what this member can change.

Choose a role.

Sent to your phone.

That code has expired.

You agree to the terms of service.

Accept the terms to continue.

Ask for a code at sign in.

Your workspace requires this.

You can change it later.

Choose a plan.
40

How loud notifications play.

Keep it under 30 after 10pm.

Disabled

`disabled` on the Field disables the control and dims the label and description.

We only use it for receipts.

Shown on your public profile.

Decides what this member can change.

Sent to your phone.

You agree to the terms of service.

Ask for a code at sign in.

You can change it later.

40

How loud notifications play.

Required

A required control marks its label. A slider always has a value, so it never blocks a form.

We only use it for receipts.

Shown on your public profile.

Decides what this member can change.

Sent to your phone.

You agree to the terms of service.

Ask for a code at sign in.

You can change it later.

40

How loud notifications play.

Native validation

Press Save with the form empty. Each control turns invalid, its error shows and the first one takes focus. Errors clear as you fix them.

Layout

orientation horizontal · label after

Back up the workspace every night at 2:00.

orientation horizontal · label before
FieldLabel around a Field · choice card

Set by your administrator.

control disabled
Billing address

Same as the shipping address.

FieldSet disabled

Complete form

Field sets, native validation, a server error and reset together. Values submit under each Field's name.

Account

How you appear to your team.

Try “ada” to see an error from the server.

Up to 160 characters.

Plan
Notifications

Where we send account alerts.

60
Billing address