Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

slick-image-compare-astro

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slick-image-compare-astro

an astro component for the slick-image-compare library

latest
npmnpm
Version
0.0.4
Version published
Maintainers
1
Created
Source

MIT License

slick image compare astro

astro logo
this is the astro component
of the slick image compare plugin.

Docs

Read the documentation >>

tl;dr

install the package

pnpm add slick-image-compare-astro

use it in your code

---
import ImageCompare from 'slick-image-compare-astro';

// images to be used for the compare slider
import before from '../images/01_before.png';
import after from '../images/01_after.png';
---

<h1>My demo site</h1>

<ImageCompare
  beforeImage={before}
  afterImage={after}
  beforeLabel="before"
  afterLabel="after"
/>

Keywords

astro-component

FAQs

Package last updated on 26 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts