Skip to content
satin

Form field

Wraps a control with a label, a description and an error message.

We text you when your table is ready.

API Reference

The FormField component is a wrapper around the div element that adds a label, a description and an error to its control.

PropTypeDefault
label
string
—
description
string
—
error
string
—
layout
"vertical""horizontal"
"vertical"
disabled
boolean
false
required
boolean
false
children
ReactNode
—