# Components Alert: All Sides Accent Alerts

Alerts framed by a colored border on every side for strong emphasis. Use when a notice must stand out clearly against a busy page or dashboard.

- Page: https://www.shadcn-ui-blocks.com/blocks/components/alerts/all-sides-accent-alerts
- Collection: [Components](https://www.shadcn-ui-blocks.com/blocks/components), Free tier
- Group: [Alerts](https://www.shadcn-ui-blocks.com/blocks/components/alerts)
- Created: 2026-06-14
- Preview image: https://www.shadcn-ui-blocks.com/blocks/components/alerts/all-sides-accent-alerts.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/components-alerts-all-sides-accent-alerts
```

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/components-alerts-all-sides-accent-alerts.json"`.

## Depends on

- npm packages: class-variance-authority, lucide-react
- shadcn/ui components: alert
- Installs to: `@/components/blocks/components/alerts/all-sides-accent-alerts`

## About this block

All Sides Accent Alerts renders a vertical stack of five alert variants,
each framed by a thick border on every edge. The variants run in order:
a neutral default, a destructive notice with an X icon, a green success
with a checkmark, a yellow warning with a triangle, and a blue info
with a circle. Every alert pairs a bold title with a short description,
and most carry a status icon aligned to the left of the text.

Each alert is self-contained, so you can use any subset of the five,
swap the titles and descriptions for your own copy, or reorder them to
match the priority of your messages. The full-perimeter border is the
shared visual trait; removing or adding variants does not affect the
others.

## When to use

Reach for this block when notices need to stand out against a content
heavy page and a single accent edge would not provide enough contrast.
On an online education platform it suits course status panels where
learners need to see at a glance whether an assignment passed, failed,
or needs attention, and where the dashboard behind the alerts is already
dense with progress bars and cards.

A natural flow around it on a Components page:

**Before**

- [Basic Alerts](https://www.shadcn-ui-blocks.com/blocks/components/alerts/basic-alerts) to introduce
  lighter notices before escalating to the stronger framed style
- [Badges](https://www.shadcn-ui-blocks.com/blocks/components/badges) to label the section or status
  category that the alerts belong to

**After**

- [Cards](https://www.shadcn-ui-blocks.com/blocks/components/cards) to follow up with detailed content
  once the user has acknowledged the notices
- [Dismissible Alerts](https://www.shadcn-ui-blocks.com/blocks/components/alerts/dismissible-alerts) if
  you need users to be able to clear alerts after reading them

## What you can display

Each slot in the stack maps to a distinct status tone, so the block
covers the full range of feedback a learner or instructor might see in
one view:

- **Enrollment confirmations.** Swap the success variant to confirm
  that a student has been added to a course or a seat has been reserved.
- **Deadline warnings.** Use the warning variant to flag an upcoming
  assignment cutoff or a grace period that is about to expire.
- **Access errors.** Put the destructive variant to work when a user
  tries to reach content they have not unlocked or a submission window
  has closed.

> Tip: limit the stack to the two or three variants that are actually
> relevant at runtime so the page does not read as permanently alarming.

## More in Components Alerts

- [Accent Border Alerts](https://www.shadcn-ui-blocks.com/blocks/components/alerts/accent-border-alerts)
- [Basic Alerts](https://www.shadcn-ui-blocks.com/blocks/components/alerts/basic-alerts)
- [Bottom Accent Alerts](https://www.shadcn-ui-blocks.com/blocks/components/alerts/bottom-accent-alerts)
- [Compact Alerts](https://www.shadcn-ui-blocks.com/blocks/components/alerts/compact-alerts)
- [Dashed Border Alerts](https://www.shadcn-ui-blocks.com/blocks/components/alerts/dashed-border-alerts)
- [Dismissible Alerts](https://www.shadcn-ui-blocks.com/blocks/components/alerts/dismissible-alerts)
- [Dotted Border Alerts](https://www.shadcn-ui-blocks.com/blocks/components/alerts/dotted-border-alerts)
- [Double Border Alerts](https://www.shadcn-ui-blocks.com/blocks/components/alerts/double-border-alerts)
- [Elevated Alerts](https://www.shadcn-ui-blocks.com/blocks/components/alerts/elevated-alerts)
- [Frosted Glass Alerts](https://www.shadcn-ui-blocks.com/blocks/components/alerts/frosted-glass-alerts)
- [Glow Border Alerts](https://www.shadcn-ui-blocks.com/blocks/components/alerts/glow-border-alerts)
- [Icon Only Alerts](https://www.shadcn-ui-blocks.com/blocks/components/alerts/icon-only-alerts)
- [Inset Alerts](https://www.shadcn-ui-blocks.com/blocks/components/alerts/inset-alerts)
- [Monospace Alerts](https://www.shadcn-ui-blocks.com/blocks/components/alerts/monospace-alerts)
- [Outlined Alerts](https://www.shadcn-ui-blocks.com/blocks/components/alerts/outlined-alerts)
- [Paper Alerts](https://www.shadcn-ui-blocks.com/blocks/components/alerts/paper-alerts)
- [Pulse Border Alerts](https://www.shadcn-ui-blocks.com/blocks/components/alerts/pulse-border-alerts)
- [Right Accent Alerts](https://www.shadcn-ui-blocks.com/blocks/components/alerts/right-accent-alerts)
- [Top Accent Alerts](https://www.shadcn-ui-blocks.com/blocks/components/alerts/top-accent-alerts)
