shadcn.io is not affiliated with official shadcn/ui
Icon Showcase Carousel Block for Radix UI
Twenty-seven line icons in three categories, nine to a page in a 3 by 3 grid, where pressing an icon copies its name and the label follows the category in view.
Installation
Overview
Let people browse an icon set a page at a time, with this icon showcase carousel for React with Radix UI. Iconcellar, an icon library, shows twenty-seven line icons in three categories (Arrows, Files and Objects). Each slide is a 3 by 3 grid of nine icons on shared hairlines with its name in code under it, and the label band above the track names the category in view. Pressing an icon copies its name to the clipboard and the band and status line say what was copied. The foot holds the counter ("Page 2 of 3"), a dot for each page and Previous and Next Buttons; the grid stays 3 by 3 down to 320 px. The ruled bands come from Guides. The icons are the project's own lucide set and the library is made up.
FAQ
How do I use my own icons?
Edit GROUPS. Each group has a label and nine glyphs, each an icon component and the name people will copy. Import the icons from the set your project uses; the 3 by 3 grid lines are added for you by cellsOf.
What does pressing an icon do?
It writes the icon's name to the clipboard and the status line says "Copied arrow-up-right to the clipboard". If the browser blocks clipboard access the status line says so instead and nothing is copied.
How does it work with a keyboard?
Tab reaches the controls, Previous, the dots and Next. With focus inside the track, the arrow keys move it (mirrored in a right-to-left layout) and Home and End jump to the first and last position. Previous and Next stay in the tab order at the ends and are marked unavailable instead of disabled, so focus never disappears. Slides out of view are hidden from the tab order and from screen readers.
What moves the track?
Previous and Next move one page; the dots go to a category.
The track is an Embla carousel; the block listens for its select event and re-counts the snaps when the layout changes.