Mini Pricing Card
Compact mini pricing card with plan name, monthly price, feature checklist, and white CTA button. Fits bento pricing grids, sidebars, and comparison rows on dark SaaS marketing pages.
Dependencies
react
npm install react react-domexport function MiniPricingCard() {
return (
<div className="rounded-2xl border border-zinc-800 bg-zinc-950 p-6 text-white">
<p className="text-sm text-zinc-400">Pro</p>
<p className="mt-1 text-3xl font-bold">$19<span className="text-base font-normal text-zinc-500">/mo</span></p>
<ul className="mt-4 space-y-2 text-sm text-zinc-300">
<li>✓ Unlimited projects</li>
<li>✓ Priority support</li>
<li>✓ Commercial license</li>
</ul>
<button className="mt-6 w-full rounded-xl bg-white py-2.5 text-sm font-semibold text-zinc-900">Choose Pro</button>
</div>
);
}
Please implement this code in the current project and add it to (Your Desired Section, e.g. homepage hero, pricing page, dashboard). Change the primary accent color to (YOUR HEX CODE COLOR, e.g. #6366F1).
Requirements:
- Use React + Tailwind CSS (match the project's existing setup)
- Install dependencies if needed: npm install react react-dom
- Keep the layout responsive on mobile and desktop
- Replace placeholder copy with content that fits the project
The UI code:
export function MiniPricingCard() {
return (
<div className="rounded-2xl border border-zinc-800 bg-zinc-950 p-6 text-white">
<p className="text-sm text-zinc-400">Pro</p>
<p className="mt-1 text-3xl font-bold">$19<span className="text-base font-normal text-zinc-500">/mo</span></p>
<ul className="mt-4 space-y-2 text-sm text-zinc-300">
<li>✓ Unlimited projects</li>
<li>✓ Priority support</li>
<li>✓ Commercial license</li>
</ul>
<button className="mt-6 w-full rounded-xl bg-white py-2.5 text-sm font-semibold text-zinc-900">Choose Pro</button>
</div>
);
}
Replace (Your Desired Section) and (YOUR HEX CODE COLOR) before pasting into Cursor, Copilot, or ChatGPT.