Components general

TextReveal

Direction‑based text animation triggered on scroll. The text slides in from a configurable direction (up, down, left, or right) with a blur‑to‑sharp transition. It is a high‑impact animation best used on section headings for professional landing pages.

Actualizado Mar 6, 2026

TextReveal

Direction‑based text animation triggered on scroll. The text slides in from a configurable direction (up, down, left, or right) with a blur‑to‑sharp transition. It is a high‑impact animation best used on section headings for professional landing pages.

Use Cases

  • Section headings on landing/home pages (most common)
  • Hero heading text with dramatic reveal
  • Heading before StickyScroll sections (omit StickyScroll heading to avoid duplicates)
  • Call‑to‑action section headings
  • Feature section titles

Properties

text

The text to animate. Keep concise (3-10 words for best impact). Type: string.

direction

Direction the text slides in from. Type: string. Options: up, down, left, right. Default: up.

Tip: Standard – up (most common, default, works everywhere). Dramatic – left or right (slides in from side with blur, great for alternating headings). Emphasis – down (unexpected direction, draws extra attention).

tag

HTML tag for the text. Use h2 for section headings, h1 for hero only. Type: string. Options: h1, h2, h3, h4, h5, h6, p, span. Default: h2.

duration

Duration of the animation in seconds. 0.5 is snappy, 1.0 is smooth and dramatic. Type: number. Default: 0.5.

threshold

Trigger when % of element is visible (0-1). 0.3 = reveals when 30% visible. Type: number. Default: 0.3.

triggerOnce

Trigger once (true) or repeat on scroll out/in (false). Usually true. Type: boolean. Default: true.

textAlign

Text alignment. Center for section headings, left for hero. Type: string. Options: left, center, right. Default: center.

customCss

Custom CSS for styling (font-size, font-weight, padding, margin, color). Type: string.

Best Practices

  • Use on 2-4 section headings per landing page for maximum impact
  • Pair with ScrollReveal on the content below for cohesive flow
  • Use customCss for font-size, font-weight, padding, and text-align
  • When placed before StickyScroll, OMIT StickyScroll heading/subheading to avoid duplicates
  • Use tag='h2' for section headings, tag='h1' only for hero
  • Keep text concise — 3-10 words works best for dramatic reveals
  • Alternate directions for adjacent TextReveal components (left, then right) for visual variety
  • NEVER use on navigation, footers, forms, or non‑heading text

Common Mistakes

Using TextReveal before StickyScroll without omitting StickyScroll heading

Why it's a problem: Creates duplicate headings — TextReveal IS the heading

Fix: When using TextReveal before StickyScroll, omit StickyScroll heading and subheading

Using TextReveal on long paragraphs

Why it's a problem: Long text sliding in from the side looks awkward and takes too long

Fix: Keep text to 3-10 words. Use on headings only, not body text.

Using the same direction for every TextReveal on the page

Why it's a problem: Repetitive — loses visual impact after the first one

Fix: Alternate directions: first heading 'left', second 'right', third 'up' for variety

Etiquetas

textreveal animations section headings hero heading before

Componentes relacionados

¿Listo para crear?

Comienza a crear tu aplicación de forma gratuita con Qödiak.

Comenzar gratis

Artículos relacionados

AnimatedGradient

Smooth animated gradient background for modern, premium aesthetics. Supports linear and radial gradients with configurable colors, animation speed, and intensity. GPU‑accelerated for smooth 60fps performance.

Button

Interactive button component that supports link navigation, page data source operations (record navigation, new record, mode switching), form submission, and custom JavaScript execution. Save/Delete actions must use a custom‑script with navigation. Two visual variants are available, and the button can be enabled or disabled dynamically based on data context.

Calendar

A full‑featured calendar component built with react‑big‑calendar. It can display events in month, week, day, or agenda views and includes navigation and view‑switching capabilities, making it suitable for any site that needs scheduling, event management, or date visualization.

Card

Feature card component with an icon, title, description, and entrance animations. Ideal for showcasing features, services, or benefits in grid layouts with animation support.

Checkbox

A checkbox group component that lets users select multiple options from a predefined list. It renders a set of checkboxes with individual labels and can be arranged vertically or horizontally.

CountdownTimer

Real-time countdown timer component that displays the time remaining until a target date/time. It updates every second, offers customizable formatting, and shows a completion message when the countdown ends. Suitable for any site type.