Skip to main content

Reflex custom component type-animation

Project description

reflex-type-animation

Reflex type animation is a reflex wrapper around react-type-animations

Installation

pip install reflex-type-animation

Usage

from reflex_type_animation import type_animation


def index() -> rx.Component:
    return rx.center(
        type_animation(
            sequence=[
                "The quick brown fox jumped over the lazy Dog",
                1000
            ]
        ),
    )

https://github.com/ElijahAhianyo/reflex-type-animation/assets/19895635/1732465f-d2c2-43f2-ac88-9d18479bd815

Props

Visit this link for a more extensive list of prop options and their uses. However, note that the camelCase prop options are translated to snake_case in reflex-type-animation.

Below are the prop options and their correct translations:

Prop Name to use
preRenderFirstString pre_render_first_string
deletionSpeed deletion_speed
omitDeletionAnimation omit_deletion_animation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

reflex-type-animation-0.0.1.tar.gz (2.2 kB view hashes)

Uploaded Source

Built Distribution

reflex_type_animation-0.0.1-py3-none-any.whl (2.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page