Gallery 5 - Feature carousel with icon toggle group

Pro

Carousel of two-column feature slides synced to a Shadcn UI toggle group of icons, with masked edge fading.

Vue
Shadcn Gallery 5 block

Component Data

  • ID:gallery5
  • Access:pro
  • Created:Aug 5, 2024
  • Updated:Aug 8, 2026
  • Type:block

Gallery 5 block design & features

The block starts with a heading and paragraph on the left, followed on desktop by a Shadcn UI ToggleGroup row of outline-variant icon buttons. Selecting a toggle scrolls the carousel to the matching slide, and swiping or arrowing through the carousel updates the toggle selection in return, keeping both controls in sync via the carousel API.

Each slide is a bordered card split into two columns on medium screens and above. The left column holds a 4:3 image, and the right column stacks a Lucide icon, a title, and a multi-line description. The carousel container applies a CSS mask gradient on both edges that feathers slides into transparency, preventing hard clip boundaries. On mobile, arrow buttons replace the toggle group and the carousel switches to drag-free mode.

The dual-control pattern gives the section a product-demo feel, letting users jump directly to a feature via the icon bar or browse sequentially. The bordered cards and side-by-side image-text layout keep the presentation structured and information-rich without heavy decoration.