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.
| Control | Type | Default | Preview limits |
|---|---|---|---|
accent | color | #1F45FF | No additional limit in the metadata. |
detail | color | #EEEAE2 | No additional limit in the metadata. |
hold | number | 1.1 | From 0.4 to 4; step 0.1 |
morph | number | 0.9 | From 0.3 to 2.5; step 0.1 |
readouts | boolean | true | No additional limit in the metadata. |
autoplay | boolean | true | No 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.