GithubHelp home page GithubHelp logo

1pedro / react-orbits Goto Github PK

View Code? Open in Web Editor NEW
25.0 3.0 1.0 3.69 MB

Beautiful Orbit Components to React

Home Page: https://1pedro.github.io/react-orbits

JavaScript 2.20% TypeScript 94.78% CSS 2.71% Shell 0.31%

react-orbits's Introduction

React Orbits

Create beautiful Orbit Components with React

Orbit

NPM JavaScript Style Guide

Install

npm install --save react-orbits

Usage

import React, { Component } from 'react';

import ReactOrbits from 'react-orbits';
import 'react-orbits/dist/index.css';

class Example extends Component {
  render() {
    return (
      <ReactOrbits firstOrbitDiameter={200} marginBetweenOrbits={20}>
        <Orbit borderColor="red" spin="left">
          <Nucleus backgroundColor="red" size={20} />
          <Planet size={10} spin="left" />
        </Orbit>
        <Orbit animationSpeedInSeconds={2} borderColor="#95abd5" spin="right">
          <Planet backgroundColor="blue" size={10} />
          <Planet backgroundColor="green" shouldSpin={false} size={20} />
        </Orbit>
      </ReactOrbits>
    )
  }
}

License

MIT © 1pedro

react-orbits's People

Contributors

1pedro avatar

Stargazers

Daniel Gomes avatar Dominique Hosea avatar Abdul Aziz avatar  avatar Solomon avatar Nishchit Dhanani avatar khoaoaoaoa avatar  avatar Kalana Vithana avatar Ephraim Rothschild avatar Saad avatar Flávio Santos avatar João Vitor M. Lopes avatar Lucas Brito avatar  avatar Gustavo Camargo avatar Andre Almeida avatar Marcos Adriano avatar Guilherme Oliveira do Valle avatar Matheus Hofstede avatar Luiz Gustavo Alves avatar Juliana Ribeiro avatar Carlos Junior avatar Rodrigo Trancoso avatar Diego Parente avatar

Watchers

 avatar  avatar  avatar

Forkers

ksachikonye

react-orbits's Issues

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.