# TextLoop
A Reflex custom component for looping text based on [easy-react-text-loop](https://www.npmjs.com/package/easy-react-text-loop) React component.
## Installation
### PIP
```bash
pip install reflex-text-loop
```
### Poetry
```bash
poetry add reflex-text-loop
```
## Usage
### Props
| Name | Type | Default | Description |
|--|--|--|--|
| `animation` | `string` | `tween` | One of `tween`, `spring`, `inertia`, `keyframes`, `just` |
| `timeout` | `number` | `2500` | Animation timout in `ms` |
| `text` | `string` | None | Comma separated words which will be used in animation |
## Sample
```python
from reflex_text_loop import TextLoop
def index():
rx.text(
TextLoop(
"Un", "Dros", "Tres"
)
)
```
Raw data
{
"_id": null,
"home_page": null,
"name": "reflex-text-loop",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "reflex, reflex-custom-components",
"author": null,
"author_email": "Akshay Ranjan <akshay.ranjan@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/ac/eb/2bf65bab5474452b374951497f82338abc95569a5451dfade2ba52e05133/reflex_text_loop-0.0.1.tar.gz",
"platform": null,
"description": "# TextLoop\n\nA Reflex custom component for looping text based on [easy-react-text-loop](https://www.npmjs.com/package/easy-react-text-loop) React component.\n\n## Installation\n\n### PIP\n\n```bash\npip install reflex-text-loop\n```\n\n### Poetry\n\n```bash\npoetry add reflex-text-loop\n```\n\n## Usage\n\n### Props\n\n| Name | Type | Default | Description |\n|--|--|--|--|\n| `animation` | `string` | `tween` | One of `tween`, `spring`, `inertia`, `keyframes`, `just` |\n| `timeout` | `number` | `2500` | Animation timout in `ms` |\n| `text` | `string` | None | Comma separated words which will be used in animation |\n\n## Sample\n\n```python\nfrom reflex_text_loop import TextLoop\n\ndef index():\n rx.text(\n TextLoop(\n \"Un\", \"Dros\", \"Tres\"\n )\n )\n```\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "Reflex custom component for React easy-react-text-loop",
"version": "0.0.1",
"project_urls": null,
"split_keywords": [
"reflex",
" reflex-custom-components"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c2e6fc55aec3e78e34d7f226a60719d1e01da8d4a78c2743ec4716af2c74ca0d",
"md5": "04dbedd5196a874646d55dcee38e4513",
"sha256": "37772b301ca87b8195fd37c09e848299bafa8484e104b9c14d5e1182b2cf40b7"
},
"downloads": -1,
"filename": "reflex_text_loop-0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "04dbedd5196a874646d55dcee38e4513",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 6426,
"upload_time": "2024-09-13T09:48:57",
"upload_time_iso_8601": "2024-09-13T09:48:57.768106Z",
"url": "https://files.pythonhosted.org/packages/c2/e6/fc55aec3e78e34d7f226a60719d1e01da8d4a78c2743ec4716af2c74ca0d/reflex_text_loop-0.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "aceb2bf65bab5474452b374951497f82338abc95569a5451dfade2ba52e05133",
"md5": "545a8b13f53a68c70fb3b46af3b84427",
"sha256": "4be9cb2b626a329f4de04dddc7c2571c1d204b6be2b6cc9eb87ed926c82ee47b"
},
"downloads": -1,
"filename": "reflex_text_loop-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "545a8b13f53a68c70fb3b46af3b84427",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 6042,
"upload_time": "2024-09-13T09:48:59",
"upload_time_iso_8601": "2024-09-13T09:48:59.681807Z",
"url": "https://files.pythonhosted.org/packages/ac/eb/2bf65bab5474452b374951497f82338abc95569a5451dfade2ba52e05133/reflex_text_loop-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-13 09:48:59",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "reflex-text-loop"
}