Opt-In Consent Banner
Soft messaging opt-in compliance banner with animated check and decline.
Try it: Accept or decline — animated confirmation states.
Installation
Install with the shadcn CLI:
npx shadcn@latest add https://www.framekitui.live/r/opt-in-consent-banner.jsonOr, with the @framekit namespace registered: npx shadcn@latest add @framekit/opt-in-consent-banner. You can also copy the source into components/ui/opt-in-consent-banner.tsx (view on GitHub).
Usage
import { OptInConsentBanner } from '@/components/ui/opt-in-consent-banner'Dependencies
motion
Related WhatsApp / Messaging components
- Media Carousel Bubble
Inbound/outbound bubble with image carousel, dots, and caption.
- Typing Wave Indicator
Multi-dot typing indicator with wave and optional agent handoff label.
- Reaction Chip Bar
Message reaction emoji chips that pop in, with add-reaction affordance.
- Campaign Composer Strip
Mini broadcast composer: audience chip, channel toggle, schedule pill, send progress.
- WhatsApp Flow Form
Interactive Flow / survey card with rating fields and submit — in-chat business flow.
- Template Message Card
Approved template preview with header media, body vars, footer, CTAs + shimmer approve.