# Marketing Hero Section: With 3D Mockup

A hero featuring a rotating 3D device mockup beside a headline and CTA. Presents your app or product with depth on a modern landing page.

- Page: https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections/with-3d-mockup
- Collection: [Marketing](https://www.shadcn-ui-blocks.com/blocks/marketing), Free tier
- Group: [Hero Sections](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections)
- Created: 2026-06-14
- Preview image: https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections/with-3d-mockup.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/marketing-hero-sections-with-3d-mockup
```

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-hero-sections-with-3d-mockup.json"`.

## Depends on

- npm packages: class-variance-authority, radix-ui
- shadcn/ui components: badge, button
- Installs to: `@/components/blocks/marketing/hero-sections/with-3d-mockup`

## About this block

With 3D Mockup is a two-column hero. The left column holds a small outline
badge, a large headline, a subtext paragraph, a primary button paired with a
ghost button, and a three-stat row separated by a horizontal rule. The right
column shows a browser-framed screenshot tilted on all three axes to read as
a perspective device, with two smaller floating UI cards angled in opposite
directions to reinforce the depth.

Every piece of copy is independent. You can rewrite the headline, subtext,
and button labels freely. The three stats under the CTA buttons are their own
block, so you can change the figures and labels or remove the row entirely.
The two floating cards are decorative skeleton panels with no live data, so
swapping in a real screenshot is the only visual change that matters.

## When to use

This layout works best when your product is a visual interface and you want
the first thing a visitor sees to be the actual product rather than an
abstract illustration. The perspective tilt gives the screenshot more weight
than a flat image would, which suits a fintech or banking product where the
dashboard or transaction view is the proof point. It outperforms a plain
centred hero when the interface itself is the main argument, and it avoids
the busy feel of a full bento grid by keeping only one primary surface with
two lightweight satellite cards.

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

**Before**

- [Announcement Banners](https://www.shadcn-ui-blocks.com/blocks/marketing/announcement-banners) to surface
  a product update or limited offer above the fold before the hero loads

**After**

- [Feature Sections](https://www.shadcn-ui-blocks.com/blocks/marketing/feature-sections) to expand on the
  capabilities the hero hints at
- [Stats](https://www.shadcn-ui-blocks.com/blocks/marketing/stats) if you removed the inline stat row and
  want the numbers in a dedicated section lower on the page

## What you can display

The perspective device area is built to carry a single wide screenshot, so
the most natural swap is dropping in your own interface image. A few other
ways to use the frame:

- **A dashboard or report view.** Banking and fintech products can show an
  account summary or spending breakdown so the value is immediately tangible.
- **A transaction or approval flow.** A narrow two-step flow screenshot
  communicates speed and simplicity without needing a video.
- **An onboarding screen sequence.** Replace the placeholder with the first
  screen of your setup flow to show how frictionless getting started is.

> Tip: keep the floating cards small and abstract so they frame the main
> screenshot without competing with it for attention.

## More in Marketing Hero Sections

- [3D Isometric Hero](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections/3d-isometric-hero)
- [Animated Features Hero](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections/animated-features-hero)
- [Animated Gradient](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections/animated-gradient)
- [Animated Text Hero](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections/animated-text-hero)
- [Centred With Image](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections/centred-with-image)
- [Chat Preview Hero](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections/chat-preview-hero)
- [Countdown Hero](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections/countdown-hero)
- [Gradient Background](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections/gradient-background)
- [Gradient Mesh Hero](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections/gradient-mesh-hero)
- [Image Carousel Hero](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections/image-carousel-hero)
- [Image With Reviews](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections/image-with-reviews)
- [Interactive Metrics](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections/interactive-metrics)
- [Mobile App Hero](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections/mobile-app-hero)
- [Multi-Step CTA Hero](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections/multi-step-cta-hero)
- [Particles Background Hero](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections/particles-background-hero)
- [Product Carousel Hero](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections/product-carousel-hero)
- [Progress Tracker Hero](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections/progress-tracker-hero)
- [Search Bar](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections/search-bar)
- [Simple Centred](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections/simple-centred)
- [Social Proof Hero](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections/social-proof-hero)
- [Split Content Hero](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections/split-content-hero)
- [Split Image Hero](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections/split-image-hero)
- [Split With Video](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections/split-with-video)
- [Testimonial Carousel](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections/testimonial-carousel)
- [Trust Indicators](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections/trust-indicators)
- [Video Background Hero](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections/video-background-hero)
- [With API Preview](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections/with-api-preview)
- [With App Showcase](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections/with-app-showcase)
- [With Bento Grid](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections/with-bento-grid)
- [With Code Preview](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections/with-code-preview)
- [With Content Tabs](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections/with-content-tabs)
- [With Dashboard](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections/with-dashboard)
- [With Email Input](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections/with-email-input)
- [With Feature Cards](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections/with-feature-cards)
- [With Feature Timeline](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections/with-feature-timeline)
- [With Integration Showcase](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections/with-integration-showcase)
- [With Product Screenshots](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections/with-product-screenshots)
- [With Team Grid](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections/with-team-grid)
- [With Terminal](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections/with-terminal)
