Atelier UI

Search components…

Search components…

Image Overlay Card

Full-bleed gradient photo card whose caption slides up on hover or focus, with tag chips and a corner action.

Edit in sandbox

Copy a prompt for your AI coding tool with the source, dependencies and usage

Props

ImageOverlayCardProps

Also accepts all props of Omit<React.ComponentProps<"div">, "title">

PropTypeDefaultDescription
title* requiredstring——
descriptionstring——
tagsstring[][]—
imageClassNamestring"from-cyan-400 via-blue-600 to-indigo-900"Tailwind gradient utilities standing in for the photo
actionLabelstring"Save"—
onActionChange(active: boolean) => void——

Install

$ npx shadcn@latest add https://chromotion.dev/r/image-overlay-card.json

More like this