# PictureComponent

A screenshot, a map preview or an item shown large, with the theme's frame.

```java
add(new PictureComponent(at(new Box("shot", 10, 10, 160, 100)), Picture.of(shot).caption("Spawn, day 1"))
        .zoomable(true));
add(new PictureComponent(at(new Box("sword", 180, 10, 48, 48)), Picture.item("minecraft:diamond_sword")));
```

## Variants

- Cover

Page: https://minuit.dryaides.com/components/picture.html
