Skip to content
nexubDesign System
v2.4.0

Components · Form & Input

Form Field

StableSince v0.0.1

Wraps Label, Input, HelperText and FormError into a single accessible group.

import { FormField } from '@nexub/react';

Examples

Default

Props

Props
PropTypeDefaultDescription
namerequiredstring—Name attribute forwarded to the underlying input.
idstring—Explicit id for the input; defaults to the name value.
errorstring—Validation error message shown below the input.
requiredboolean—Marks the field as required and renders a required indicator on the label.