function

Collapsible

Collapsible displays fields beneath a heading the author can expand or collapse.

Arguments

ArgumentTypeDescription
namestringThe name value.
childrenFieldsThe children value.

Returns

The declared result.

LayoutField

Full signature

Related types

  • Fields

    Fields is the ordered list assigned to ridu.Collection.Fields, ridu.Global.Fields, or a nested field constructor. Populate it with Nodes from this package's constructors. Ridu snapshots the caller-owned slice during construction, editing, and config resolution.

  • LayoutField

    LayoutField arranges fields in the admin without adding a stored value.

Related guides