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.

Dl Properties#

TypeDescription
layout"vertical"
"horizontal"
"grid"
(optional) Sets the layout of the list. Can be vertical, horizontal or grid. Defaults to vertical.
refReact.RefObject(optional) Send along a custom React.Ref.
childrenReact.ReactNode(optional) Contents.
Spacestring
object
(optional) Spacing properties like top or bottom are supported.

Ol Properties#

TypeDescription
insideboolean(optional) Defines the position of the marker.
outsideboolean(optional) Defines the position of the marker (default).
nestedboolean(optional) Will ensure a nested structure of several lists.
refReact.RefObject(optional) Send along a custom React.Ref.
childrenReact.ReactNode(optional) Contents.
Spacestring
object
(optional) Spacing properties like top or bottom are supported.

Ul Properties#

TypeDescription
insideboolean(optional) Defines the position of the marker.
outsideboolean(optional) Defines the position of the marker (default).
nestedboolean(optional) Will ensure a nested structure of several lists.
refReact.RefObject(optional) Send along a custom React.Ref.
childrenReact.ReactNode(optional) Contents.
Spacestring
object
(optional) Spacing properties like top or bottom are supported.
Suggest an edit