R 8R 12
4
896 × 54
ComposeUI
ComponentsChartsBlocksDocs

Let's have coffee?

R 16
Subham avatar
Want to work together? Just want to chat?
Subham avatar
Check out my portfolio: subham12r.dev
Subham avatar
Or grab 15 mins on my calendar:
Coffee chat
Portfoliosubham12r.dev
Mail
hello@subham12r.dev
Socials
X / Twitter·GitHub·LinkedIn
Explore
Components·Charts·Blocks·Docs

Designed and built by Subham

ComposeUIComposeUI
© 2026 ComposeUI·React + Tailwind v4
i

Heads up!

Update Tailwind v4 tokens directly inside app/globals.css.

Alert

Fill
Stroke
Color

Alert

Feedback

Flat callout banner communicating neutral, success, or error states.

"use client"; import { Alert } from "@/components/compose/alert"; export function AlertExample() {  return <Alert />;}

Install

Add it with the ComposeUI CLI, or copy the source manually.

$ bunx --bun compose-ui-cli add alert

API Reference

Prop
Type
Default
variant
"bevel" | "flat"

Switches between concentric sculpted bevel and flat hairline surface.

"bevel"
className
string

Optional utility classes merged onto the root container.

—

Related components

#
R 12
Alert Dialog
R 12

Event scheduled

Friday, Dec 4 at 4:30 PM

Toast
R 12
click to cycle
Status Badge

Updated December 2026

R 12
Previous

Chart

R 12
Next

Alert Dialog