# Portfolio Resource Download Section: Gated Download

A download offer behind a short email form so visitors trade contact details for the file. Use it to capture leads while sharing a guide or kit.

- Page: https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-resource-download-sections/gated-download
- Collection: [Portfolio](https://www.shadcn-ui-blocks.com/blocks/portfolio), Free tier
- Group: [Resource Download Sections](https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-resource-download-sections)
- Created: 2026-06-14
- Preview image: https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-resource-download-sections/gated-download.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/portfolio-portfolio-resource-download-sections-gated-download
```

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/portfolio-portfolio-resource-download-sections-gated-download.json"`.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: badge, button, checkbox, input, label
- Installs to: `@/components/blocks/portfolio/portfolio-resource-download-sections/gated-download`

## About this block

Gated Download is a two-column card that trades a file for an email
address. The left column fills five of twelve grid units with a cover
image, a "Premium Resource" badge in the top corner, and a title and
subtitle overlaid at the bottom. The right column holds a heading, a
short description, an email input, an optional newsletter checkbox, and
a full-width submit button. After the visitor submits the form, the
right column replaces itself with a confirmation state: a check icon,
a thank-you heading, the address the link was sent to, and a direct
download button.

The two columns, the badge label, all copy, and the checkbox opt-in
text are independent. You can drop the newsletter checkbox entirely,
swap the cover image for any asset, and rewrite every string without
touching the form logic or the confirmation flow.

## When to use

Reach for this block when you want a lead-capture moment alongside a
genuine content offer. For a product analytics SaaS it fits a resource
page that gates a benchmarks report or a data audit checklist: the
visitor gets a tangible file and you get a verified email. It does more
work than a plain download button because it captures intent, and it
is lighter than a full multi-field form that can feel like friction for
a single asset.

A natural flow around it on a Portfolio page:

**Before**

- A [hero showcase](https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-hero-showcases) to
  establish credibility before the offer
- A [featured resource card](https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-resource-download-sections/featured-resource-card)
  to spotlight the asset before asking for an email

**After**

- [Contact Sections](https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-contact-sections) to
  catch visitors who want to talk after downloading
- A [resources grid](https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-resource-download-sections/resources-grid)
  to show additional assets once interest is established

## What you can display

The most natural fit is a single premium asset worth a short form, with
the cover image previewing what the visitor will receive. A few other
ways to use the frame:

- **A data report or benchmark file.** Gate an annual metrics report
  so downloads double as qualified pipeline for a follow-up sequence.
- **A template or starter kit.** Offer a reusable deliverable that
  demonstrates your process and keeps your work in front of the lead.
- **A recorded walkthrough or slide deck.** Use the cover image as a
  still frame from the recording to signal exactly what is inside.

> Tip: keep the description in the right column to one or two sentences
> so the form stays the visual focus and the visitor reaches the button
> without scrolling.

## More in Portfolio Resource Download Sections

- [Featured Resource Card](https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-resource-download-sections/featured-resource-card)
- [Inline Resource Callout](https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-resource-download-sections/inline-resource-callout)
- [Minimalist Resource List](https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-resource-download-sections/minimalist-resource-list)
- [Resources Grid](https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-resource-download-sections/resources-grid)
