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

    33
  • 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
  • Button

    Button

    172
  • Texture Button

    Texture Button

    122
  • Button

    Button

    22
  • Button

    Button

    89
  • Button Group

    Button Group

    1
  • Button Group

    Button Group

    6
  • Button

    Button

    54
  • Native Button

    Native Button

    17