# Chameleon pill navbar

https://fieldbook.lizardi.mx/components/chameleon-pill-navbar

Category: Navigation
![Still of the Chameleon pill navbar component, a Fieldbook UI component in Navigation.](https://fieldbook.lizardi.mx/thumbs/chameleon-pill-navbar.webp)
Preview video: https://ejpqcxcjbiyabxkx.public.blob.vercel-storage.com/previews/chameleon-pill-navbar-b37f45242e.mp4 (5 s, silent)

Chameleon pill navbar: A row of nav links in one dark capsule where the active link splits into its own pill and the rest close back up around it.

## 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 |
| --- | --- | --- | --- |
| activeIndex | number | 0 | From 0 to 3; step 1 |
| accent | color | #FF6A1F | No additional limit in the metadata. |
| cornerRadius | number | 12 | From 6 to 24; step 2 |

## Usage notes

Chameleon pill navbar uses the wide preview frame with a light/dark theme setting.

### Which frameworks are available for Chameleon pill navbar?

Chameleon pill navbar 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 Chameleon pill navbar depend on?

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

### What accessibility details are visible in Chameleon pill navbar?

The React source for Chameleon pill navbar includes: native elements (a, nav); attributes and handlers (aria-current, aria-label, onKeyDown); key comparisons (Enter, Space). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

### How does Chameleon pill navbar handle reduced motion?

The source scan found no direct useReducedMotion() or matchMedia preference read in Chameleon pill navbar's index.tsx. 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": "chameleon-pill-navbar",
    "framework": "react"
  }
}
```

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

## Related open components

- [Auto height tabs](https://fieldbook.lizardi.mx/components/auto-height-tabs)
- [Bubble burst menu](https://fieldbook.lizardi.mx/components/bubble-burst-menu)
- [Card blur tabs](https://fieldbook.lizardi.mx/components/card-blur-tabs)
- [Dock menu](https://fieldbook.lizardi.mx/components/dock-menu)
- [Dropdown Action Menu](https://fieldbook.lizardi.mx/components/dropdown-action-menu)
- [Grouped magnify dock](https://fieldbook.lizardi.mx/components/grouped-magnify-dock)
