Package-level declarations

Types

Link copied to clipboard
data class AccordionSection(val title: AnnotatedString, val body: AnnotatedString, val isEnabled: Boolean = true)

Represents a section within an Accordion component.

Link copied to clipboard

Enum class representing different sizes for an accordion.

Enum class representing different sizes for an accordion.

Enum class representing different sizes for an accordion.

Enum class representing different sizes for an accordion.

Enum class representing different sizes for an accordion.

Functions

Link copied to clipboard
fun Accordion(sections: List<AccordionSection>, size: AccordionSize, modifier: Modifier = Modifier, flushAlignment: Boolean = false)

The accordion component delivers large amounts of content in a small space through progressive disclosure. The header title gives the user a high level overview of the content allowing the user to decide which sections to read.