# respectre

> React components using spectre.css

Latest version **0.0.10** (published 2019-02-21) · ISC license · 0 weekly downloads

## Install

```sh
npm install respectre
pnpm add respectre
yarn add respectre
bun add respectre
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.10 |
| Published | 2019-02-21 |
| First published | 2018-09-02 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 668.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | jagcompacion@gmail.com |
| Maintainers | jagcompacion |

## Links

- npm: https://www.npmjs.com/package/respectre
- Repository: https://github.com/jagcompacion/respectre
- Homepage: https://github.com/jagcompacion/respectre#readme
- Issues: https://github.com/jagcompacion/respectre/issues
- npm.io page: https://npm.io/package/respectre

## Dependencies (5)

- [react](https://npm.io/package/react.md) ^16.4.2
- [react-dom](https://npm.io/package/react-dom.md) ^16.4.2
- [classnames](https://npm.io/package/classnames.md) ^2.2.6
- [prop-types](https://npm.io/package/prop-types.md) ^15.6.2
- [spectre.css](https://npm.io/package/spectre.css.md) ^0.5.3

## Recent versions

- 0.0.10 (latest) — 2019-02-21
- 0.0.9 — 2019-02-21
- 0.0.8 — 2018-10-08
- 0.0.7 — 2018-10-08
- 0.0.6 — 2018-10-08
- 0.0.5 — 2018-09-03
- 0.0.4 — 2018-09-03
- 0.0.3 — 2018-09-03
- 0.0.2 — 2018-09-03
- 0.0.1 — 2018-09-02

## README

# Respectre

Stateless React Components for spectre.css. https://respectre.netlify.com/

## Getting Started

```
npm install -g create-react-app

create-react-app my-app
cd my-app/
npm start
```

### Adding Spectre.css

```
npm install --save spectre.css
npm install --save respectre
```

Import spectre.css in the ```src/index.js``` file:

```js
import 'spectre.css/dist/spectre.css';
import 'spectre.css/dist/spectre-icons.css'; /** optional (for-icons) **/
import 'spectre.css/dist/spectre-exp.css';  /** optional (for-experimentals) **/
```

Import required components within ```src/App.js``` file or your custom component files:

```js
import { Button, ... } from 'respectre/elements';
import { Container, ... } from 'respectre/layout';
import { Avatar, ... } from 'respectre/components';
import { Calendar, ... } from 'respectre/experimentals';
```

Thats it.

## Development

Install dependencies:

```sh
npm install
```

Run documentation at [http://localhost:9001/](http://localhost:9001/)

```sh
npm run storybook
```

Run tests

```sh
npm run test
```

---
_Source: https://npm.io/package/respectre · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
