EnterUI
DocsComponentsThemesExamplesDonation
Get Started
  • Component onboarding
    • Text
    • List
    • DescriptionList
    • Alert
    • Avatar
    • AvatarGroup
    • Separator

Default usage

  1. EnterUI
  2. /Docs
  3. /Foundations
  4. /Content
  5. /Alert
Updated 3 October 2026

Alert

Semantic feedback with restrained surfaces.

Alert defines how EnterUI handles semantic feedback with restrained surfaces, including default structure, accessible states, and token-driven styling.

#Default usage

Alert variants

Alerts use semantic border signals instead of loud fills.

Token driven

Components inherit FroggDesign variables.

Check release notes

Public API changes should include migration notes.

Code
<VStack align="stretch" gap={12} fullWidth>
  <Alert variant="info"><AlertTitle>Token driven</AlertTitle><AlertDescription>Components inherit FroggDesign variables.</AlertDescription></Alert>
  <Alert variant="warning"><AlertTitle>Check release notes</AlertTitle><AlertDescription>Public API changes should include migration notes.</AlertDescription></Alert>
</VStack>

#Import

Code
import { Alert, AlertDescription, AlertTitle, VStack } from "@froggdesign/enter-ui-react";

#Patterns

Error alert

Error alerts use role alert by default.

Build failed

Fix type errors before publishing the package.

#Accessibility

Alert uses role="status" by default and role="alert" for error variants unless you pass a custom role.

#API

  • variant: info, success, warning, or error.
  • AlertTitle and AlertDescription provide consistent text hierarchy.

#Styling

Every exported component accepts className when it renders an element. EnterUI styles use .eui-* classes and --eui-* variables mapped from FroggDesign theme tokens.

PreviousDescriptionList
NextAvatar
On this page
  • Default usage
  • Import
  • Patterns
  • Accessibility
  • API
  • Styling