Sean Hello

Icon Alert

Component 6

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.4K
  • Line Charts 9

    Line Charts 9

    656
  • Alert

    Alert

    494
  • Line Charts 6

    Line Charts 6

    392
  • Area Charts 1

    Area Charts 1

    391
  • Scroll Area

    Scroll Area

    376
  • Navigation Menu

    Navigation Menu

    319
  • Area Charts 2

    Area Charts 2

    318

Explore more

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