sigilUI

Image Preview

Open an image from a clickable thumbnail.

@sigil-ui/componentsReact

Preview

Live preview Interactive

Import

import { ImagePreview } from "@sigil-ui/components";

Usage

<ImagePreview src="https://placehold.co/640x360/png" alt="Placeholder image" className="h-36 w-64" />

CLI

npx @sigil-ui/cli add image-preview

Token Integration

ImagePreview follows the Sigil component rules: styles resolve from var(--s-*), class names are mergeable through className, and the component is exported from @sigil-ui/components.