1.0.8 • Published 7 years ago

react-radial v1.0.8

Weekly downloads
7
License
MIT
Repository
github
Last release
7 years ago

react-radial

By Mode Lab

Intro

This is a straightforward, customizable radial menu, built with React and Resonance (a library that allows React and D3js to play along nicely).

The radial component is built with SVG, and can be ported into a div, canvas, WebGL scene, etc. We use radial menus for 3D interaction often, and decided to build a generic component for future use. The demo file is an interactive environment for defining how you want the radial menu to look. Check it out here.

Getting Started

Install the component into your project

npm install --save react-radial

Load the component into your app

import React from 'react';
import { ReactRadial } from 'react-radial';

class Component extends React.Component {
  render() {
    return <ReactRadial />;
  }
}

Remmeber to click on your canvas/div after loading the page (the radial menu does not load automatically). Please post any issues.

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago