# Morphing icon toggle

https://fieldbook.lizardi.mx/components/morphing-icon-toggle

Category: Animation
![Still of the Morphing icon toggle component, a Fieldbook UI component in Animation.](https://fieldbook.lizardi.mx/thumbs/morphing-icon-toggle.webp)
Preview video: https://ejpqcxcjbiyabxkx.public.blob.vercel-storage.com/previews/morphing-icon-toggle-27583fc004.mp4 (5 s, silent)

Morphing icon toggle: A small icon continuously morphs its outline between two shapes and two colors on a steady loop.

## Frameworks

react, vue, svelte, astro, html

## Preview controls

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

| Name | Type | Default | Options or constraints |
| --- | --- | --- | --- |
| intervalSeconds | number | 1 | From 0.4 to 3; step 0.1 |
| colorOne | color | #FFD34D | No additional limit in the metadata. |
| colorTwo | color | #FF4D8D | No additional limit in the metadata. |

## Usage notes

Morphing icon toggle uses the inline preview frame with a dark theme setting.

### Which frameworks are available for Morphing icon toggle?

Morphing icon toggle 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 Morphing icon toggle depend on?

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

### What accessibility details are visible in Morphing icon toggle?

The React source for Morphing icon toggle includes: attributes and handlers (aria-hidden). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

### How does Morphing icon toggle handle reduced motion?

Morphing icon toggle reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: morphSeconds: reduce ? REDUCED\_MORPH\_SECONDS : MORPH\_SECONDS. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.

## Install through MCP

Connect your client, call get_component to retrieve the implementation, then get_install_command for installation instructions. Choose a listed framework, integrate the returned source and verify it in your application.

```json
{
  "tool": "get_component",
  "arguments": {
    "slug": "morphing-icon-toggle",
    "framework": "react"
  }
}
```

[For agents](https://fieldbook.lizardi.mx/docs/agents)
[MCP](https://fieldbook.lizardi.mx/api/mcp)

## Related open components

- [Archetype morph shape](https://fieldbook.lizardi.mx/components/archetype-morph-shape)
- [Morphing icon loop](https://fieldbook.lizardi.mx/components/morphing-icon-loop)
- [Orbiting badges](https://fieldbook.lizardi.mx/components/orbiting-badges)
- [Path follower](https://fieldbook.lizardi.mx/components/path-follower-loop)
- [Burst particle emitter](https://fieldbook.lizardi.mx/components/burst-particle-emitter)
- [Composable Reveal](https://fieldbook.lizardi.mx/components/composable-reveal)
