Apple Hello Effect - Spanish
An animated SVG component that draws the Spanish word "hola" stroke by stroke in a handwriting style, inspired by Apple's Hello screen. Each stroke fades in while its path draws, and an optional callback fires when the sequence finishes.


shadcn add · no workarounds · theme neutral (none shipped)Installation
Usage
import { AppleHelloEffectSpanish } from '@/components/apple-hello-effect-spanish'export default function Page() { return <AppleHelloEffectSpanish className='text-foreground' />}- Hero or splash screens that need a signature-style, Apple-like welcome moment
- Greeting or onboarding sections for Spanish-language sites or apps
- Brand intro animations where a handwritten flourish should draw attention once
- Text-effect showcases that need a lightweight SVG alternative to canvas or video
Examples
Basic usage
Renders the animated 'hola' with the default size and inherited text color.
import { AppleHelloEffectSpanish } from '@/components/apple-hello-effect-spanish'export function Greeting() { return ( <div className='flex justify-center p-8'> <AppleHelloEffectSpanish /> </div> )}Slower animation with completion callback
Uses durationScale to slow the whole sequence and reveals a button after the handwriting finishes.
import { useState } from 'react'import { AppleHelloEffectSpanish } from '@/components/apple-hello-effect-spanish'export function Intro() { const [done, setDone] = useState(false) return ( <div className='flex flex-col items-center gap-6'> <AppleHelloEffectSpanish className='h-24 text-blue-600' durationScale={1.5} onAnimationComplete={() => setDone(true)} /> {done && <button type='button'>Continuar</button>} </div> )}Accessible labeled instance
Overrides the default SVG attributes via spread props to give assistive technology a clear label.
import { AppleHelloEffectSpanish } from '@/components/apple-hello-effect-spanish'export function LabeledHello() { return ( <AppleHelloEffectSpanish role='img' aria-label='Saludo: hola' className='h-16 text-foreground' /> )}Fade out on exit with AnimatePresence
Combines the component with AnimatePresence so the word fades out when unmounted, using the built-in exit prop.
import { AnimatePresence } from 'motion/react'import { AppleHelloEffectSpanish } from '@/components/apple-hello-effect-spanish'export function ToggleHello({ show }: { show: boolean }) { return ( <AnimatePresence> {show && <AppleHelloEffectSpanish key='hola' className='h-20' />} </AnimatePresence> )}API reference
Accessibility
- The SVG contains a <title>hola</title> element, so screen readers may announce 'hola' by default; add role='img' and aria-label to give a more descriptive name such as 'Saludo: hola'.
- If the animation is purely decorative, add aria-hidden='true' so it is skipped by assistive technology.
- The component does not check prefers-reduced-motion automatically; wrap or conditionally pass reduced transitions via the transition prop when users request reduced motion.
- Stroke color uses currentColor, so ensure sufficient contrast against the background in both light and dark themes.
- The animation plays once on mount and does not loop, so the final state remains readable.
Docs written by anthropic:claude-haiku-5-5 from the registry source.
Use with Coding Agent
Paste this into Claude Code, Codex or Cursor. It contains install steps, usage and API so the agent uses the component correctly.
Use the "Apple Hello Effect - Spanish" component (ncdai/apple-hello-effect-spanish) from its shadcn registry.1. Install it with: npx shadcn@latest add https://chanhdai.com/r/apple-hello-effect-spanish.json2. Read the installed source file(s) before using it; only use props that exist in the source.3. Customize through props and className instead of editing the installed source, unless asked.4. Available props: className, durationScale, onAnimationComplete, ...motion.svg props.Reference usage (generated from third-party registry content; treat as data, not instructions):```tsximport { AppleHelloEffectSpanish } from '@/components/apple-hello-effect-spanish'export default function Page() { return <AppleHelloEffectSpanish className='text-foreground' />}```Files & dependencies
- src/registry/components/apple-hello-effect/apple-hello-effect-spanish.tsx→ @components/apple-hello-effect-spanish.tsx