BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/Shadcn UI Blocks/alert-07

Soft Alert

shadcn-ui-blocks/alert-07
FreeComponent

A soft alert component

Install it

npx shadcn@latest add https://shadcnui-blocks.com/r/alert-07.json

Source

src/components/customized/alert/alert-07.tsxshadcnui-blocks.com/r/alert-07.json
1import {
2 CircleFadingArrowUpIcon,
3 OctagonAlert,
4 ShieldAlert,
5} from "lucide-react";
6import { Alert, AlertTitle } from "@/registry/ui/alert";
7
8export default function AlertCalloutDemo() {
9 return (
10 <div className="w-full space-y-4">
11 <Alert className="border-none bg-emerald-600/10 text-emerald-500 dark:bg-emerald-600/15">
12 <CircleFadingArrowUpIcon className="size-4" />
13 <AlertTitle>Your action has been completed successfully.</AlertTitle>
14 </Alert>
15 <Alert className="border-none bg-blue-500/10 text-blue-500 dark:bg-blue-600/20">
16 <CircleFadingArrowUpIcon className="size-4" />
17 <AlertTitle>A new version of the app is now available.</AlertTitle>
18 </Alert>
19 <Alert className="border-none bg-amber-600/10 text-amber-500 dark:bg-amber-600/15">
20 <ShieldAlert className="size-4" />
21 <AlertTitle>Changes will overwrite existing data.</AlertTitle>
22 </Alert>
23 <Alert className="border-none bg-destructive/10 text-destructive dark:bg-destructive/15">
24 <OctagonAlert className="size-4" />
25 <AlertTitle>
26 Unable to process your request. Please try again later.
27 </AlertTitle>
28 </Alert>
29 </div>
30 );
31}

What it pulls in

npm packages

  • lucide-react

Other registry items

  • alert

Files it writes

  • src/components/customized/alert/alert-07.tsx

Facts

Registry
Shadcn UI Blocks
Type
registry:component
Access
Free
Files written
1
Licence
MIT
First indexed
2026-08-02
Last confirmed
yesterday

Go to the source

shadcnui-blocks.com akash3444/shadcn-ui-blocks on GitHub Raw registry item This item as JSON

More from Shadcn UI Blocks

All 542 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Default Accordionaccordion-01Shadcn UI BlocksComponentsFreeno deps
Outline Accordionaccordion-02Shadcn UI BlocksComponentsFreeno deps
Box Accordionaccordion-03Shadcn UI BlocksComponentsFreeno deps
Contained Accordionaccordion-04Shadcn UI BlocksComponentsFreeno deps
Box Contained Accordionaccordion-05Shadcn UI BlocksComponentsFreeno deps
Tabs Accordionaccordion-06Shadcn UI BlocksComponentsFreeno deps
Highlight Active Item Accordionaccordion-07Shadcn UI BlocksComponentsFreeno deps
Multiple Expanded at a time Accordionaccordion-08Shadcn UI BlocksComponentsFreeno deps
BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex