# Promo 1

> An attention-grabbing card encouraging users to unlock premium analytics features and historical data access.

A shadcn/ui block from the [@paceui](https://paceui.com/?utm_source=shadcn.exchange) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/paceui/layout-promo-1).

- Page, with a live preview: https://shadcn.exchange/r/paceui/layout-promo-1
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/paceui/layout-promo-1-light-58b13a1340c538eb.png
- Registry item: https://paceui.com/r/layout-promo-1.json
- Listed: 2026-10-21, source last changed 2026-10-21

## Install

```bash
npx shadcn@latest add https://shadcn.exchange/r/paceui/layout-promo-1.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- Registry items: `badge`, `card`, `button`

## Files

### `components/blocks/layout/promo/promo-1.tsx`

```tsx
import { ArrowRightIcon, CheckCircle2Icon, LockIcon, ZapIcon } from "lucide-react";

import { Badge } from "@/components/ui/badge";
import { Button } from "@/components/ui/button";
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card";

export const Promo1 = () => {
    return (
        <Card className="relative">
            <div className="bg-foreground/10 ring-foreground/5 absolute inset-s-2 top-2 flex size-9 items-center justify-center rounded-full ring-6 md:inset-s-4 md:top-4">
                <LockIcon className="size-4.5" />
            </div>
            <CardHeader className="relative flex flex-col items-center gap-2 text-center">
                <Badge variant="secondary">Pro Feature</Badge>
                <CardTitle>Unlock Advanced Analytics</CardTitle>
                <CardDescription className="mx-auto max-w-70">
                    Gain deeper insights into customer behavior and retention trends.
                </CardDescription>
            </CardHeader>

            <CardContent className="text-muted-foreground flex h-full flex-col items-center justify-center gap-1">
                <div className="flex items-center gap-2">
                    <CheckCircle2Icon className="h-4 w-4 text-green-500" />
                    <span>Unlimited historical data</span>
                </div>
                <div className="flex items-center gap-2">
                    <CheckCircle2Icon className="h-4 w-4 text-green-500" />
                    <span>Export reports to CSV/PDF</span>
                </div>
                <div className="flex items-center gap-2">
                    <CheckCircle2Icon className="h-4 w-4 text-green-500" />
                    <span>AI-powered forecasting</span>
                </div>
                <div className="mt-auto pt-3">
                    <Button className="gap-2">
                        <ZapIcon className="size-4" />
                        Upgrade to Pro
                        <ArrowRightIcon className="size-4 opacity-75" />
                    </Button>
                </div>
            </CardContent>
        </Card>
    );
};
```
