Develop ultra fast with Prismane 🎉

Tooltip API

Learn about the Tooltip component's props and CSS classes.

Import

import { TooltipProps } from "@prismane/core";

Props

Tooltip extends Flex and Animation components' props.

NameTypeDescriptionDefault
labelReactNodeThe label element of the tooltip.-
positionPrismanePositions The position of the tooltip.right
sizePrismaneBreakpoints The size of the tooltip.base
colorPrismaneColors The color of the tooltip.base

CSS

Tooltip extends Flex and Animation components' CSS classes.

RuleGlobal ClassDescription
root.PrismaneTooltip-rootThe container of the square component.
root.PrismaneTooltip-root-{color}The container of the square component based on it's color.
root.PrismaneTooltip-root-{position}The container of the square component based on it's position.
root.PrismaneTooltip-root-{size}The container of the square component based on it's size.