A simple React hook that creates a tilting card effect. ```jsx export default function CardWrapper() { const wrapperElement = useRef() const cardElement = useRef() const setDistance = useTilt(wrapperElement, cardElement, { degree: 30 })
published 1.0.18 • 3 months agopublished 1.0.18 3 months ago