Skip to content

component

Gradient Back

By RAMDIN SINGH

Details

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

Daily rank per list, from the first snapshot — lower is better.

125015001750186378/148/228/309/79/15
  • All · #8614