Words

A plain text wrapper component to apply styles and animation.

<Words animate>Arwes is a cyberpunk UI framework</Words>

This component does not use the <Animation /> component underneat.

Prop nameTypeDefaultDescription
themeanyRequired
classesanyRequired
animatebool
showbooltrue
animationshape

Animation settings.

timeout: numberAnimation duration in ms.
soundsobject{}

It uses the typing player.

layerenum''

Can have disabled the layer by providing ''.

One of: '', 'primary', 'secondary', 'header', 'control', 'success', 'alert', 'disabled'
blinkTextstring'&#9611;'

The character to print when typing animation.

childrenstring''

Plain text to render and animate if enabled.

Method nameParametersDescription
animateIn
animateOut
stopAnimation

Stop current animation and sounds.

cancelNextAnimation
startAnimation
isIn:Boolean

If entering.

Start animating the words and playing sounds.

Source code: src/Words Open in: Playground