Layout | SettingRow
SettingRow#
Description#
- A settings row: label and description on the left, the control on the right. It stacks in narrow containers (from 256 px the control sits to the right). With
controlIdthe label points to the matching control.
Props#
label(string) — The name of the setting. Required.description(string) — The help text below the label.controlId(string) — Theidof the slot control. With it the label names the control.disabled(boolean) — Dims the whole row and marks it as disabled. Default:false.
Usage#
| |
Notes#
- The default slot receives
labelIdanddescriptionIdfor controls that preferaria-labelledbyandaria-describedby. - The
leadingandfooterslots allow a side icon or content below the row.