Skip to content

Field

Labels, controls, help text, and errors composed into accessible form fields.

Installation

Install Field from the Fluid Effect UI registry.

Form

Request to join

We read every request before the event.

Input

Choose a unique username for your account.

Textarea

It grows with your text.

Select

Where you spend most of your week.

Checkbox

Notify me about

Only from people in your workspace.

Choice card

Fieldset

Address

We need your address to deliver your order.

Validation and errors

Horizontal

Used across the app and in emails.

Separator

Or continue with

API Reference

Types come from the public API. A dash indicates no default is documented here.

Field props

Public source
PropTypeDefault
keystring—
props.idstring | undefined—
props.disabledboolean | undefined—
props.invalidboolean | undefined—
props.describedboolean | undefined—
props.dirtyboolean | undefined—
props.filledboolean | undefined—
orientationFieldOrientation'vertical'
classNamestring—
view(parts: FieldParts) => View.Input<Msg, R>Required
shapeShapeVariant'rounded'
sizeSizeVariant'default'
surfacenumber1
FieldLabel
Public source
PropTypeDefault
childrenView.Children<Msg, R>—
idstring—
classNamestring—
shapeShapeVariant'rounded'
sizeSizeVariant'default'
surfacenumber1
htmlForstring—
FieldError
Public source
PropTypeDefault
childrenView.Children<Msg, R>—
idstring—
classNamestring—
shapeShapeVariant'rounded'
sizeSizeVariant'default'
surfacenumber1
errorsreadonly ({ readonly message?: string; } | undefined)[][]
FieldSet
Public source
PropTypeDefault
childrenView.Children<Msg, R>—
idstring—
classNamestring—
shapeShapeVariant'rounded'
sizeSizeVariant'default'
surfacenumber1
FieldGroup
Public source
PropTypeDefault
childrenView.Children<Msg, R>—
idstring—
classNamestring—
shapeShapeVariant'rounded'
sizeSizeVariant'default'
surfacenumber1
FieldContent
Public source
PropTypeDefault
childrenView.Children<Msg, R>—
idstring—
classNamestring—
shapeShapeVariant'rounded'
sizeSizeVariant'default'
surfacenumber1
FieldLegend
Public source
PropTypeDefault
childrenView.Children<Msg, R>—
idstring—
classNamestring—
shapeShapeVariant'rounded'
sizeSizeVariant'default'
surfacenumber1
variant"label" | "legend"'legend'
FieldTitle
Public source
PropTypeDefault
childrenView.Children<Msg, R>—
idstring—
classNamestring—
shapeShapeVariant'rounded'
sizeSizeVariant'default'
surfacenumber1
FieldDescription
Public source
PropTypeDefault
childrenView.Children<Msg, R>—
idstring—
classNamestring—
shapeShapeVariant'rounded'
sizeSizeVariant'default'
surfacenumber1
FieldSeparator
Public source
PropTypeDefault
childrenView.Children<Msg, R>—
idstring—
classNamestring—
shapeShapeVariant'rounded'
sizeSizeVariant'default'
surfacenumber1