Center-Aligned Floating TOC
- from @beste-ui
Centered article layout with floating table of contents button in bottom right corner. Ideal for mobile-first or single-column responsive designs.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @beste-ui/post11Registry dependencies3
- avatar
- badge
- button