Pull to refresh
Pull the list down from the top. A ring fills as you pull, spins while loading, and the new item slides in.
Mobile onlyNew
Install
npx finepieces add pull-to-refreshOr with the shadcn CLI ›
npx shadcn@latest add https://finepieces.net/r/pull-to-refresh.jsonPull the list down
example.tsx
import { PullToRefresh } from "@/components/fine-pieces/pull-to-refresh";
export default function Example() {
return (
<Phone bg="#FFF2DE">
<Bakes />
</Phone>
);
}