# Core/Label - Usage

Label text and optional required indicator for form fields, aligned with Capra field layouts.

| Prop | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `children` | `string` | No | `--` | Text to display in the label. |
| `required` | `boolean` | No | `--` | Whether the field the label is labeling is required (shows asterisk after label). |
| `trailingSlot` | `React.ReactNode` | No | `--` | Content after the label text. |
| `className` | `never` | No | `--` | Use `FORCE__className` instead. |
| `style` | `never` | No | `--` | Inline styles are not supported; use component props or `FORCE__className`. |
| `FORCE__className` | `string` | No | `--` | 🚨 This prop is meant to be an escape hatch. 🚨<br><br>If the desired style cannot be achieved using component props, use this as a last resort. The inner workings of Capra components are implementation details and this escape hatch gives one access to those implementation details. We cannot make any guarantees that styles will applied correctly across version updates. Please use it responsibly.<br><br>Add a CSS class to the component. |

## React Aria

<p>
  The component uses <code>useContextProps</code> with React Aria’s <code>LabelContext</code>, so when it sits inside
  compatible React Aria structures, label props can be supplied by context as well as passed directly.
</p>