Coder Social home page Coder Social logo

bicabenedicto / carousel-circle-animation Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 8 KB

This library create carousel animation with circle effect.

License: MIT License

SCSS 70.45% JavaScript 29.55%
library animation animation-library animation-effects animation-3d react reactjs react-components sass carousel

carousel-circle-animation's Introduction

Carousel Circle Animation

This library create carousel animation with circle effect.

Tech Stack

Front-end: React, Sass

Installation

Install carousel-circle-animation with npm

  npm install carousel-circle-animation
  cd carousel-circle-animation

To use this library, needs config in root folder the sizes and quantify.

  1. Create in root the file carousel-animation.config.scss.
// carousel-animation.config.scss

$length: 28; // Length of array used is very recommended
$quantity-small: 10; // Quantity go be show in small screen
$size-small: 0.1; // Size of items in small screen

$quantity-medium: 10; // Quantity go be show in medium screen
$size-medium: 0.3; // Size of items in medium screen

$quantity-big: 30; // Quantity go be show in big screen
$size-big: 0.03; // Size of items in big screen

$screen-medium: 'min-width: 600px'; // Config of start medium screen
$screen-big: 'min-width: 1000px'; // Config of start big screen

$height: 100px; // Recommended height of your items

Now you can copy this config in file and edit! :D

Usage/Examples

// Import component
import CarouselAnimation from 'carousel-circle-animation'

const data = [<div>Item 1</div>, <div>Item 2</div>];

function App() {
  return <CarouselAnimation data={ data } />
}

Feedback

If you have any feedback, please reach out to us at [email protected]

Contributing

Contributions are always welcome!

Fork the project, do with you wanne upgrade, change or refactor, open PR with the description the changes ^^

License

MIT

Authors

Gabriel Benedicto

Gmail Linkedin Telegram

carousel-circle-animation's People

Contributors

bicabenedicto avatar

Stargazers

 avatar  avatar  avatar  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.