# Marketing Gallery: Fullscreen Gallery

A fullscreen gallery that fills the viewport with one image at a time. Good for immersive photo stories, lookbooks, or a striking visual showcase.

- Page: https://www.shadcn-ui-blocks.com/blocks/marketing/gallery/fullscreen-gallery
- Collection: [Marketing](https://www.shadcn-ui-blocks.com/blocks/marketing), Free tier
- Group: [Gallery](https://www.shadcn-ui-blocks.com/blocks/marketing/gallery)
- Created: 2026-06-14
- Preview image: https://www.shadcn-ui-blocks.com/blocks/marketing/gallery/fullscreen-gallery.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/marketing-gallery-fullscreen-gallery
```

A free block: it installs with no account or key. Or install it by URL: `npx shadcn@latest add "https://www.shadcn-ui-blocks.com/r/marketing-gallery-fullscreen-gallery.json"`.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: button
- Installs to: `@/components/blocks/marketing/gallery/fullscreen-gallery`

## About this block

Fullscreen Gallery is a focused image viewer with a single large image
filling the frame at a time. A thin progress bar runs across the top,
filling left to right as a reader steps through the set. Below the image
sits a bottom bar with a slide counter on the left, previous and next
arrow buttons in the centre, and an expand button that calls the browser
native fullscreen API to push the entire viewer edge to edge. Images
cross-fade with a short transition as the active index changes.

The image list, count, and alt text are all independent. You can swap in
any set of photos and add or remove slides without touching the controls
or layout. The progress bar and counter update automatically from the
array length, so the chrome stays correct however many items you include.

## When to use

Reach for this block when you want one image to hold full attention at
a time rather than showing a grid or strip. It suits a course preview
page on an online education platform where each slide shows a lesson
outcome or campus environment, a lookbook that steps through a visual
story, or any page where sequential context matters and distraction
should be minimal. Compared to the filmstrip layout, it removes the
thumbnail row so the active image can breathe, and compared to the
carousel it adds a true fullscreen mode for readers who want an
immersive view.

A natural flow around it on a Marketing (Legacy) page:

**Before**

- A [hero section](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections) to introduce the
  subject before the viewer draws focus
- [Feature Sections](https://www.shadcn-ui-blocks.com/blocks/marketing/feature-sections) that
  establish context so each image lands with meaning

**After**

- [Testimonials](https://www.shadcn-ui-blocks.com/blocks/marketing/testimonials) to follow the visual
  story with social proof
- A [CTA section](https://www.shadcn-ui-blocks.com/blocks/marketing/cta-sections) to convert attention
  into action once the gallery has made its case

## What you can display

The block works for any sequential set of images where the reader
benefits from stepping through one at a time:

- **Course or curriculum previews.** Show a lesson interface, a
  classroom setting, or a student outcome per slide to give prospective
  learners a clear picture of what they are signing up for.
- **Visual case studies.** Walk through before and after states, key
  project milestones, or annotated screenshots in a controlled order
  that tells a story.
- **Environment or location tours.** Present a campus, studio, or
  facility slide by slide so visitors build a mental map as they
  navigate forward.

> Tip: keyboard navigation is built in. Left and right arrow keys step
> through slides and the F key toggles fullscreen, so power users never
> need to reach for the buttons.

## More in Marketing Gallery

- [Carousel Gallery](https://www.shadcn-ui-blocks.com/blocks/marketing/gallery/carousel-gallery)
- [Filmstrip Gallery](https://www.shadcn-ui-blocks.com/blocks/marketing/gallery/filmstrip-gallery)
- [Grid Gallery](https://www.shadcn-ui-blocks.com/blocks/marketing/gallery/grid-gallery)
- [Immersive Gallery](https://www.shadcn-ui-blocks.com/blocks/marketing/gallery/immersive-gallery)
- [Polaroid Gallery](https://www.shadcn-ui-blocks.com/blocks/marketing/gallery/polaroid-gallery)
- [Portfolio Gallery](https://www.shadcn-ui-blocks.com/blocks/marketing/gallery/portfolio-gallery)
