Skip to Content
ComponentsFxText Slide

Text Slide

An effect component that applies sliding animations to alphanumeric strings when mounted. 

Hover me

Compound Version

If you need more control over the children, you can use the compound version of the component.

Hover me 1

Within Components

Use the group/text-slide class to apply the text slide effect within other components.

Customizing

globals.css
:root { --ex-text-slide-delay: 0; --ex-text-slide-ease: var(--ease-out); --ex-text-slide-duration: 200ms; }

API

Text Slide

ElementSelector
TextSlide.ex-text-slide
PropTypeDefault
asElementTypediv
asChildbooleanfalse

Text Slide Track

ElementSelector
TextSlide.Track.ex-text-slide-track
PropTypeDefault
asElementTypediv
asChildbooleanfalse

Text Slide Item

ElementSelector
TextSlide.Item.ex-text-slide-item
PropTypeDefault
asElementTypediv
asChildbooleanfalse
Last updated on