Command Palette

Search for a command to run...

Docs
Error Alert

Error Alert

An error alert component with red background and circle alert icon.

Installation

Usage

import AlertError from "@/components/ruixen/alert-error";
 
export default function MyError() {
  return (
    <AlertError
      title="Error"
      message="An error occurred while processing your request."
    />
  );
}

Props

PropTypeDefaultDescription
titlestring-Optional title for the alert
messagestring-The alert message
classNamestring-Additional CSS classes