Features
This effect is achieved with a component that has multiple variants, all connected in a way that allows them to endlessly loop between states.
The gradient border is created using a radial gradient background that is hidden by another element above it with a solid fill. This approach leaves a 1-2px gap around the button's edges, where the radial gradient background can be seen.

Step / 01
Remix the project.

Step / 02
See how it's built.

Step / 03
Watch the tutorial if needed.

Step / 04
Try recreating it for practice or copy it to your project.