# Alert Success 1 - Success with Title

> Success alert with title only.

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

- Page, with a live preview: https://shadcn.exchange/r/shadcnblocks/alert-alert-success-1
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/shadcnblocks/alert-alert-success-1-light-7df0cd21caa97706.png
- Registry item: https://shadcnblocks.com/r/alert-alert-success-1.json
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://shadcnblocks.com/r/alert-alert-success-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: `alert`

## Files

### `example/alert/alert-success-1.tsx`

```tsx
import { Alert, AlertTitle } from "@/components/ui/alert";

export const title = "Success with Title";

const Example = () => (
  <Alert className="w-full max-w-lg border-green-600/80 bg-green-600/5 text-green-600">
    <AlertTitle>Success</AlertTitle>
  </Alert>
);

export default Example;
```
