Brutal image frame
A thick ink border, a hard shadow and a caption bar in capitals.

Customize
Props
Ratio
Installation
npx shadcn@latest add https://skinsui.dev/r/frame-brutal.jsonUsage
usage.tsx
import { Frame } from "@/components/skins/frame-brutal";<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
| Prop | Type | Default | Description |
|---|---|---|---|
| src | string | None | The photo. |
| alt | string | None | Describes the photo. Use an empty string when it is only decoration. |
| caption | string | None | A short line under the photo. Leave it empty for none. |
| ratio | "landscape" | "square" | "portrait" | "landscape" | 4 by 3, 1 by 1 or 3 by 4. The photo is cropped to fit. |
- srcNone
stringThe photo.
- altNone
stringDescribes the photo. Use an empty string when it is only decoration.
- captionNone
stringA 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.