About
A tinted strip banner that shows how many days are left in a free trial, a short note on what stays unlocked, and an upgrade button for SaaS billing nudges.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Trial Banner to your project and fits it to your theme.
Code
How Trial Banner is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { TrialBanner } from "@/components/ui/trial-banner";
export default function TrialBannerDemo() {
return (
<div className="w-full max-w-xl">
<TrialBanner
daysLeft={5}
plan="Scale"
description="Invoice automations and the cash-flow forecast stay unlocked until then."
actionLabel="Upgrade"
onUpgrade={() => console.log("upgrade clicked")}
/>
</div>
);
}







