Skip to main content
BlocksSaleFull-bleed Black Week sale hero

shadcn/ui Sale blockFull-bleed Black Week sale hero

A full-width inverted sale hero for shadcn/ui with a destructive "Black Week" Badge, an oversized "Up to 40% off" heading, a lead paragraph, two Buttons and a small end-time line with a clock icon. Centred and fully responsive. Built for seasonal landing pages and campaign takeovers.

Free@shadcnpro/sale-01

Preview

Installation

npx shadcn@latest add @shadcnpro/sale-01

First time? Add the @shadcnpro registry to components.json as shown in Installation. Free blocks install without a license key.

Let your AI editor install it

The shadcn/ui Pro MCP server lets Cursor, Claude Code and VS Code find and install blocks like Full-bleed Black Week sale hero from one prompt. It is included in every Pro plan.

Add the shadcn/ui components

Full-bleed Black Week sale hero uses Badge and Button.

npx shadcn@latest add badge button

Install the npm packages

npm install lucide-react

Copy the code

Paste it into components/blocks/sale-01.tsx.

components/blocks/sale-01.tsx
'use client';

import { ClockIcon } from 'lucide-react';

import { Badge } from '@/components/ui/badge';
import { Button } from '@/components/ui/button';

/**
 * Full-bleed inverted sale hero: a "Black Week" Badge, oversized "Up to 40% off" heading, lead copy, primary and outline Buttons and a small end-time line.
 */
export default function Sale01() {
  return (
    <section className="w-full bg-foreground py-20 text-background sm:py-28">
      <div className="mx-auto flex w-full max-w-6xl flex-col items-center px-6 text-center">
        <Badge className="bg-destructive text-destructive-foreground px-3 py-1 text-sm">
          Black Week
        </Badge>
        <h1 className="mt-6 text-balance font-semibold text-5xl tracking-tight sm:text-7xl">
          Up to 40% off
        </h1>
        <p className="mt-6 max-w-2xl text-pretty text-background/70 text-lg sm:text-xl">
          Our biggest sale of the year across knitwear, bags, home and tech.
          Norra Circle members get early access and an extra 5% at checkout.
        </p>
        <div className="mt-10 flex flex-col gap-3 sm:flex-row">
          <Button
            asChild
            className="bg-background text-foreground hover:bg-background/90"
            size="lg"
          >
            <a href="#">Shop the sale</a>
          </Button>
          <Button
            asChild
            className="border-background/40 bg-transparent text-background hover:bg-background/10 hover:text-background"
            size="lg"
            variant="outline"
          >
            <a href="#">Browse all categories</a>
          </Button>
        </div>
        <p className="mt-8 flex items-center gap-2 text-background/60 text-sm">
          <ClockIcon aria-hidden="true" className="size-4" />
          Ends Sunday 23:59 CET · while stocks last
        </p>
      </div>
    </section>
  );
}

Use it

Import it where you need it and update the import path to match your project.

Usage
import Sale01 from '@/components/blocks/sale-01';

export default function Page() {
  return <Sale01 />;
}

Overview

Full-bleed Black Week sale hero is a free sale block for shadcn/ui. It is built from the Badge and Button components with lucide-react, and installs as a single file you own and can edit.

It only uses semantic tokens such as bg-background, text-muted-foreground and border-border, so it follows your theme, radius and fonts and switches with dark mode. It is responsive from desktop to mobile; the width controls above the preview show each size. The same layout is in the shadcn/ui Pro Figma kit, so design and code start from one source.

Category
Sale
Component library
Radix UI (radix-ui)
Also available for
Base UI, React Aria
Built with
Badge and Button
npm packages
lucide-react
Files
components/blocks/sale-01.tsx
Access
Free, installs without a license key

Frequently asked questions

Pricing, installation and Radix UI details for Full-bleed Black Week sale hero.