Components / PaperTooltip

Feedback

PaperTooltip

Compact footnote-style tooltip with mono text and hard edges.

← small hint, zero drama.

Preview

'use client'

import * as React from 'react'
import { cn } from '@/lib/utils'

export interface PaperTooltipProps {

Installation

Copy this file into your project, export its barrel, and then add it to the master UI index.

  1. Step 1.Create this file:
    components/ui/paperTooltip/paperTooltip.tsx
  2. Step 2.Create the barrel:
    components/ui/paperTooltip/index.ts
  3. Step 3.Add this export in components/ui/index.ts:
    export * from './paperTooltip'

Variants

Default

Status

Props

PropTypeDefaultDescription
contentReactNoderequiredTooltip message.
childrenReactNoderequiredAnchor element.

Examples

Icon hint

Tooltips keep dense controls discoverable.

<PaperTooltip content="Archive">...</PaperTooltip>

Context note

Use for low-priority metadata and shortcuts.

Auto
<PaperTooltip content="Refreshes every 30s">...</PaperTooltip>