Cnippet

Error Alert

Component 33

About

An error alert with an icon, title, and description for surfacing failed actions or destructive states.

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

Code

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

Usage.tsx

import Particle from "@/components/ui/v-alert-7";

export default function Default() {
  return (
    <div className="flex w-full max-w-lg items-center justify-center p-6">
      <Particle />
    </div>
  );
}

Dependencies

More by Cnippet

View all
  • Team

    Team

    1.3K
  • Davincho Hero-1

    Davincho Hero-1

    681
  • Aero Hero-3

    Aero Hero-3

    555
  • Features

    Features

    506
  • Random Letter Swap Navigation

    Random Letter Swap Navigation

    480
  • Services with Animated Hover Modal

    Services with Animated Hover Modal

    463
  • Blogs

    Blogs

    396
  • Aero Hero-1

    Aero Hero-1

    354

Explore more

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