UIPin
ComponentsIconsIllustrationsMotionTemplatesApps
Boards
UIPin

Free, open-source UI components, icons, illustrations, motion, templates and apps, in one search. Every item links to its source and licence.

UIPin is free. If it saved you time, you can keep it running:

Buy me a coffee
ComponentsIconsIllustrationsMotionTemplatesAppsLibrariesCompareNew this weekMCP for agentsBoardsPrivacy

Components, icons and artwork belong to their authors and are shown under their open-source licences.

Cult UI/Edge Blur

Cursor & effects
1 of 5
Compiling

Theme it

Every preview, live

Brand colour

Corner radius

Font

Recolours shadcn’s tokens, Tailwind’s accent colours and colours set in the code. Red, amber and green classes stay, since they usually mean error, warning or success.

5 versions·3 libraries

  • Edge Blur
  • Shader Lens Blur
  • Magic UI
  • Gradual Blur
  • Shape Blur

Edge Blur

Stacked backdrop-blur layers with a gradient mask for soft top or bottom screen edges

npx shadcn@latest add https://cult-ui.com/r/edge-blur.json
Open in v0 Docs Repo
Library
Cult UI
License
MIT
Stack
React · Tailwind CSS
Size
42 lines
Demo
From Cult UI

Code

registry/default/ui/edge-blur.tsx

"use client"

interface EdgeBlurProps {
  position?: "top" | "bottom"
  height?: number
}

export function EdgeBlur({ position = "bottom", height = 75 }: EdgeBlurProps) {
  const blurLayers = [1, 2, 3, 6, 12]

  const isTop = position === "top"

  return (
    <div
      className={`pointer-events-none fixed inset-x-0 isolate z-40 ${isTop ? "top-0" : "bottom-0"}`}
      style={{ height }}
    >
      {blurLayers.map((blur) => (
        <div
          key={blur}
          className="absolute inset-0"
          style={{
            backdropFilter: `blur(${blur}px)`,
            WebkitBackdropFilter: `blur(${blur}px)`,
            maskImage: `linear-gradient(to ${isTop ? "bottom" : "top"}, black, transparent)`,
            WebkitMaskImage: `linear-gradient(to ${isTop ? "bottom" : "top"}, black, transparent)`,
          }}
        />
      ))}
    </div>
  )
}

// Convenience exports for specific positions
export function TopBlur({ height = 75 }: { height?: number }) {
  return <EdgeBlur position="top" height={height} />
}

export function BottomBlur({ height = 75 }: { height?: number }) {
  return <EdgeBlur position="bottom" height={height} />
}

More like this

Footer 3

SmoothUI·Navigation

Loading Carousel

Cult UI·Feedback & loaders

Features 1

SmoothUI·Cards

Message scroller

HextaUI·Buttons

Cool Mode

Magic UI·Buttons

Testimonials 3

SmoothUI·Cards

Scroll Index

Kokonut UI·Text effects

Marker

HextaUI·Other

Label

shadcn/ui·Inputs & forms

Faq 2

SmoothUI·Data display

Poll Widget

Cult UI·Inputs & forms

Minimal Card

Cult UI·Cards

Bento Grid

Magic UI·Cards

Dither Image

Cult UI·Backgrounds

Faq 1

SmoothUI·Data display