Skip to Content
SmartUI

Tooltip

Short label shown on hover and keyboard focus. Not available on touch.

Usage

import { Tooltip } from '@smartui/react';
import '@smartui/react/styles.css';

When to use

  • Naming an Icon Button.

When not to use

  • Important information: tooltips do not show on touch screens.

Props

PropTypeDefaultDescription
contentstringrequired
placement'top' | 'bottom' | 'left' | 'right''top'
delaynumber (ms)500

Accessibility

  • The same text must also be the control label.

On this page