Component packs › Upgrade › AI assistant

AI assistant

A Pro answer types itself out and its numbered sources pop in as they are cited.

AI assistant is a paywall from Upgrade, a component pack with 6 components: Honest paywalls for six kinds of app, where what you unlock is the hero. Price: $5 for the whole pack.

Built with: typed answer, live citations, weekly plan.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

AI assistant props

PropTypeDefaultDescription
darkboolean
autoplayboolean
currencystring
photosRecord<string
onSubscribe(planId: string) => void

Methods on the ref

Use it in React

import AiPaywall from './AiPaywall';

<AiPaywall />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Upgrade

Good for: Paywalls and subscription screens.