Socket
Socket
Sign inDemoInstall

orbital-list

Package Overview
Dependencies
3
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    orbital-list

![logo](https://github.com/laurentsenta/orbital-list/raw/master/social.png?raw=true 'orbital-list logo')


Version published
Weekly downloads
0
Maintainers
1
Created
Weekly downloads
 

Readme

Source

logo

orbital-list

A React library to create interfaces using circles, orbits, and planets.

NPM

capture orbital-list

Visit orbital-list.laurentsenta.com for an interactive example.

Check it out in production: whena.re is built with the library and helps you and your team to deal with timezones.

Install

With npm:

npm install --save orbital-list

With yarn:

yarn add orbital-list

Usage

The library provides a set of components.

Check the example to see the code behind the demo.

import React, { Component } from 'react'

import {
  Dial,
  Hand,
  Label,
  Orbit,
  OrbitalList,
  Place,
  Planet,
  Slice
} from 'orbital-list'

class Example extends Component {
  render() {
    return (
      <OrbitalList>
        <Dial color='#1f2041' />
        <Slice
          color='rgba(75, 63, 114, 1)'
          length={0.5}
          angleStart={180}
          angleEnd={202.5}
        />
        <Place
          angle={180}
          distance={0.8}
          style={{ color: '#ed254e', fontSize: '1.2rem', fontWeight: 'bold' }}
        >
          <button>Hello</button>
        </Place>
        <Orbit color='rgba(244, 205, 205, 1)' radius={0.15} />
      </OrbitalList>
    )
  }
}

Develop

yarn start # start working on the library

Go in the examples/ folder, there is a react app there,

yarn start # start the example server

License

MIT © laurentsenta

FAQs

Last updated on 02 Mar 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc