Vesture
Get started

Feedback

Alert

An inline, non-dismissing-by-default banner for page-level or form-level messages.

Alert

Preview

Usage

tsx
import { Alert } from "@vesture/react";

<Alert variant="danger" title="Something went wrong" onDismiss={() => setShow(false)}>
  Please check your input and try again.
</Alert>

Props

PropTypeDefaultDescription
variant"info" | "success" | "warning" | "danger""info"Accent color.
titleReactNodeBold title line.
onDismiss() => voidIf provided, renders a dismiss button.