Examples
Whats New Compact
Subtle Informational
Default Vertical
Default Horizontal
Default Dismissible
Props
Banner
"Default" | "Subtle" | "whatsNew" | "appStore1" | "appStore2" | "appStore3"
required
Figma
Type — selects structure, surfaces, and app store gradient.ReactNode
Primary body copy.
string
default:"Dismiss banner"
Accessible label for dismiss.
ReactNode
Small uppercase label (e.g. HOW TO).
"horizontal" | "vertical" | "compact"
Figma
Orientation. Ignored when variant is Subtle (horizontal) or an app store type (vertical).ReactNode
Top badge row (e.g. NEW pill) — mainly for
Subtle.ReactNode
Leading visual (image, illustration, or composite).
(() => void)
When set, shows a dismiss control (
Default only).ReactNode
Primary button (e.g. Learn more).
ReactNode
Extra line under description (
Subtle).ReactNode
Left-stacked pill action (
Subtle).ReactNode
Row under stacked action (
Subtle).ReactNode
Text-style CTA (
whatsNew / app store).ReactNode
Main heading.
Exported types
Also exported from@fanvue/ui: BannerLayout, BannerProps, BannerVariant.
Setup: Installation · Theming