Website / Media
Lightbox
Enlarges media in an overlay.
Live example
Interactive preview using local sample data. Styling is intentionally left to the consuming project.
Usage
// Lightbox usage will be documented here.Adopt to your project
This Website → Media → Lightbox component provides a neutral structural starting point. Adapt local visual presentation through documented props and className without changing its semantic purpose.
Accessibility
Trap focus, support Escape, and restore focus to the trigger.
API reference
| API focus |
|---|
| Open state, selected asset, close handler, captions. |
The preview uses safe local sample data. Check the exported TypeScript types before adapting it to project data.
Installation
Full library
pnpm install:project /absolute/path/to/your-project
Planned guided selection
Website → Media → Lightbox