React Aria exposing state through the className is super handy. Here we're using the placement returned to define a TW CSS variable which we can then use in Motion to define its animation direction. https://codesandbox.io/p/sandbox/zwfndk
Comments
Log in with your Bluesky account to leave a comment
Comments