Skins UI

Neumorph image frame

A soft raised panel with the photo pressed into a well in its face.

A pine tree on a rock in a still pool, inside a concrete courtyard in the rain
Courtyard, after rain

Customize

Props
Ratio

Installation

npx shadcn@latest add https://skinsui.dev/r/frame-neumorph.json

Usage

usage.tsx
import { Frame } from "@/components/skins/frame-neumorph";<Frame  src="https://assets.wensity.com/photos/architecture-interiors/concrete-water-courtyard.webp"  alt="A pine tree on a rock in a still pool, inside a concrete courtyard in the rain"  caption="Courtyard, after rain"/>

Props

  • srcNone
    string

    The photo.

  • altNone
    string

    Describes the photo. Use an empty string when it is only decoration.

  • captionNone
    string

    A short line under the photo. Leave it empty for none.

  • ratio"landscape"
    "landscape" | "square" | "portrait"

    4 by 3, 1 by 1 or 3 by 4. The photo is cropped to fit.