Back To Top
Floating button that appears after scrolling, shows page progress around its edge and scrolls back to the top.
Installation
pnpm dlx shadcn@latest add @portfolio-kit/back-to-topFirst time? Add the @portfolio-kit registry to components.json
components.json
{
"registries": {
"@portfolio-kit": "https://www.parthjadhav.com/products/portfolio-kit/r/{name}.json"
}
}Usage
Examples
In a Footer
position="static" places the button in your own layout, here at the end of a footer.