A React tooltip component from Radix UI Primitives, part of an open-source UI component library for building high-quality, accessible design systems and web apps
Overall
score
96%
A help button component that shows a tooltip with dismissal capabilities.
The button shows a "?" icon. When the user hovers over the button, a tooltip appears with the help text.
@generates
import React from 'react';
export interface HelpButtonTooltipProps {
/** The help text to display in the tooltip */
helpText: string;
}
/**
* A help button component that displays a "?" icon and shows a tooltip
* with help text when hovered or focused. The tooltip dismisses on:
* Escape key press, trigger blur, trigger click, or page scroll.
*/
export default function HelpButtonTooltip(props: HelpButtonTooltipProps): React.ReactElement;Provides tooltip component primitives with built-in dismissal behavior on escape, blur, click, and scroll events.
@satisfied-by
Install with Tessl CLI
npx tessl i tessl/npm-radix-ui--react-tooltipevals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10