Skip to main content

Interface: AlertProps

@arolariu/components


@arolariu/components / AlertProps

Interface: AlertProps

Defined in: components/ui/alert.tsx:25

Represents the configurable props for the Alert component.

Remarks

Extends native <div> attributes so alerts can expose ARIA relationships, data attributes, and custom event handlers while selecting a visual variant.

Default

variant "default"

Extends

  • HTMLAttributes<HTMLDivElement>

Properties

className?

optional className?: string

Defined in: components/ui/alert.tsx:29

Additional CSS classes merged with the base alert surface styles.

Overrides

React.HTMLAttributes.className


variant?

optional variant?: AlertVariant

Defined in: components/ui/alert.tsx:35

The visual tone used to communicate neutral or destructive feedback.

Default

"default"
// was this page useful?