Skip to content

feat(motion): add Rotate presence motion component #34928

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 23 commits into
base: master
Choose a base branch
from

Conversation

robertpenner
Copy link
Collaborator

@robertpenner robertpenner commented Jul 28, 2025

New Behavior

This PR adds a Rotate presence motion component in react-motion-components-preview.

<Rotate visible={visible}>Content</Rotate>

<Rotate visible={visible} axis="x" angle={45}>Content</Rotate>

<Rotate visible={visible} axis="y" angle={90} duration={1000}>Content</Rotate>

// plus parameters for easing, exitAngle, exitDuration and exitEasing

Testing

image

@robertpenner robertpenner self-assigned this Jul 28, 2025
@robertpenner robertpenner added the Package: motion react-motion related changes label Jul 28, 2025
Copy link

Pull request demo site: URL

Copy link

github-actions bot commented Jul 28, 2025

📊 Bundle size report

✅ No changes found

@robertpenner robertpenner marked this pull request as ready for review July 28, 2025 19:25
@robertpenner robertpenner requested a review from a team as a code owner July 28, 2025 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Package: motion react-motion related changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants