Forms

SettingRow

Settings-page row that publishes form-field context to its control and supports managed-policy and disclosure details.

import { SettingRow } from '@lostgradient/cinder/setting-row';
formsettings
01

Overview

SettingRow arranges settings-page guidance and a control while publishing FormField context to composed Input, Toggle, or Select controls. It supports advisory, error, managed-policy, and optional disclosure content without duplicating those semantics at each call site.

Live preview

Shown to collaborators.

02

When to use

Use when
  • Pairing a setting label and guidance with an Input, Toggle, or Select control.
Avoid when
  • The control belongs in a conventional stacked form field.
03

Examples

Settings row

Compose a labelled setting control with guidance.

04

Props

Props for setting-row
NameTypeDefaultDescription
id required text
label required text
description text
warning text
error text
required boolean
disabled boolean
managed FormFieldManaged
control required snippet
disclosure snippet