# How to Build a "Boop" Hover Interaction in React

DevFeed: [How to Build a "Boop" Hover Interaction in React](<https://devfeed.tech/articles/boop-45224.md>)

Original publisher: [Read original article](<https://www.joshwcomeau.com/react/boop/>)

Author: Josh W. Comeau

Published: 2020-11-23T12:30:00Z

Content type: tutorial

Language: en

Sources: [Josh Comeau's blog](<https://devfeed.tech/sources/josh-comeau-s-blog.md>)

Topics: [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [React](<https://devfeed.tech/topics/react.md>), [hooks](<https://devfeed.tech/topics/hooks.md>), [animations](<https://devfeed.tech/topics/animations.md>)

Tags: [animations](<https://devfeed.tech/tags/animations.md>), [hooks](<https://devfeed.tech/tags/hooks.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [react](<https://devfeed.tech/tags/react.md>), [react-component](<https://devfeed.tech/tags/react-component.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

## AI overview

An intermediate React tutorial that builds a playful "boop" interaction: an element briefly switches to a transformed state when hovered, then returns to its natural state. It demonstrates component design, state and effect hooks, timers, and configurable rotation and transition properties.

## Source excerpt

An in-depth tutorial that teaches how to create one of the most adorable interactions I've ever created. We'll learn how to use React components and hooks to abstract behaviours, and see how to design the perfect API. Even if you're not into animations, I think you'll find it interesting!