felipemenezes098

Light Tooltip via Dark Class

Component

About

A light-colored tooltip that inverts the default dark style by applying the dark class to its content, so it reads clearly on light backgrounds.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Light Tooltip via Dark Class to your project and fits it to your theme.

Code

How Light Tooltip via Dark Class is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import Tooltip07 from "@/components/ui/tooltip-07";

export default function Default() {
  return (
    <div className="flex min-h-[320px] w-full items-center justify-center bg-background p-10">
      <Tooltip07 />
    </div>
  );
}

More by felipemenezes098

View all
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    930
  • Editorial Collage Hero

    Editorial Collage Hero

    430
  • Split Hero With Image Cards

    Split Hero With Image Cards

    402
  • Editorial Image Hero

    Editorial Image Hero

    388
  • Scroll 01

    Scroll 01

    341
  • Real Estate Search Hero

    Real Estate Search Hero

    190
  • Editorial Hero

    Editorial Hero

    173
  • Hero with Dashboard Mockup

    Hero with Dashboard Mockup

    123