New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

radon

Package Overview
Dependencies
Maintainers
3
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

radon

A small, React UI primitive toolkit.

  • 1.3.1
  • latest
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

Radon Toolkit

A small, React UI primitive toolkit.

The Radon Family

Install

$ npm install --save radon # OR
$ yarn add radon

Usage

UMD

We provide UMD bundles at:

  • ./dist/radon.js: Development build
  • ./dist/radon.min.js: Production build

Both require that you have external dependencies available on window/global of:

  • React
  • ReactDOM

Libraries

We provide ESM and CommonJS versions of the Radon Toolkit. Your bundling tool should pick up the appropriate one automagically from our entries for package.json:main (CommonJS) and package.json:module (ESM).

Select
import React from 'react';
import ReactDOM from 'react-dom';
import { Select } from 'radon';

class App extends React.Component {
  render() {
    return (
      <div>
        <h3>Basic</h3>
        <Select selectName="foo">
          <Select.Option value="who">Who</Select.Option>
          <Select.Option value="what">What</Select.Option>
        </Select>
      </div>
    );
  }
}

ReactDOM.render(<App />, document.getElementById('root'));
Typeahead
import React from 'react';
import ReactDOM from 'react-dom';
import { Typeahead } from 'radon';

const CAR_BRANDS = [
  'Alfa Romeo',
  'Audi',
  'Bmw',
  'Chevrolet',
  'Chrystler',
  'Dodge',
  'Ferrari',
  'Fiat',
  'Ford',
  'Honda',
  'Hyundai',
  'Jaguar',
  'Jeep',
  'Kia',
  'Mazda',
  'Mercedez-Benz',
  'Mitsubish',
  'Nissan',
  'Peugeot',
  'Porsche',
  'Subaru',
  'Suzuki',
  'Toyota',
  'Volkswagen'
];

class App extends React.Component {
  render() {
    return (
      <div>
        <h3>Car Brands</h3>
        <Typeahead list={CAR_BRANDS} inputComponent={<input />}/>
      </div>
    );
  }
}

ReactDOM.render(<App />, document.getElementById('root'));

FAQs

Package last updated on 17 Sep 2018

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc