shaderscn

Search shaders

Jump to a shader or run an action.

All shaders

Lens Distortion Card

Component

An image card with a magnifying lens that follows the cursor.

Installation

npx shadcn@latest add https://shaderscn.com/r/lens-distortion-card.json

Usage

import { LensDistortionCard } from "@/components/lens-distortion-card"

export default function Example() {
  return (
    <LensDistortionCard
      image="/photos/coast.jpg"
      alt="Waves breaking on a rocky coast"
      title="Big Sur"
    />
  )
}