# `image`

```strand
element image(text? -> source): node
```

A picture by file path (`image "art.png"`, relative to the config
directory) or by icon name, as `icon` finds it. A null source shows
nothing.

It takes no children.

Also every prop and event of [`node`](/reference/elements/node.html.md).

| Prop | Type | |
| --- | --- | --- |
| `fit` | `Fit` | How the image fills its box: `cover`, `contain`, `fill` or `none`. |
