Alert
Neumorphic alert with the stock shadcn structure. A raised surface like a card at tighter padding; destructive keeps the neu surface and alarms through text color only.
Changes saved
A raised slab on the surface, same shadow pair as a card.
Update available
Restart to install the new version.
Unable to process your payment.
The surface stays neu; only the text carries the alarm.
Installation
bunx --bun shadcn@latest add https://neu.beyondtheinnovation.com/r/neu-alert.jsonUsage
import {
Alert,
AlertAction,
AlertDescription,
AlertTitle,
} from "@/components/ui/neu/alert"<Alert>
<AlertTitle>Heads up</AlertTitle>
<AlertDescription>Your changes have been saved.</AlertDescription>
</Alert>Action
AlertAction pins a control to the top end corner, and the alert pads its end side to keep the title clear of it.
<Alert>
<AlertTitle>Update available</AlertTitle>
<AlertDescription>Restart to install the new version.</AlertDescription>
<AlertAction>
<Button size="xs" variant="outline">
Restart
</Button>
</AlertAction>
</Alert>