Giter Site home page Giter Site logo

react-animation-task's Introduction

How to Run

  1. Unzip the Akash_React folder.
  2. Open Terminal and run : npm run dev

Task Descriptions for README File

Task 1: Fade-In Animation for a Specific Component Description: Implement a fade-in animation for a specific component that smoothly appears when it enters the screen.

Requirements: The component should smoothly transition its opacity from 0 to 1 when it is rendered, creating a visually appealing effect.

Implementation Details:

Utilizes react-spring for animation. Uses the useSpring hook to manage the animation state. Includes an encouragement message on the left side and an enrollment form on the right side. Applies the fade-in animation to the entire section using animated.div from react-spring. Task 2: Slide-In Animation for a List of Items Description: Implement a slide-in animation for a list of items where each item slides in from left to right with a slight delay between each item.

Requirements: When the list of items loads, each item should animate into view with a sliding motion from left to right. There should be a gradual delay between the appearance of each item to create a staggered effect.

Implementation Details:

Defines an array of course names. Manages animation with state using useState and useEffect. Applies CSS classes (transition-all, transform, duration-500, ease-in-out) from Tailwind CSS to achieve the sliding animation. Uses inline styles for transitionDelay to create the staggered effect based on the item index. Task 3: Rotation Animation for a Button Description: Implement a rotation animation for a button where the icon inside the button rotates 360 degrees clockwise and returns to its original position upon clicking.

Requirements: When the button is clicked, the icon inside it should rotate 360 degrees clockwise and smoothly return to its original position without interruption.

Implementation Details:

Uses useState to manage the rotation state (isRotating). Implements the rotation animation using inline styles (transform) and Tailwind CSS classes (transition-transform, duration-1000) for smooth animation. Integrates FaSyncAlt icon from react-icons for visual representation of the rotation. Provides visual feedback to users by animating the button's icon upon click interaction.

Live link to View my project: https://akash-react-task.netlify.app/

react-animation-task's People

Contributors

akash-goswami avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.