Skip to content
Menu

Data display

Spring Push Collapsible

Spring Push Collapsible: A settings row that opens a detail panel and pushes the rows below it down on one shared spring instead of a height jump.

Using Spring Push Collapsible

Spring Push Collapsible uses the card preview frame with a light/dark theme setting.

Customize the preview

These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.

ControlTypeDefaultPreview limits
accentcolor#FF6A1FNo additional limit in the metadata.
defaultOpenbooleanfalseNo additional limit in the metadata.
stiffnessnumber260From 80 to 500; step 10
dampingnumber28From 10 to 50; step 1
keepMountedbooleanfalseNo additional limit in the metadata.
Which frameworks are available for Spring Push Collapsible?

Spring Push Collapsible is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.

What does Spring Push Collapsible depend on?

The React metadata lists these npm dependencies beyond React: motion.

What accessibility details are visible in Spring Push Collapsible?

The React source for Spring Push Collapsible includes: native elements (button); attributes and handlers (aria-controls, aria-expanded, aria-hidden, aria-labelledby); explicit roles (region). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

How does Spring Push Collapsible handle reduced motion?

Spring Push Collapsible reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: spring: reduceMotion ? { duration: 0 } : { type: "spring" as const, stiffness, damping }. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.

Connect your agent

Related open components