0.9.1 • Published 7 years ago

@material-design/preact v0.9.1

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

Preact Material Design

A set of UI components that follow the Material Design Guidelines

Install

yarn add @material-design/preact

or

npm i -S @material-design/preact

Usage

(More details coming soon)

Code

To use any given component, simply import it, and then use it like any other preact component/

import { Button } from '@material-design/preact';

() => <Button>Primary Button</Button>

Styles

You must also include the css for the component which you can do per component, or simply include the full stylesheet.

<link rel="stylesheet" href="node_modules/@material-design/preact/styles.css">

If using sass, you can import the sass directly from the src folder.

@import '~@material-design/preact/styles';

Theming

See the theming guide

0.9.1

7 years ago

0.9.0

7 years ago

0.8.6

7 years ago

0.8.5

7 years ago

0.8.4

7 years ago

0.8.3

7 years ago

0.8.2

7 years ago

0.8.1

7 years ago

0.8.0

7 years ago

0.7.2

7 years ago

0.7.1

7 years ago

0.7.0

7 years ago

0.6.0

7 years ago

0.5.1

7 years ago

0.5.0

7 years ago