Label
Form label built on Text.


npx @eoria/cli add labelUsage
import { Label } from '@/components/ui/label'
<Label nativeID="email-label">Email</Label><Input accessibilityLabelledBy="email-label" accessibilityLabel="Email" />Props
| Prop | Effect |
|---|---|
disabled |
Dims the label and ignores presses. |
onPress |
Makes it a button, handy for toggling a checkbox by its text. |
Prefer Field, which sets the ids and the fallback accessibilityLabel for you.