About
A toggle button that reveals a hidden list of additional items with a staggered fade-in-up animation when clicked.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Load More to your project and fits it to your theme.
Code
How Load More is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import LoadMore from "@/components/ui/load-more";
export default function LoadMoreDemo() {
return (
<div className="w-full max-w-sm mx-auto rounded-md border border-border bg-card text-card-foreground">
<LoadMore
items={[
<div key={1} className="p-2 bg-card text-sm">
Item 1
</div>,
<div key={2} className="p-2 bg-card text-sm">
Item 2
</div>,
<div key={3} className="p-2 bg-card text-sm">
Item 3
</div>,
]}
onLoadMore={() => {}}
/>
</div>
);
}
















