1.9.1 • Published 6 years ago

oio v1.9.1

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

oio

A UI component kit for React

- UNDER CONSTRUCTION -

Demo

https://oio.mother.co

Installation

Install from NPM and include it in your own React build process (using Browserify, Webpack, etc).

npm install oio --save

Usage

import React from 'react'
import ReactDOM from 'react-dom'
import {
   ActionBar, Button, ButtonGroup, Grid, GridCell, Cover, Nav,
   Spacer, Text, Title, TitleBar, ToolBar, View
} from 'oio'

// Global Styles (ensure webpack css-loader is enabled)
import oio from 'oio/dist/styles.css'

var Demo = React.createClass({
  render: function() {
    return (
      <View scroll="on">
            <div className="p60">
               <Grid gutter="42" width="100%[a-c] 1100px[d-e]">
                  <GridCell colspan="12" className="p12 plrn">
                     <Text heading="1" size="9" weight="light">
                        Making the web more beautiful, fast, and open through great typography
                     </Text>
                     <Spacer size="4" />
                     <Text size="6" weight="light">
                        We believe the best way to bring personality and performance to websites
                        and products is through great design and technology. Our goal is to make
                        that process simple, by offering an intuitive and robust directory of open
                        source designer web fonts. By using our extensive catalog, you can share
                        and integrate typography into any design project seamlessly—no matter where
                        you are in the world.
                     </Text>
                  </GridCell>
                  <GridCell colspan="12[a-b] 8[c-e]">
                     <Text size="3" weight="bold">Discover Great Typography</Text>
                     Our font directory places typography front and center, inviting users to
                     explore, sort, and test fonts for use in more than 135 languages. We showcase
                     individual type designers and foundries, giving you valuable information about
                     the people and their processes, as well as analytics on usage and demographics.
                     Our series of thematic collections helps you discover new fonts that have been
                     vetted and organized by our team of designers, engineers, and collaborators,
                     and our default sort organizes fonts based on popularity, trends, and your
                     geographic location. You can also create your own highly customized collections
                     by filtering families, weights, and scripts, plus test color themes, and review
                     sample copy. Collections can be shared, making it easy to collaborate on
                     projects and ensure typography is optimized and streamlined throughout the
                     design and engineering process.
                     <br /><br /><br /><br /><br />
                  </GridCell>

                  <GridCell colspan="12[a-b] 4[c-e]">
                     <Text size="3" weight="bold">Join our community</Text>
                     We are working with designers around the world to produce
                     best-in-class typeface designs that are made for the web,
                     and because we are open source, this means that we can
                     release early access trials to our community for testing and feedback.
                  </GridCell>

                  <GridCell colspan="12">
                     <Text size="10">This is some text</Text>
                     <Text size="9">This is some text</Text>
                     <Text size="8">This is some text</Text>
                     <Text size="7">This is some text</Text>
                     <Text size="6">This is some text</Text>
                     <Text size="5">This is some text</Text>
                     <Text size="4">This is some text</Text>
                     <Text size="3">This is some text</Text>
                     <Text size="2">This is some text</Text>
                     <Text size="1">This is some text</Text>
                  </GridCell>
               </Grid>
            </div>
         </View>
    )
  }
})

ReactDOM.render(<Demo />, document.getElementById('container'))

Tinker

git clone https://github.com/mother/oio
npm install

And since React is just a peer dependency:

npm install react
npm install react-dom

Then:

npm run dev

Then visit http://localhost:8000

Build

npm run build

Props

Test (TODO)

npm test

License

MIT. Copyright (c) 2016 Mother Co.

1.9.1

6 years ago

1.9.0

6 years ago

1.8.0

7 years ago

1.7.0

7 years ago

1.6.1

7 years ago

1.6.0

7 years ago

1.5.0

7 years ago

1.4.0

7 years ago

1.3.2

7 years ago

1.3.1

7 years ago

1.3.0

7 years ago

1.2.10

7 years ago

1.2.9

7 years ago

1.2.8

7 years ago

1.2.7

8 years ago

1.2.6

8 years ago

1.2.5

8 years ago

1.2.4

8 years ago

1.2.3

8 years ago

1.2.2

8 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.1.14

8 years ago

1.1.13

8 years ago

1.1.12

8 years ago

1.1.11

8 years ago

1.1.10

8 years ago

1.1.9

8 years ago

1.1.7

8 years ago

1.1.6

8 years ago

1.1.5

8 years ago

1.1.4

8 years ago

1.1.3

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.19

8 years ago

1.0.18

8 years ago

1.0.17

8 years ago

1.0.16

8 years ago

1.0.15

8 years ago

1.0.14

8 years ago

1.0.13

8 years ago

1.0.12

8 years ago

1.0.11

8 years ago

1.0.10

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago