Circular Text
A rotating badge of text set around a circle (“Available for work · Available for work ·”) with a slot in the middle for an icon or link. Pauses on hover and keyboard focus; can speed up or reverse with scrolling.
Installation
pnpm dlx shadcn@latest add @portfolio-kit/circular-textFirst 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
Scroll Boost
Pinned in a hero corner, it spins faster as you scroll down and winds backwards as you scroll up.