Sean Hello

Icon Alert

Component 4

About

An alert box that pairs a status icon with a title and description to flag success, warning, or error messages inline in a page.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Icon Alert to your project and fits it to your theme.

Code

How Icon Alert is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import IconAlert from "@/components/ui/icon-alert";

export default function IconAlertDemo() {
  return (
    <div className="flex w-full max-w-md items-center justify-center p-4">
      <IconAlert />
    </div>
  );
}

Dependencies

More by Sean Hello

View all
  • 3D Testimonails

    3D Testimonails

    3.3K
  • Line Charts 9

    Line Charts 9

    632
  • Alert

    Alert

    492
  • Area Charts 1

    Area Charts 1

    384
  • Line Charts 6

    Line Charts 6

    383
  • Scroll Area

    Scroll Area

    376
  • Area Charts 2

    Area Charts 2

    316
  • Navigation Menu

    Navigation Menu

    305

Explore more

Part of ReUI — browse the full library on 21st.dev.