Skip to main content

AppearingText

import { AppearingText } from "@arclockproject/common/components/AppearingText";

For examples and live demos, see the AppearingText guide.

AppearingText​

Component

MUI Typography that types its text out one character at a time. Typing starts again whenever children or speed changes.

Props

  • children? (string) — Text to type out. Only a plain string is supported.
  • speed? (number, default 100) — Milliseconds per character. Lower is faster.

Also accepts all props of Omit<TypographyProps, "ref" | "children">.

Example

<AppearingText speed={30} variant="h5">Hello there!</AppearingText>