# @chastnr-org/components

> ## How to install

Latest version **0.0.63** (published 2022-06-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install @chastnr-org/components
pnpm add @chastnr-org/components
yarn add @chastnr-org/components
bun add @chastnr-org/components
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.63 |
| Published | 2022-06-23 |
| First published | 2021-06-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 5 |
| Unpacked size | 349.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | chastnr |
| Maintainers | chastnr |

## Links

- npm: https://www.npmjs.com/package/@chastnr-org/components
- Repository: https://github.com/ChastNR/-chastnr-components
- Homepage: https://github.com/ChastNR/-chastnr-components#readme
- Issues: https://github.com/ChastNR/-chastnr-components/issues
- npm.io page: https://npm.io/package/@chastnr-org/components

## Dependencies (5)

- [clsx](https://npm.io/package/clsx.md) 1.1.1
- [dayjs](https://npm.io/package/dayjs.md) 1.11.2
- [react](https://npm.io/package/react.md) 18.0.0
- [react-dom](https://npm.io/package/react-dom.md) 18.0.0
- [react-router-dom](https://npm.io/package/react-router-dom.md) 6.3.0

## Recent versions

- 0.0.63 (latest) — 2022-06-23
- 0.0.62 — 2022-06-22
- 0.0.61 — 2022-06-19
- 0.0.60 — 2022-06-16
- 0.0.59 — 2022-05-22
- 0.0.58 — 2022-05-20
- 0.0.57 — 2022-05-20
- 0.0.56 — 2022-05-20
- 0.0.55 — 2022-05-19
- 0.0.54 — 2022-05-19
- 0.0.53 — 2022-05-18
- 0.0.52 — 2022-05-17
- 0.0.51 — 2022-05-17
- 0.0.50 — 2022-05-15
- 0.0.49 — 2022-05-13
- … 43 more at https://npm.io/package/@chastnr-org/components/versions

## README

# @chastnr-components

## How to install

```bash
npm install @chastnr-org/components
```

```bash
yarn add @chastnr-org/components
```

## How to use

Import styles in root index file

```jsx
import { StrictMode } from 'react';
import { render } from 'react-dom';

import App from './App';

import '@chastnr-org/components/dist/index.scss';
// or
import '@chastnr-org/components/dist/index.css';

const root = document.getElementById('root');

render(
  <StrictMode>
    <App />
  </StrictMode>,
  root
);

```

or you can add styles in your styles file

```jsx
@import '~@chastnr-org/components/dist/index.scss';
// or
@import '~@chastnr-org/components/dist/index.css';
@import './fonts.scss';
@import './root.scss';
```

Now you are ready to use components

```jsx
import { Checkbox, Input } from '@chastnr-org/components';

const App = () => {
  const [value, setValue] = useState('');

  return (
    <>
      <Input label="Test label" onChange={setValue} value={value} />
      <Checkbox />
    </>
  );
};
```


## Contributing
I welcome all contributions. You can submit any ideas as pull requests or as GitHub issues. If you'd like to improve code, check out the Development Instructions and have a good time! :)

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