Ariakit
/

Tooltip with Framer Motion

Abstracting Tooltip into a reusable custom component that uses Framer Motion to create smooth initial and exit animations.

Tooltip with Framer Motion
import "./style.css";
import { TooltipAnchor } from "./tooltip-anchor.tsx";
export default function Example() {
const href = "https://ariakit.org/examples/tooltip-framer-motion";
return (
className="link"
description={href}
render={<a href={href} />}
>
Tooltip with Framer Motion
);
}

Stay tuned

Join 1,000+ subscribers and receive monthly tips & updates on new Ariakit content.

No spam. Unsubscribe anytime. Read latest issue