Skip to content

Properties

There might be more props available depending on the parent component. For example, <Field.Selection variant="button"> also allows the icon property, among others, for its options.

PropertyTypeDescription
valuestring
number
(optional) Value for this option.
titlestring
React.Node
(optional) Title for the option. Overrides children.
groupIndexnumber(optional) What group index in the groups prop (Field.Selection) this item belongs to.
textstring
React.Node
(optional) Secondary text.
disabledboolean(optional) Will disable the option.
helpobject(optional) Provide help content for the field using title and content as a string or React.Node. Additionally, you can set open to true to display the inline help, set the breakout property to false to disable the breakout of the inline help content, or use renderAs set to dialog to render the content in a Dialog (recommended for larger amounts of content).
childrenReact.Node(optional) Optional way to provide title. Will be ignored if title is used.