Toggletip
Toggletip shows a user supplementary information on click.
Also known as: Hint
| Salt package | @salt-ds/core |
|---|---|
| Available since | 1.59.0 |
- To provide supplementary information for elements on a page that you can't add a
Tooltipto, such as a section header.
- To provide supplementary information for an interactive element like a button. In this case, use a
Tooltip. - To provide more complex information or user flows or present critical information that requires immediate action from the user. Instead, use
Dialog. - When the information is needed for the user to complete a task. Instead, add the information to the page so it's always visible.
To import Toggletip and related components from the core Salt package, use:
import { Toggletip, ToggletipTrigger, ToggletipPanel } from "@salt-ds/core";