Skip to content
✨ Publier v1 is live — a polished docs platform built for the open web.
On this page

TooltipProps

The interface publier.primitives.TooltipProps.

Overview

interface TooltipProps

Properties

color

color?: "primary" | "accent" | "info" | "success" | "warning" | "error"

Optional daisyUI color variant (primary, accent, info, success, warning, error). Omit for the default surface.

open

open?: boolean

Render open regardless of hover/focus state (useful for docs).

position

position?: "top" | "bottom" | "left" | "right"

Preferred side of the trigger for the bubble. Defaults to top. Maps to daisyUI’s tooltip-top|bottom|left|right modifiers.

tip

tip: string

Body text shown inside the tooltip bubble.