Skip to content

slidytabs

A small utility that adds a sliding indicator to shadcn tabs without changing how you write them.

slidytabs.dev

slidytabs website screenshot
Category
Animations
Added

About

About slidytabs

slidytabs is a small utility that makes the shadcn Tabs component slide between positions rather than jump. It is not a wrapper or a replacement: you keep using Tabs as you normally would and pass the root element to the tabs() function. Two more helpers, slider() and range(), turn a set of options into a slider or range slider for small discrete choices such as clothing sizes, days of the week or tip amounts.

Install it with npm i slidytabs, then import tabs, slider or range. The site shows usage examples for React, Vue and Svelte, and it covers controlled and uncontrolled use through shadcn's value props or index-based props. It suits developers who want motion on tabs with almost no change to existing markup.

slidytabs features

5 features

  • Sliding indicator for shadcn Tabs
  • tabs() helper that works with Tabs as-is
  • slider() and range() helpers
  • Controlled and uncontrolled usage
  • Examples for React, Vue and Svelte

Install slidytabs

1 command

Terminal

$ npm i slidytabs

What you can build with slidytabs

3 use cases

  • Animating the tab list in an account settings page
  • Picking a tip amount with a discrete slider
  • Choosing a clothing size with a range control

1 link

Pricing

Ship it with Pro

The directory is free. Pro adds 6,000+ blocks, 14 premium templates and the MCP server, so your AI editor installs them for you.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

FAQ

Frequently asked questions

What slidytabs is, how to install it, its license and its alternatives.

4.9 out of 5 from 150+ developers

Found your stack? Ship it.

6,000+ blocks, premium templates and MCP in every Pro plan. The directory stays free.

Get Pro