# Sliding Panel Tabs

https://fieldbook.lizardi.mx/components/sliding-panel-tabs

Category: Navigation
![Still of the Sliding Panel Tabs component, a Fieldbook UI component in Navigation.](https://fieldbook.lizardi.mx/thumbs/sliding-panel-tabs.webp)
Preview video: https://ejpqcxcjbiyabxkx.public.blob.vercel-storage.com/previews/sliding-panel-tabs-ec631249cc.mp4 (5 s, silent)

Sliding Panel Tabs: Two tabs in a rounded pill track with a highlight that slides between them, crossfading a settings-style panel underneath without any layout jump.

## 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 |
| --- | --- | --- | --- |
| accentColor | color | #F5C542 | No additional limit in the metadata. |
| defaultTab | select | account | Options: account, password |

## Usage notes

Sliding Panel Tabs uses the card preview frame with a light/dark theme setting.

### Which frameworks are available for Sliding Panel Tabs?

Sliding Panel Tabs 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 Sliding Panel Tabs depend on?

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

### What accessibility details are visible in Sliding Panel Tabs?

The React source for Sliding Panel Tabs includes: native elements (button, input, label); attributes and handlers (aria-controls, aria-hidden, aria-label, aria-labelledby, aria-selected, onKeyDown, tabIndex); explicit roles (tab, tablist, tabpanel); key comparisons (ArrowLeft, ArrowRight). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

### How does Sliding Panel Tabs handle reduced motion?

Sliding Panel Tabs reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: duration: reduceMotion ? 0 : 0.18; spring: reduceMotion ? \{ duration: 0 \} : \{ type: "spring", stiffness: 460, damping: 34 \}. 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": "sliding-panel-tabs",
    "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)
- [Card blur tabs](https://fieldbook.lizardi.mx/components/card-blur-tabs)
- [Panel Tab Switcher](https://fieldbook.lizardi.mx/components/panel-tab-switcher)
- [Segmented toggle tabs](https://fieldbook.lizardi.mx/components/segmented-toggle-tabs)
- [Shared-Layout Tab Switch](https://fieldbook.lizardi.mx/components/shared-layout-tab-switch)
- [Bubble burst menu](https://fieldbook.lizardi.mx/components/bubble-burst-menu)
