Capítulo 7 de 11

Chapter 7: Text & Content Effects

Core Idea

Typography and content-reveal animation — components that make text itself the animated element, plus a few content-display utilities (code, terminal, link preview) that recur across marketing pages.

Reference Table

NamePurposeInstall
Canvas TextAnimated text with colorful curved lines, clipped to the text shapenpx shadcn@latest add @aceternity/canvas-text
Chromatic ImageImage with color-separation/displacement/tilt on interactionnpx shadcn@latest add @aceternity/chromatic-image
Container Text FlipContainer that flips through a word list, animating widthnpx shadcn@latest add @aceternity/container-text-flip
Colourful TextMulti-color text with filter/scale effectsnpx shadcn@latest add @aceternity/colourful-text
Squiggly TextSVG turbulence/displacement squiggle effect under textnpx shadcn@latest add @aceternity/squiggly-text
Text Generate EffectText fades in word-by-word on loadnpx shadcn@latest add @aceternity/text-generate-effect
Text Hover EffectGradient outline that animates on text hover (as seen on x.ai)npx shadcn@latest add @aceternity/text-hover-effect
Text Reveal CardMouse-move reveals hidden text at the bottom of a cardnpx shadcn@latest add @aceternity/text-reveal-card
Text Flipping BoardSplit-flap character animation (inspired by Vestaboard)npx shadcn@latest add @aceternity/text-flipping-board
Typewriter EffectText types itself onto the screennpx shadcn@latest add @aceternity/typewriter-effect
Flip WordsCycles through a list of words in placenpx shadcn@latest add @aceternity/flip-words
Encrypted TextGradually reveals text from a gibberish/encrypted statenpx shadcn@latest add @aceternity/encrypted-text
Link PreviewDynamic hover preview card for anchor linksnpx shadcn@latest add @aceternity/link-preview
Pointer HighlightHighlights in-view text with a pointer + border accentnpx shadcn@latest add @aceternity/pointer-highlight
Code BlockSyntax-highlighted code block (built on react-syntax-highlighter)npx shadcn@latest add @aceternity/code-block
Images BadgeBadge that reveals a stack of images on hovernpx shadcn@latest add @aceternity/images-badge
Images SliderFull-page image slider, keyboard-navigablenpx shadcn@latest add @aceternity/images-slider
KeyboardMac-style keyboard with mechanical key sound effectsnpx shadcn@latest add @aceternity/keyboard
TerminalMac-style terminal with bash syntax highlighting + typewriter effectnpx shadcn@latest add @aceternity/terminal
CoverWraps children with a beam/space hover-reveal effectnpx shadcn@latest add @aceternity/container-cover

Key Takeaways

  1. For headline emphasis, several options exist at different intensities: Colourful Text (subtle), Text Hover Effect (interactive), Text Flipping Board / Typewriter Effect (attention-grabbing) — match intensity to how often the page is revisited (frequent visitors tire of loud effects fast).
  2. Container Text Flip and Flip Words solve the same "cycle through words" job at different scopes — Container Text Flip animates the container width too, Flip Words is text-only.
  3. Code Block depends on react-syntax-highlighter as an additional package beyond the standard Motion stack.

Connects To

  • ch003 (Hero & Scroll Sections): text effects are most often paired with a hero backdrop from ch002/ch003.