astro-splash-hero

1.0.6 • Public • Published

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-hero

Usage ⚙️

---
import SplashHero from 'astro-splash-hero';
---

<SplashHero splashSrc="/mi/ruta/splash.jpg" landscapeSrc="/mi/ruta/landscape.avif" />

Demo

Preview

Note

  • landscapeSrc = Can be any image
  • splashSrc = I recommend that you use a black splash with a white background. Black Splash Examples

Package Sidebar

Install

npm i astro-splash-hero

Weekly Downloads

6

Version

1.0.6

License

MIT

Unpacked Size

1.85 kB

Total Files

3

Last publish

Collaborators

  • dominic_nikolai