Measured entry

animata-hero-section-text-hover

hero-effect3dmotion on file

A React hero card with fixed travel copy, a call-to-action, and hover-triggered emoji bursts around two phrases. It ships as a shadcn registry component and relies on Tailwind utility classes, Lucide React for the map icon, and a local cn helper imported through the project alias.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of animata-hero-section-text-hover at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of animata-hero-section-text-hover at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of animata-hero-section-text-hover at 1440 pixels wide
Harness screenshot at 1440 pixels wide. No horizontal overflow recorded.

Measured

Every value below was written by the harness on the run that produced the frames above. None of it is derived from the prose.

Harness measurements recorded for animata-hero-section-text-hover
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious1
Axe moderate2
Axe minor0
Gzip marginal28.6 KB (94.0 KB build, 65.4 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten from the component source API

What the harness recorded

BARE BUILD

✗ Build failed in 31.71s
error during build:
[vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/components/animata/hero/hero-section-text-hover.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'

Verdict

A focused, playful effect that builds and mounts in the prepared harness, but it needs a shadcn-style setup and does not mount in a bare project. Use it as a starting point only if you can fix contrast and provide a non-hover path to the decorative content.

Use it if

  • You want a playful travel-themed promo card with an obvious call-to-action.
  • Your interface already uses Tailwind, Lucide React, and the usual shadcn utility alias.
  • You are prepared to revise the fixed copy and emoji sets directly in the component.

Skip it if

  • The interaction must work equally well for keyboard and touch users, since the decorative reveal is hover-only.
  • You need an accessibility-clean component without first correcting the flagged text contrast.
  • You need a generic hero driven by props, since the headline, button label, and emoji content are fixed in the source.
  • You want a restrained or formal visual language rather than animated emoji decoration.

Install

Installation record for animata-hero-section-text-hover
Declared dependenciesnone declared
Missing on installnone
Bare installfails once the shadcn-style helpers are removed, so it needs that setup
Providerno provider required in the harness

In a non-shadcn project, add Tailwind and Lucide React, provide a class-name merging helper, then configure the project alias used by the helper import or replace that import with a relative path. Ensure Tailwind scans the component source and preserves its arbitrary utility classes.

Source and credit

This page is a review, not a copy. The component source lives with its author and this site does not republish it. Read the license before you use anything.

Author repository

github.com/codse/animata
License
MIT
Record published
2026-08-13

Alternatives

Other published entries for the hero-effect pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.