Components · Form & Input
Helper Text
StableAdded v0.0.1
Small supporting text placed beneath a form field to provide hints or validation feedback.
import { HelperText } from '@nexub/react';Playground
Props
We will never share your email with anyone else.
<HelperText>We will never share your email with anyone else.</HelperText>Examples
Default
Tones
States
We will never share your email with anyone else.
defaultWe will never share your email with anyone else.
disabledWe will never share your email with anyone else.
tone="neutral"We will never share your email with anyone else.
tone="info"We will never share your email with anyone else.
tone="success"We will never share your email with anyone else.
tone="warning"We will never share your email with anyone else.
tone="danger"We will never share your email with anyone else.
tone="leap"We will never share your email with anyone else.
tone="bookub"We will never share your email with anyone else.
tone="payub"
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| tone | 'neutral' | 'info' | 'success' | 'warning' | 'danger' | 'leap' | 'bookub' | 'payub' | 'founderub' | — | Semantic colour tone of the helper text. |
| disabled | boolean | — | Applies muted disabled styling. |
On iOS & Android
Web only
Helper Text has no @nexub/react-native twin. On phones, follow the platform pattern instead, or compose it from the native components listed on the React Native page.