# Sliding content tabs

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

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

Sliding content tabs: A content viewport paired with a capsule tab bar below it, where switching tabs slides the panel in from the side of the chosen tab while a colored highlight glides behind the active label.

## 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 |
| --- | --- | --- | --- |
| activeTab | select | overview | Options: overview, connections, automations, members |
| accent | color | #38BDF8 | No additional limit in the metadata. |

## Usage notes

Sliding content tabs uses the card preview frame with a light/dark theme setting.

### Which frameworks are available for Sliding content tabs?

Sliding content 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 content tabs depend on?

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

### What accessibility details are visible in Sliding content tabs?

The React source for Sliding content tabs includes: native elements (button); attributes and handlers (aria-hidden, aria-label, aria-pressed); explicit roles (group). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

### How does Sliding content tabs handle reduced motion?

Sliding content tabs reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: reduce ? undefined : \{ duration: 13, repeat: Infinity, ease: "linear" \}; reduce ? undefined : \{ x: \[0, -24, 0\] \}; reduce ? \{ duration: 0 \} : \{ duration: 0.42, ease: EASE \}. 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-content-tabs",
    "framework": "react"
  }
}
```

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

## Related open components

- [Bubble burst menu](https://fieldbook.lizardi.mx/components/bubble-burst-menu)
- [Grouped magnify dock](https://fieldbook.lizardi.mx/components/grouped-magnify-dock)
- [Magnifying icon dock](https://fieldbook.lizardi.mx/components/magnifying-icon-dock)
- [Quick launch palette](https://fieldbook.lizardi.mx/components/quick-launch-palette)
- [Shared-Layout Tab Switch](https://fieldbook.lizardi.mx/components/shared-layout-tab-switch)
- [Trail breadcrumbs](https://fieldbook.lizardi.mx/components/trail-breadcrumbs)
