apps/www/content/docs/components/toggle-tip.mdx
For ease of use, create a closed component composition for the ToggleTip
component.
Alternatively, you can add it to your project using the following command.
npx @chakra-ui/cli snippet add toggle-tip
The snippet includes a closed component composition for the Popover component.
import { InfoTip, ToggleTip } from "@/components/ui/toggle-tip"
<ToggleTip content="...">
<button />
</ToggleTip>
Use the InfoTip component to display an info tip. This component renders an
icon button with an info icon by default.
<ExampleTabs name="toggle-tip-info-tip" />Useful for landing pages to display additional information about a feature.