Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Lukebailey/infra 387 explore and create a micro interaction #54

Open
wants to merge 24 commits into
base: main
Choose a base branch
from

Conversation

lukerohanbailey
Copy link
Contributor

Summary

The task here was to explore and create a micro-interaction for the checkbox component in the ui-kit. Primarily the PR is a lofi suggestion for how we could setup micro-interactions for components. There are decisions and discussion to be had around:

  • The animateIcons directory placement and general approach of segregating animation and static icons
  • Centralising easing and timing values as constants we can use throughout the ui-kit
  • Mixing of CSS transitions and GSAP. Im still not sure if the slight performance benefits of CSS transitions trumps the flexibility and unification of setting up all animation in GSAP. I'm also open to looking at other animation libraries like react-spring or framer-motion

References

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant