Gallery Component (with Shadow DOM)
Component Introduction
A custom Web Component for creating image galleries, supporting multiple image display.
Usage
Place <img> tags inside the <gallery-box> tag, supporting any number of images.
Usage Examples
Gallery Display


HTML Code
html
<gallery-box>
<img src="/images/1.jpg" alt="Image 1">
<img src="/images/2.jpg" alt="Image 2">
</gallery-box>