The main useComposedRef demo from the docs.
npx shadcn@latest add @hextaui/use-composed-ref-demo
use-composed-ref-demo