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.
Banner sits inline above content with a quiet semantic accent.
<Banner variant="info">
<BannerTitle>New release</BannerTitle>
<BannerDescription>EnterUI 0.2 ships refined form primitives.</BannerDescription>
</Banner>import {
Banner,
BannerAction,
BannerDescription,
BannerTitle,
Button,
} from "@froggdesign/enter-ui-react";Banners stay neutral; only the accent communicates tone.
Pair short copy with a single action.
Use Banner for short inline messages above content.
Banner uses role="status" by default and role="alert" for the error variant unless you pass a custom role.
variant: info, success, warning, or error.BannerTitle, BannerDescription, and BannerAction compose freely.Every exported component accepts className when it renders an element. EnterUI styles use .eui-* classes and --eui-* variables mapped from FroggDesign theme tokens.