Components

Form group

Internal

A group of form fields.

Birthday
Enter your date of birth

Content

Props
NameTypeDefaultDescription
idstring-'id' attribute to place on the base HTML element
classBlockstring-Block name override in BEM style classes applied to all elements
classModifiersModifiers[]BEM style modifiers to apply to the base HTML element
classNamestring-Extra classes to apply to the base HTML element
errorReactNode-
errorIdstring-
fieldIdstring-
hintReactNode-
hintIdstring-
labelReactNode-REQUIRED.
standaloneboolean-

Stories

Standard

A standard Form group.

Birthday
Enter your date of birth

Content

Label

A Form group with just a label instead of a fieldset and legend.

Enter your name

Content

Error

A Form group with a validation error.

Birthday
Enter your date of birth

Error: Enter a date in the past

Content