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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file reflex-type-animation-0.0.1.tar.gz.

File metadata

  • Download URL: reflex-type-animation-0.0.1.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.3

File hashes

Hashes for reflex-type-animation-0.0.1.tar.gz
Algorithm Hash digest
SHA256 3dba77349310df1d239c92a5a7efdc6e47b81cc88008f946d007ba167260e04a
MD5 dc8ddaa3ecc8b5a634aff9c3d75e845d
BLAKE2b-256 44f16fde0e6d2b542eb7046b6b7f189085f46af146212f0c30f06e2c3bb34f54

See more details on using hashes here.

File details

Details for the file reflex_type_animation-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for reflex_type_animation-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e140836584e878bc1eacb6dfcd04604727b41079177dca8d7ea514592cd72581
MD5 404bc06dba1f355364a21a426a4cca29
BLAKE2b-256 c6fb6335690d7539bd63c8b7b0299a8f3b72e4c2adab3ac5aa52009c27d8592a

See more details on using hashes here.

Supported by

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