About
A soft light that follows the pointer and catches the borders of the cards around it.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Spotlight to your project and fits it to your theme.
Code
How Spotlight is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { Spotlight, SpotlightCard } from "@/components/ui/honest-spotlight";
const plans = [
{ name: "Starter", price: "$0", detail: "Three projects and one teammate." },
{ name: "Team", price: "$24", detail: "Unlimited projects and shared views." },
{ name: "Business", price: "$60", detail: "Audit log, SSO, and priority support." },
];
export default function SpotlightPricing() {
return (
<Spotlight
glow={false}
size={520}
borderColor="#3b82f6"
cardColor="color-mix(in oklab, #3b82f6 10%, transparent)"
className="grid w-full max-w-2xl gap-3 sm:grid-cols-3"
>
{plans.map((plan) => (
<SpotlightCard key={plan.name} className="p-5">
<p className="text-[13px] text-muted-foreground">{plan.name}</p>
<p className="mt-2 text-2xl font-semibold tracking-tight text-foreground">
{plan.price}
<span className="text-sm font-normal text-muted-foreground"> / month</span>
</p>
<p className="mt-3 text-[13px] leading-5 text-muted-foreground">{plan.detail}</p>
</SpotlightCard>
))}
</Spotlight>
);
}
















