# Popover Standard 2 - With heading

> Popover with Heading.

A shadcn/ui block from the [@shadcnblocks](https://shadcnblocks.com) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/shadcnblocks/popover-popover-standard-2).

- Page, with a live preview: https://shadcn.exchange/r/shadcnblocks/popover-popover-standard-2
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/shadcnblocks/popover-popover-standard-2-light-768e19029915c908.png
- Registry item: https://shadcnblocks.com/r/popover-popover-standard-2.json
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://shadcnblocks.com/r/popover-popover-standard-2.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: `button`, `popover`

## Files

### `example/popover/popover-standard-2.tsx`

```tsx
import { Button } from "@/components/ui/button";
import {
  Popover,
  PopoverContent,
  PopoverTrigger,
} from "@/components/ui/popover";

export const title = "Popover with Heading";

const Example = () => (
  <Popover>
    <PopoverTrigger asChild>
      <Button variant="outline">View Details</Button>
    </PopoverTrigger>
    <PopoverContent>
      <h4 className="mb-2 font-semibold">Details</h4>
      <p className="text-sm text-muted-foreground">
        Additional information about this item.
      </p>
    </PopoverContent>
  </Popover>
);

export default Example;
```
