Load More
- from @ecomcn
- by ecomcn <hello@ecomcn.dev>
Progressive loading for a product list: a progress rule and “Showing 24 of 312” count, a Load more button, optional hybrid or infinite auto-loading, focus moved to the first new item, and an announced count. The pattern Baymard found performs best, in one component.
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 @ecomcn/load-moreLive preview
No live preview has been built for this component yet.
Registry dependencies1
- button
Packages0
No npm packages are installed with it.
