Docs

Loki Text Effect

Loki Text Effect

The iconic text animation from the Loki series intro.

Loading...

Installation

pnpm dlx shadcn@latest add https://atlasui.dev/r/loki-text-effect.json

Usage

import { LokiTextEffect } from "@/components/(react)/loki-text-effect";
<LokiTextEffect text="Loki" />

Props / Data Attributes

PropTypeDefaultRequiredDescription
textstringtrueThe text to display and animate
velocityFontnumber800falseInterval in ms for how often the font changes
velocityMovenumber1800falseInterval in ms for how often the position jitter is updated
classNamestringfalseOptional classnames for according to match your setup