Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ianfabs/jatrix-react

A matrix-like text thingy for react!
https://github.com/ianfabs/jatrix-react

animation animation-components animations javascript js matrix react react-components text text-animation text-manipulation

Last synced: about 1 month ago
JSON representation

A matrix-like text thingy for react!

Awesome Lists containing this project

README

        

# Enter the Jatrix
(pronounced Jay-tricks, like matrix)

Jatrix does this matrix like text thing, it's really cool!

[![Edit Jatrix](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/006zx206zv?fontsize=14&view=preview)

Long story short, jatrix-react is a react component, as such it needs props.

| Prop | Type | Description | Default |
|--------|----------|---------------------------------------------------------------|---------|
| `text` | String | The words that you want to render | None |
| `fps` | Number | Frames per second, A.K.A how fast you want your letters to go | `40` |
| `caps` | Boolean | If it should be rendered in caps or not | `false` |
| `done` | Function | A callback that executes when it completes | `()=>{}`|

The name attribute allows you to write it as a self closing tag, like this:
```jsx

```

versus writing it like this:

```js

Ian Fabs

```

But *both of them* **do indeed work**.