Skip to contentFacade Pro is $149 once during launch, then $199. Lifetime updates.
Facade
Browse the library

Components / Navigation

Sliding tabs

Free

Accessible tabs with a spring animated sliding pill, arrow key navigation and a soft content crossfade.

Installation

$npx shadcn@latest add https://facadeui.com/r/sliding-tabs.json

Usage

import { SlidingTabs } from "@/components/facade/sliding-tabs";

export default function Page() {
  return <SlidingTabs />;
}

Props

SlidingTabsProps is exported, so you can extend or wrap it. Every prop has a default; <SlidingTabs /> renders the example above.

Props of SlidingTabs
PropTypeDescription
tabs*SlidingTab[]
valuestringControlled value.
defaultValuestringInitial value when uncontrolled. Defaults to the first tab.
onValueChange(value: string) => void
labelstringAccessible label for the tab list.
fullWidthbooleanStretch tabs to fill the width.
classNamestring
listClassNamestring
panelClassNamestring

* required

Ask your agent

With the Facade MCP server connected, this prompt is enough:

Add the Facade sliding tabs to this page and adapt the copy to our business.