-
Notifications
You must be signed in to change notification settings - Fork 5
Extensions Text Reveal
Compatible With: Paragraphs and Headings (core/paragraph, core/heading) Since: 1.3.0 Status: Production Ready
The Text Reveal Extension adds a scroll-triggered text color reveal effect that simulates natural reading progression. As users scroll, text progressively changes color from left-to-right, creating an engaging reading experience.
Features:
- Scroll-triggered color animation
- Word or character split modes
- Configurable reveal color via theme palette
- Adjustable transition speed
- Respects
prefers-reduced-motionaccessibility setting - Performance-optimized with Intersection Observer
- Select any Paragraph or Heading block
- Open the block settings sidebar
- Find the Text Reveal panel
- Toggle Enable Text Reveal to ON
- Choose your reveal color from the Colors panel (under "Text Reveal > Reveal Color")
- Configure split mode and transition speed as needed
Toggle the scroll-triggered reveal effect on or off.
Choose how text is divided for the animation:
- Word (default): Each word reveals individually - smoother, more natural reading flow
- Character: Each character reveals individually - more dramatic effect, best for short headings
How fast each word/character transitions to the reveal color:
- Fast (100ms): Quick, snappy transitions
- Normal (150ms): Balanced timing (default)
- Slow (250ms): Deliberate, elegant transitions
- Very Slow (400ms): Dramatic, cinematic effect
- Custom: Use the slider for precise control (50ms - 500ms)
Set in the Colors panel (appears when Text Reveal is enabled):
- Choose from your theme's color palette
- Use custom colors via the color picker
- The text transitions FROM your default text color TO this reveal color
Apply to your main headline with character split mode for maximum impact:
"Welcome to the Future" - reveals character by character as users scroll
Use word split mode on your opening paragraph to draw readers into the content.
Highlight important text that should capture attention as users scroll.
Make your CTA copy more engaging with progressive color reveal.
DO:
- Use on important content you want users to focus on
- Choose a reveal color with good contrast against your background
- Keep transitions reasonable (150-250ms feels natural)
- Test on mobile devices to ensure readability
- Use word mode for body text, character mode for short headlines
DON'T:
- Apply to every paragraph (causes fatigue)
- Use colors with poor contrast
- Combine with other text animations (visual overload)
- Use character mode on long paragraphs (too slow to reveal)
- Ignore accessibility - always test with reduced motion enabled
The Text Reveal extension respects the prefers-reduced-motion media query:
- When enabled, text displays in the reveal color immediately without animation
- Screen readers receive the full text content regardless of scroll position
- All text remains readable even before/during animation
- Uses CSS transitions for smooth, performant animations
- IntersectionObserver API for efficient scroll detection
- Text is split into spans with ARIA attributes for accessibility
- Falls back gracefully if JavaScript is disabled (shows text in reveal color)
- CSS variables control timing and colors
- Clean up functions prevent memory leaks
- Ensure the block is a Paragraph or Heading block
- Verify "Enable Text Reveal" is toggled ON
- Check that you've set a reveal color
- Scroll the page - effect only triggers when scrolling
- Adjust the transition speed to match your content
- For long text, use "Word" mode
- For short headlines, try "Character" mode
- Open the Colors panel in block settings
- Look for "Text Reveal > Reveal Color"
- Select a color from your palette or use custom
- Test with browser "reduce motion" setting enabled
- Ensure sufficient color contrast between original and reveal colors
- Verify text is readable in both states
Auto-generated from
docs/extensions/TEXT-REVEAL.md. To update, edit the source file and changes will sync on next push to main.
- Accordion
- Blobs
- Breadcrumbs
- Card
- Comparison Table
- Countdown Timer
- Counter Group
- Divider
- Flip Card
- Form Builder
- Grid
- Icon
- Icon Button
- Icon List
- Image Accordion
- Map
- Modal
- Modal Api Reference
- Modal Auto Triggers
- Modal Fse Compatibility
- Modal Gallery Navigation
- Modal Next Phase
- Modal Performance Fixes
- Modal Security Audit
- Modal Security Fixes Summary
- Modal Trigger
- Pill
- Progress Bar
- Reveal
- Row
- Scroll Accordion
- Scroll Gallery
- Section
- Slider
- Table Of Contents
- Tabs
- Timeline
- Animation
- Background Video
- Block Animations
- Clickable Group
- Custom Css
- Expanding Background
- Grid Mobile Order
- Grid Span
- Max Width
- Responsive Visibility
- Reveal Control
- Scroll Parallax
- Sticky Header
- Text Alignment Inheritance
- Text Reveal
- Ai Assisted Development
- Best Practices Summary
- Block Controls Organization
- Block Development Best Practices Comprehensive
- Block Exclusion Guide
- Control Reorganization
- Design System
- Wordpress Block Editor Best Practices
- Color Controls Pattern
- Custom Css Filters
- Performance Css Strategy
- Width Css Strategy Implementation
- Width Layout Patterns
- Antigravity Audit
- Card Block Audit
- Claude Audit
- Comprehensive Audit
- Cursor Audit
- Scroll Accordion Stacking Notes
- Security Review 1.2.1
- 2026 02 11 Icon Search Aliases Design
- 2026 02 14 Overlay Header Design
- 2026 02 15 Deactivation Block Migrator Design