Skip to content
Menu

Buttons

Edge Collapse Button

Edge Collapse Button: A flat button with a thick colored lip along its bottom edge that folds down to a hairline as the button drops onto it.

Using Edge Collapse Button

Edge Collapse Button uses the inline 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
labeltextConfirmUp to 20 characters
accentcolor#9BE15DNo additional limit in the metadata.
lipnumber5From 2 to 12; step 1
snapMsnumber100From 40 to 400; step 10
Which frameworks are available for Edge Collapse Button?

Edge Collapse Button 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 Edge Collapse Button depend on?

The React metadata lists no additional npm dependencies beyond React.

What accessibility details are visible in Edge Collapse Button?

The React source for Edge Collapse Button includes: native elements (button); attributes and handlers (aria-hidden, onKeyDown, onKeyUp); key comparisons (Enter, Space). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

How does Edge Collapse Button handle reduced motion?

Edge Collapse Button reads the motion preference in its React source through matchMedia(prefers-reduced-motion). 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