Skip to content
Menu

Animation

Archetype morph shape

Archetype morph shape: One shape morphs through a button, a switch, a slider, a card and a checkbox, with live readouts of its width, height, corner radius and parts as it changes.

Using Archetype morph shape

Archetype morph shape uses the wide 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#1F45FFNo additional limit in the metadata.
detailcolor#EEEAE2No additional limit in the metadata.
holdnumber1.1From 0.4 to 4; step 0.1
morphnumber0.9From 0.3 to 2.5; step 0.1
readoutsbooleantrueNo additional limit in the metadata.
autoplaybooleantrueNo additional limit in the metadata.
Which frameworks are available for Archetype morph shape?

Archetype morph shape 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 Archetype morph shape depend on?

The React metadata lists no additional npm dependencies beyond React.

What accessibility details are visible in Archetype morph shape?

The React source for Archetype morph shape includes: attributes and handlers (aria-hidden, aria-label, aria-readonly, aria-valuemax, aria-valuemin, aria-valuenow, aria-valuetext, tabIndex); explicit roles (slider). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

How does Archetype morph shape handle reduced motion?

Archetype morph shape 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