Containers and layout
Promo card
Available forNativeWeb
tinted offer/nudge card · circular arrow CTA, dismiss X, generated art · one per screen
Usage
At most one per screen, and dismissible whenever it is promotional rather than required. The art is generated from the seed, so it needs no asset.
API
<PromoCard title body? action? onDismiss? tone? seed? icon? />Get it
Already in every copy of the native kit:
import { PromoCard } from '@/components/kit/promo-card';Details
- Exports
PromoCard- Packages
- lucide-react-native@^1.21.0
- Installs with
- @kit-native/icon, @kit-native/lib-haptics, @kit-native/lib-utils, @kit-native/placeholder, @kit-native/text
- Also searched as
- banner, upsell, announcement, offer, nudge
- Registry JSON
- /r/native/promo-card.json
Usage
At most one per page, and dismissible whenever it is promotional rather than required. The art is generated from the seed.
API
<PromoCard title body? action? onDismiss? tone? seed? icon? />Get it
Already in every copy of the web kit:
import { PromoCard } from '@/components/kit/promo-card';Details
- Exports
PromoCard- Packages
- cn@^0.4.0, lucide-react@^1.52.0
- Installs with
- @kit/placeholder
- Also searched as
- banner, upsell, announcement, offer, nudge
- Registry JSON
- /r/web/promo-card.json
Agents: the whole registry is at /llms.txt.