Skip to content

Some properties provide flexibility for specific integrations. Follow the component's usage guidance. Customizations beyond the documented patterns need a use case approved by DNB UX. Read about intended use and customization.

Properties#

TypeDescription
layout"grid"
"horizontal"
"vertical"
(optional) Use grid, horizontal or vertical. Defaults to vertical.
inheritVisibilityboolean(optional) Use this property to propagate the inheritVisibility property to all nested values.
inheritLabelboolean(optional) Use this property to propagate the inheritLabel property to all nested values.
transformLabelfunction(optional) Transforms the label before it gets displayed. Receives the label as the first parameter. The second parameter is an object containing the convertJsxToString function.
childrenReact.ReactNode(required) Contents.
Spacestring
object
(optional) Spacing properties like top or bottom are supported.
Suggest an edit