Skip to content

Label

Label

Demo


A user-friendly label linked to controls for improved accessibility.

Installation

Terminal window
npx @react-native-reusables/cli@latest add label

Usage

import { label } from '~/components/ui/label';
function Example() {
return <Label nativeID='name'>Name</Label>
}

Props

Label

Extends Text props

PropTypeNote
nativeID*stringthe same value needs be use by aria-labelledby from form field