Collapsible Group @astryx-svelte/core v0.3.0 · Collapsible

Usage

Coordinates multiple Collapsible instances so only one (single mode) or any number (multiple mode) can be open at a time. Renders no wrapper DOM element unless dividers are enabled.
ts
import { Collapsible } from '@astryx-svelte/core';

Examples

Common configurations, variations, and states.
CollapsibleGroup — Accordion
An accordion built with type="single": opening one Collapsible automatically closes the others. Use defaultValue to pre-expand the most important section.