DULightbox

Components

Fullscreen image viewer.

import { DULightbox } from 'deri-ui';
Live preview
typescript
<DULightbox open={open} onClose={close} src="/img.jpg" caption="Shot" />

Props

PropTypeDefaultDescription
open / onCloseboolean / fnVisibility
src / alt / captionstringMedia

Usage

import { DULightbox } from 'deri-ui';

<DULightbox open={open} onClose={close} src="/img.jpg" caption="Shot" />

Customize with className, radius, and Tailwind utilities. Theme tokens come from deri-ui/tailwind.preset.

Related

© 2026 Deri Ui. Developed by Deribew Shimelis. Copy and use the code freely in your projects.