Typewriter Text Animation

Typewriter text that cycles through strings with character-by-character typing and deleting, supporting multiple animation styles

Free
Free with a ShipSwift account.

Copies a short instruction with your private download link. Paste it into your agent: it downloads the whole skill (the source code, the setup steps and the mistakes we already made for you) and builds the screen.

Works with

+70

What it does

Typewriter text animation that cycles through an array of strings, typing and deleting characters one by one with configurable animation styles. Ideal for landing page headlines, onboarding prompts, and AI chat UIs.

What you get

  • ✓305 lines of source code, ready to paste
  • ✓Source Code
  • ✓Usage
animationtypewritertextSwiftUI

Usage

// Basic — cycles through texts with default spring animation
SWTypewriterText(texts: ["Hello World", "Welcome Back", "Let's Go"])

// Choose an animation style
SWTypewriterText(texts: ["Line 1", "Line 2"], animationStyle: .blur)

// Convenience factory methods
SWTypewriterText.spring(texts: ["A", "B"])
SWTypewriterText.blur(texts: ["A", "B"])
SWTypewriterText.fade(texts: ["A", "B"])
SWTypewriterText.scale(texts: ["A", "B"])

// Custom gradient and timing
SWTypewriterText(
    texts: ["Message 1", "Message 2"],
    typingSpeed: 0.05,
    deletingSpeed: 0.03,
    pauseDuration: 3.0,
    animationStyle: .spring,
    gradient: LinearGradient(
        colors: [.pink, .orange],
        startPoint: .leading,
        endPoint: .trailing
    )
)
.font(.title3.weight(.semibold))

More in Effects and animation

Metal shaders: fields of dots that roll like waves and flow into living patterns, all drawn on the GPU.
Metal dot fields
Free
Metal shaders: fields of dots that roll like waves and flow into living patterns, all drawn on the GPU.
A deep-space starfield in Metal: glowing nebulae drift past twinkling stars.
Deep-space starfield
Free
A deep-space starfield in Metal: glowing nebulae drift past twinkling stars.
Neon outlines that bloom from the center with prism-colored edges, rendered live in Metal.
Neon outlines
Free
Neon outlines that bloom from the center with prism-colored edges, rendered live in Metal.
Colored blobs that drift, melt into one another like liquid, and blend their colors as they merge.
Liquid metaballs
Free
Colored blobs that drift, melt into one another like liquid, and blend their colors as they merge.
A 3D network graph you can spin. Tap any node and its links light up, with the details below.
3D network graph
Free
A 3D network graph you can spin. Tap any node and its links light up, with the details below.
Items orbit into a dotted ring, and payment cards fan out of a wallet as the balance rolls in.
Orbit ring and wallet
Free
Items orbit into a dotted ring, and payment cards fan out of a wallet as the balance rolls in.
A field of bright colored dots that float and shimmer across the whole screen.
Floating color dots
Free
A field of bright colored dots that float and shimmer across the whole screen.
Stacked glass panels in mirrored layers, with neon gradients flowing through them.
Glass color panels
Free
Stacked glass panels in mirrored layers, with neon gradients flowing through them.
Drag the slider and scattered points of light pull together into a perfect 3D sphere.
Dot sphere
Free
Drag the slider and scattered points of light pull together into a perfect 3D sphere.
Living patterns: a mosaic of cells that keeps reshaping, then a hypnotic color swirl.
Cells and swirl
Free
Living patterns: a mosaic of cells that keeps reshaping, then a hypnotic color swirl.
Organic noise shaders: glowing veins that pulse through the dark, then bold color blobs in constant flow.
Noise veins and blobs
Free
Organic noise shaders: glowing veins that pulse through the dark, then bold color blobs in constant flow.