Rail TOC
Rail TOC: A table of contents with a paper plane that flies to the section you're reading. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Rail TOC
npx motion-ui-skill add rail-tocComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxmotionreacttailwind-merge
Source files
Rail TOC
A table of contents with a paper plane that flies to the section you're reading.
Install
npx motion-ui-skill add rail-toc
Dependencies
clsxmotionreacttailwind-merge
Usage
"use client";
import RailToc from "@/components/blocks/rail-toc";
export function Example() {
return (
<div className="p-6">
<RailToc />
</div>
);
}