Skip to content

Gradient Back

Gradient Back preview image 1

Summary

This code defines three higher-order component (HOC) overrides for Framer using React.

Description

This code defines three higher-order component (HOC) overrides for Framer using React.

  • withRotate → Animates a component with a 90° rotation over 2 seconds.

  • withHover → Adds an interactive hover effect that slightly scales up the component.

  • withRandomColor → Connects to a simple Framer store that tracks a background color. On each click, the component’s background updates to a random color using Framer’s utility.

Rank history How rankings work →

1500110001104658/149/49/2610/1811/9
  • All · #10312

Details

More like this