Back to Top Buttons and Smooth Scroll Snippets
- from @weinc
Free back to top buttons in React and vanilla JS: progress ring, square, pill, floating label, reading bar and edge tab, plus CSS and JS smooth scroll.
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 @weinc/back-to-top-button-collection-with-progress-ring-pill-floating-label-and-smooth-scroll-snippetsRegistry dependencies0
The CLI adds no other registry items with this one.
Packages0
No npm packages are installed with it.
