All carousel examples

Slide API playground

Type into a card, reorder the collection, or change its layout. Unchanged content keeps its DOM and input values. Content replacement and explicit refresh affect only the selected card.

Variable slide sizes use geometry.measure() for physical sizes and navigation targets. The compact stack uses layout.render() for presentation. Card factories return { element, destroy }: refresh, replace or remove a card to see its cleanup count change.