portrait

0.9.0 • Public • Published

Portrait

Base design for all 5Rabbits products

Example Usage

import React from 'react'
import { Layout, Navigation, SectionOffscreen } from 'portrait'
import 'portrait/lib/portrait.css'
 
const App = () =>
  <Layout
    header="header"
    navigation={
      <Navigation />
    }
    main={
      <SectionOffscreen
        controls={<div>Controls</div>}
        panelContent={<div>Panel</div>}
        content={<h1>Hello world</h1>}
      />
    }
  />
 
export default App

Using sass

You can configure Portrait using the sass files:

$color-brand: #f00;
@import '~portrait/lib/scss/portrait.scss';

Package Sidebar

Install

npm i portrait

Weekly Downloads

26

Version

0.9.0

License

MIT

Unpacked Size

1.57 MB

Total Files

129

Last publish

Collaborators

  • lemonlet
  • glara
  • rdiaz
  • dochoaj
  • vsanchez