# react-brush-text

> Background for your text

Latest version **1.0.3** (published 2021-06-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-brush-text
pnpm add react-brush-text
yarn add react-brush-text
bun add react-brush-text
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2021-06-14 |
| First published | 2021-06-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=10 |
| Dependencies | 0 |
| Unpacked size | 3.4 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | aleksandar-b |
| Maintainers | alexbrajkovic |

## Links

- npm: https://www.npmjs.com/package/react-brush-text
- Repository: https://github.com/aleksandar-b/react-brush-text
- Homepage: https://github.com/aleksandar-b/react-brush-text#readme
- Issues: https://github.com/aleksandar-b/react-brush-text/issues
- npm.io page: https://npm.io/package/react-brush-text

## Recent versions

- 1.0.3 (latest) — 2021-06-14
- 1.0.2 — 2021-06-14
- 1.0.1 — 2021-06-14
- 1.0.0 — 2021-06-14

## README

# react-brush-text

> Background for your text

[![NPM](https://img.shields.io/npm/v/react-brush-text.svg)](https://www.npmjs.com/package/react-brush-text) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save react-brush-text
```

## Example
![img_1.png](img_1.png)

#### 8 different types
![img.png](img.png)

```jsx
import React, { Component } from 'react'

import { Brush } from 'react-brush-text'

class Example extends Component {
  render() {
    return (<>
        <Brush style={{ padding: '17px 58px' }} type={1}>
          <span style={{ color: 'white' }}>Your text goes here 😄</span>
        </Brush>

        <Brush style={{ padding: '17px 58px' }} type={2}>
          <span style={{ color: 'white' }}>Your text goes here 😄</span>
        </Brush>

        <Brush style={{ padding: '17px 58px' }} type={3}>
          <span style={{ color: 'white' }}>Your text goes here 😄</span>
        </Brush>

        <Brush
          style={{
            padding: '7px 58px',
            paddingBottom: '15px',
            paddingTop: '34px'
          }}
          type={4}
        >
          <span style={{ color: 'white' }}>Your text goes here 😄</span>
        </Brush>

        <Brush style={{ padding: '17px 78px', paddingBottom: '30px'}} type={5}>
          <span style={{ color: 'white' }}>Your text goes here 😄</span>
        </Brush>

        <Brush style={{ padding: '17px 58px' }} type={6}>
          <span style={{ color: 'white' }}>Your text goes here 😄</span>
        </Brush>

        <Brush style={{ padding: '17px 58px' }} type={7}>
          <span style={{ color: 'white' }}>Your text goes here 😄</span>
        </Brush>

        <Brush style={{ padding: '17px 58px', paddingBottom: '35px',
          paddingTop: '20px' }} type={8}>
          <span style={{ color: 'white' }}>Your text goes here 😄</span>
        </Brush>
    </>
  }
}
```

## License

MIT © [aleksandar-b](https://github.com/aleksandar-b)

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