LifeDS

Component

Field

Composable form layout primitives — label, description, error and grouping for any input control.

Fieldorientation: vertical · horizontal · responsive · size: xl (default) · default
FieldSet / FieldLegendgroups related fields
FieldLabel / FieldDescriptionlabel + supporting text
FieldErrorvalidation message(s)
FieldSeparatordivider — optional label
Playground

We'll never share your email.

Basic — vertical

This is your public display name.

Size — default (compact, opt-in)

We'll never share your email.

Invalid — with error message

Orientation — horizontal

Orientation — responsive (stacks on narrow, inline on wide)

FieldSet, FieldLegend & FieldGroup

Shipping address

Where should we send your order?

Choice cards — radio wrapped in FieldLabel

FieldSeparator — divider with label

Or continue with

Textarea field

Max 200 characters.

Select field

Choose the team this request is for.

Slider field

$50

Set your maximum budget per item.

Switch field — horizontal

Multi-factor authentication

Require a verification code at sign-in.

RTL support

لن نشارك بريدك الإلكتروني أبدًا.

Tokens used

8 semantic tokens consumed by this component.

--foregroundForeground
text-foreground
--muted-foregroundMuted Foreground
text-muted-foreground
--destructiveDestructive
bg-destructivetext-destructiveborder-destructivering-destructive
--primaryPrimary
bg-primarytext-primaryborder-primaryring-primary
--backgroundBackground
bg-background
--borderBorder
border-borderborder
--inputInput
bg-inputborder-input
--ringRing
ring-ringring