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
Post image

Comments