"use client" import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { Button } from "@/registry/bases/base/ui/button" import { Kbd } from "@/registry/bases/base/ui/kbd" import { Tooltip, TooltipContent, TooltipTrigger, } from "@/registry/bases/base/ui/tooltip" import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder" export default function TooltipExample() { return ( ) } function TooltipBasic() { return ( }> Show Tooltip

Add to library

) } function TooltipSides() { return (
{(["top", "right", "bottom", "left"] as const).map((side) => ( } > {side}

Add to library

))}
) } function TooltipWithIcon() { return ( }> Info

Additional information

) } function TooltipLongContent() { return ( }> Show Tooltip To learn more about how this works, check out the docs. If you have any questions, please reach out to us. ) } function TooltipDisabled() { return ( }>

This feature is currently unavailable

) } function TooltipWithKeyboard() { return ( }>
Save Changes S
) } function TooltipOnLink() { return ( e.preventDefault()} /> } > Learn more

Click to read the documentation

) } function TooltipFormatted() { return ( }> Status

Active

Last updated 2 hours ago

) }