Command Palette

Search for a command to run...

Docs
Warning Alert

Warning Alert

A warning alert component with amber background and triangle alert icon.

Installation

Usage

import AlertWarning from "@/components/ruixen/alert-warning";
 
export default function MyWarning() {
  return (
    <AlertWarning
      title="Warning"
      message="Some information is missing! Please check your input."
    />
  );
}

Props

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