honestui

Spotlight

Pricing

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>
  );
}

Dependencies

More by honestui

View all
  • Chromatic Text Reveal

    Chromatic Text Reveal

    31
  • Warp

    Warp

    1
  • Morphing Dialog

    Morphing Dialog

    1
  • Scroll Velocity Text

    Scroll Velocity Text

    1
  • Success Check

    Success Check

    1
  • Typewriter

    Typewriter

    1
  • Schedule Builder

    Schedule Builder

  • Audit Log

    Audit Log

More in Pricing

View all
  • Pricing Section

    Pricing Section

    733
  • Executive Pricing Plan

    Executive Pricing Plan

    20
  • Pricing Section 1

    Pricing Section 1

    109
  • Single Pricing Card

    Single Pricing Card

    829
  • Review Stack Pricing

    Review Stack Pricing

    11
  • Toggleable Add-on Pricing

    Toggleable Add-on Pricing

    229
  • Toggle Pricing Cards

    Toggle Pricing Cards

    112
  • Pricing Card

    Pricing Card

    409