Description
Helper text tied to a field.
- Composed
- New in 0.1
import { Description, descriptionPrimitive } from "nitro-ui-sdk/description";- HeroUI Native
- Description
- Expo UI
- No counterpart

Light 
Dark
On this page
Description displays short instructions or context for a form field. Use it with Label.Scope when an editor should speak the same text as its hint.
Anatomy
import { Description } from "nitro-ui-sdk/description";
<Description.Root>Used for sign-in.</Description.Root>;
| Part | Description |
|---|---|
Root |
Displays the helper text. Style keys are root and text. |
Usage
import { Description } from "nitro-ui-sdk/description";
import { Input } from "nitro-ui-sdk/input";
import { Label } from "nitro-ui-sdk/label";
<Label.Scope label="Email address" description="Used for sign-in.">
{(field) => <><Label.Root /><Input.Root {...field} /><Description.Root /></>}
</Label.Scope>;
Variants and sizes
The text uses the muted footnote style. Use the text part to customize it.
States
A disabled description is dimmed. Empty helper text occupies no space.
Props
Description.Root
| Prop | Type | Default | Description |
|---|---|---|---|
children |
string |
Scoped description | Visible helper text. |
disabled |
boolean |
false |
Dim the text. |
styles |
PartStyles<DescriptionPart, DescriptionVariant, DescriptionSize, DescriptionState> |
— | Style resolvers keyed by part. |
agentId |
string |
— | Identity in a reused view. |
Controller API
Read-only. The component has no attached controller actions.
Styles
import { Description } from "nitro-ui-sdk/description";
<Description.Root children="Used for sign-in." styles={{ text: ({ tokens }) => ({ text: { color: tokens.colors.foreground } }) }} />;
Resolvers receive tokens, variant, size, and state. State includes disabled.
Accessibility
A standalone description is static text. Within Label.Scope the native editor speaks this text as its hint and assistive technology skips the duplicate helper text.
Agent API
Read-only.
Platform notes
| iOS | Android | |
|---|---|---|
| Implementation | Renderer views with UIKit accessibility semantics. | Renderer views with TalkBack semantics. |
| Verification | Native iOS harness in the example app. | Kotlin is written for Android. The Android NDK is unavailable on this machine, so no Android build was run. |