vanilla-tabs

Installation
SKILL.md

vanilla-tabs

Dependency-free, declarative tabs: load one CSS file and one JS file, write the markup, done. No manual initialisation is needed and tabs injected into the page later work automatically.

Two modes - pick one first

mode when files to copy read
vanilla raw html, server rendered pages, any framework other than React vanilla-tabs.css + one js file (or vanilla-tabs.ts) sections 1 - 7
React the tabs are rendered by React (Vite, Next.js, Remix, webpack...) vanilla-tabs.css + Tabs.tsx section 8 (+ 3)

Both look the same and share vanilla-tabs.css. Never use both modes for the same tabs, and never enable the vanilla script on a page which renders the React component. Nothing is installed from npm in either mode - files are copied into the project.

Files shipped with this skill

Files which you should normally consider copying into the user's project and using directly:

Installs
7
Repository
stopsopa/tabs
First Seen
Nov 20, 2026