Refs
Accessing ref
is useful in a lot of cases: animation library, accessing DOM... All Smooth UI components implement React.forwardRef
to give you access to the underlying DOM component.
Usage
Passing a ref
prop to a Smooth UI component will give you the ref of the DOM node.