Section

A Section serves as a versatile container component, encapsulating an HTML section element.

Section is a subcomponent of Listbox, it's used within Combobox and Select.

Anatomy

Composed Components

A Section is used in the following components.

Props

style?

The inline style for the element.

children?

Static child items or a function to render children.

aria-label?

An accessibility label for the section.

items?

Item objects in the section.

id?

The unique id of the section.

value?

The object value that this section represents. When using dynamic collections, this is set automatically.

dependencies?

Values that should invalidate the item cache when using dynamic collections.

className?

The CSS className for the element.