v0.1 public beta early access on GitHub
Home / Components / smart-banner

Smart BanneriOS

Web-to-app promo strip — springs down over the top edge, app icon + rating stars + CTA, dismissable with upward exit

$ npx lumioui add smart-banner
import { SmartBanner } from "@/components/ui/smart-banner/smart-banner";
Props8
appName string App name shown next to the icon.
tagline? string Line under the name — defaults to star rating + store label.
rating? number 0–5 rating shown as stars in the default tagline.
ctaLabel? string CTA text — "Open", "Get", "Install". Default "Open".
onPress? () => void CTA tap — deep-link into the app, store page, etc.
onDismiss? () => void X tap — parent unmounts; if unset the X is hidden.
iconSource? ImageSourcePropType Custom app icon. Falls back to a branded initial tile.
className? string
Smart Bannerweb.tsx
smart-banner/variants/web.tsx open

Web-to-app promo strip — springs down over the top edge, app icon + rating stars + CTA, dismissable with upward exit