EEnterUI
DocsComponentsThemesDonation
Get Started
      • Dialog
      • ConfirmDialog
      • Banner
EnterUIDocsNavigation OverlaysOverlaysDialogs and NoticesBanner
Navigation OverlaysUpdated 6 May 2026

Banner

Compact, low-noise messaging for inline or page-level signals.

Banner defines how EnterUI handles compact, low-noise messaging for inline or page-level signals, including default structure, accessible states, and token-driven styling.

#Default usage

Inline banner

Banner sits inline above content with a quiet semantic accent.

New release

EnterUI 0.2 ships refined form primitives.

Code
<Banner variant="info">
  <BannerTitle>New release</BannerTitle>
  <BannerDescription>EnterUI 0.2 ships refined form primitives.</BannerDescription>
</Banner>

#Import

Code
import {
  Banner,
  BannerAction,
  BannerDescription,
  BannerTitle,
  Button,
} from "@froggdesign/enter-ui-react";

#Patterns

Variants

Banners stay neutral; only the accent communicates tone.

Token-driven

Components inherit FroggDesign variables.

Deployment ready

All required checks passed.

Review required

Changes alter the package public API.

Build failed

Fix the highlighted job before retrying.

Banner with action

Pair short copy with a single action.

Quota approaching

You have used 82% of monthly invocations.

Inline message

Use Banner for short inline messages above content.

Drafts auto-save every minute.

#Accessibility

Banner uses role="status" by default and role="alert" for the error variant unless you pass a custom role.

#API

  • variant: info, success, warning, or error.
  • BannerTitle, BannerDescription, and BannerAction compose freely.

#Styling

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

PreviousConfirmDialog
NextPopover

On this page

  1. Default usage
  2. Import
  3. Patterns
  4. Accessibility
  5. API
  6. Styling