s-m-r-t
Open the s-m-r-t source on GitHub Switch to dark color scheme
← All UI components

Actions and display

Accordion

No summary has been written for Accordion. Everything below is generated from the declaration shipped in 0.44.0 and describes the real contract.

Public export

typescript
import { Accordion } from '@happyvertical/smrt-ui/ui';
Import path
@happyvertical/smrt-ui/ui
Props
5
Props described
5 of 5
Bindable state
0
Callback events
1
Verified release
0.44.0

Props

NameTypeRequiredDescription
valuestring | string[]NoThe currently open item identifier(s); array if multiple is true.
multiplebooleanNoAllows multiple items to be open simultaneously.
childrenSnippetNoThe AccordionItem components.
onvaluechange(value: string | string[]) => voidNoFired when the open/closed state of an item changes.
classstringNoAdditional CSS class names.

Bindable state

This component has no bindable public state.

Callback events

  • onvaluechange(value: string | string[]) => void

Examples and explanation