Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infinite marquee using framer motion #781

Open
cruxcode opened this issue May 5, 2023 · 3 comments
Open

Infinite marquee using framer motion #781

cruxcode opened this issue May 5, 2023 · 3 comments
Labels
create-component Create a component for visual editor good first issue Good for newcomers

Comments

@cruxcode
Copy link
Collaborator

cruxcode commented May 5, 2023

Create a component that has the animation as shown in the clip attached with this description. You will have to learn two things -

  1. How to create a component? - Find details here
  2. What is the best way to create an animation component that is reusable? - Find details here

The React component signature

const InfMarquee = React.forwardRef<HTMLDivElement, {
  styles: React.CSSProperties,
  custom: {
    src: string; // src of the background image
    initialSize: string; // initial size of the background (string because 50% 50%)
    hoverSize: string: // size of the background when hovered
  }
}
>((props, ref)=>{
 ...
});

Steps

  1. Create a new project - follow docs here
  2. Create the custom component - follow this article
  3. Add a file called InfMarquee.md in made-with-atri folder and write your GitHub repo name in the file. Make sure the GitHub repo is public.
Screen.Recording.2023-05-05.at.12.02.03.PM.mov
@cruxcode cruxcode added good first issue Good for newcomers create-component Create a component for visual editor labels May 5, 2023
@lokeshvasnik
Copy link

I would like to work on this

@alceil
Copy link

alceil commented Sep 7, 2023

Can i work on this @cruxcode

@saka015
Copy link

saka015 commented Jan 12, 2024

i want to work on it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
create-component Create a component for visual editor good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants