2.2.0 • Published 4 years ago

react-window-ui v2.2.0

Weekly downloads
76
License
GNU General Publi...
Repository
github
Last release
4 years ago

react-window-ui 🖼✨

Greenkeeper badge Travis npm version npm code style: prettier

Demo & Examples

Live demo: react-window-ui.coston.io

What

React components for fast presentational window ui.

Installation

npm install --save react-window-ui

Window UI

  • Browser (Like Mac OS X window UI)
  • Terminal (Like Hyper terminal)
  • MacTerminal (Like Mac OS X terminal)

Input

import React from "react";
import { Browser } from "react-window-ui";

export default () => (
  <Browser>
    <h1>wow</h1>
  </Browser>
);

Options

PropTypeDescription
topbarTitlestringtitle of the topbar
topbarTitleColorstringcolor of topbar title
barHeightstringheight of the topbar
dividerstringcss border values of topbar border-bottom
paddingstringcss padding of content widow
topbarColorstringcolor of topbar
backgroundstringcolor of main content window
borderstringcss border values of outer border
grayscalebooleansets ui button to greyscale instead of red, yellow, green
boxShadowstringcustomize box shadow styles

Development

npm run build

Contributing

Please help make this react component better. Submit any issue and/or make a pull request!

To Do

  • Write some good tests

License

Licensed under the GNU General Public License v3.0.

2.2.0

4 years ago

2.1.0

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago