astro-splash-hero
v1.0.6
Published
Componente Astro SplashHero
Maintainers
Readme
astro-splash-hero
Componente simple para un efecto de splash para un Hero
Installation 📖
# You can intall with npm
npm install astro-splash-hero
# or with yarn
yarn add astro-splash-hero
# or with pnpm
pnpm add astro-splash-heroUsage ⚙️
---
import SplashHero from 'astro-splash-hero';
---
<SplashHero splashSrc="/mi/ruta/splash.jpg" landscapeSrc="/mi/ruta/landscape.avif" />Demo

Note
- landscapeSrc = Can be any image
- splashSrc = I recommend that you use a black splash with a white background.

