Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 752 Bytes

README.md

File metadata and controls

40 lines (28 loc) · 752 Bytes

TextLoop

A Reflex custom component for looping text based on easy-react-text-loop React component.

Installation

PIP

pip install reflex-text-loop

Poetry

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

from reflex_text_loop import TextLoop

def index():
    rx.text(
        TextLoop(
            "Un", "Dros", "Tres"
        )
    )