react-pure

React components using Pure CSS.

Installation

npm + browserify/webpack

npm install react-pure

React is also required as a peer dependency.

Others

You can download UMD builds from the GitHub repository.
The components are accessible in the window.ReactPure object.

Usage

The components documented below are exposed as CommonJS modules and can be accessed in the following ways:

// ES6
import { Button, Cell } from 'react-pure';

// CommonJS
var Button = require('react-pure').Button;
// or
var Pure = require('react-pure');
var Button = Pure.Button;

// Direct access to the module
var Button = require('react-pure/lib/Button');

Components

Button

Pure CSS reference

Properties

Cell

A Cell is an element of a Pure CSS Grid.

Properties

Menu

Pure CSS reference

Properties

MenuItem

Renders a <li> node with the pure-menu-item class by default.

Properties

Table

Pure CSS reference

Properties