retroui

Tooltip

Buttons

About

A neobrutalist tooltip that shows a short hint on hover or keyboard focus, built on Base UI with default, primary, and solid style variants.

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

Code

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

Usage.tsx

"use client";

import { Button } from "@/components/ui/button";
import { Tooltip } from "@/components/ui/tooltip";

export default function TooltipStyleDefault() {
  return (
    <Tooltip.Provider>
      <Tooltip>
        <Tooltip.Trigger>
          <Button variant="outline">Hover</Button>
        </Tooltip.Trigger>
        <Tooltip.Content variant="default">Add to Library</Tooltip.Content>
      </Tooltip>
    </Tooltip.Provider>
  );
}

Dependencies

More by retroui

View all
  • Menu

    Menu

    32
  • Table

    Table

    17
  • Area Chart

    Area Chart

    16
  • Popover

    Popover

    15
  • Bar Chart

    Bar Chart

    4
  • Line Chart

    Line Chart

  • Badge

    Badge

  • Toggle Group

    Toggle Group

More in Buttons

View all
  • Texture Button

    Texture Button

    115
  • Button

    Button

    157
  • Random Letter Swap CTA Buttons

    Random Letter Swap CTA Buttons

    67
  • Icon Label Subtext Button

    Icon Label Subtext Button

    71
  • Icon Button

    Icon Button

    8
  • Button

    Button

    2
  • Hero Button

    Hero Button

    25
  • Button

    Button

    54