# exploding-text

> A React component that renders text with Physics!

Latest version **1.0.3** (published 2019-12-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install exploding-text
pnpm add exploding-text
yarn add exploding-text
bun add exploding-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 | 2019-12-30 |
| First published | 2019-12-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=8 |
| Dependencies | 1 |
| Unpacked size | 72.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | valentijnnieman |
| Maintainers | vnieman |

## Links

- npm: https://www.npmjs.com/package/exploding-text
- Repository: https://github.com/valentijnnieman/exploding-text
- Homepage: https://github.com/valentijnnieman/exploding-text#readme
- Issues: https://github.com/valentijnnieman/exploding-text/issues
- npm.io page: https://npm.io/package/exploding-text

## Dependencies (1)

- [matter-js](https://npm.io/package/matter-js.md) ^0.14.2

## Recent versions

- 1.0.3 (latest) — 2019-12-30
- 1.0.2 — 2019-12-24
- 1.0.1 — 2019-12-23
- 1.0.0 — 2019-12-23

## README

# exploding-text

> A React component that renders text with Physics!

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

## Install

```bash
npm install --save exploding-text
```

## Usage

```tsx
import React, { Component } from "react";

import ExplodingText from "exploding-text";

export default class App extends Component {
  render() {
    return (
      <div>
        <ExplodingText
          text={["Example", "Click me!"]}
          lengths={[
            [40, 44, 38, 38, 42, 40, 36],
            [40, 44, 30, 25, 27, 20, 27, 31, 32]
          ]}
          width={800}
          height={600}
          fontSize={64}
          debugDraw={false}
          boundaries={true}
        />
      </div>
    );
  }
}
```

## License

MIT © [valentijnnieman](https://github.com/valentijnnieman)

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