Skip to main content

Variable: TypewriterText

@arolariu/components


@arolariu/components / TypewriterText

Variable: TypewriterText

const TypewriterText: ForwardRefExoticComponent<TypewriterTextProps & RefAttributes<HTMLDivElement>>

Defined in: components/ui/typewriter.tsx:43

Reveals text one character at a time with a stepped typewriter animation.

Remarks

  • Animated component using the motion library
  • Renders a <div> element
  • Styling via CSS Modules with --ac-* custom properties
  • Client-side only ("use client" directive)

Example

<TypewriterText words={[{text: "Hello"}, {text: "world"}]} />

See

TypewriterTextProps for available props

// was this page useful?