RequiredLabel
A small utility component that renders a field label with an optional red asterisk when the field is required. Used internally by ColorPickerField, PraxisTimePicker, and other form components.
Basic Usage
Demo
Props
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| labelrequired | string | — | The label text to display. |
| required | boolean | false | When true, renders a red asterisk (*) after the label text. |