# Image

## Usage

You place `<script>` to `<head>` in the below like.

```html
<script src="https://unpkg.com/comph/dist/image/register.js"></script>
```

That's all. After that, just use `<img is="img-placeholder>` element in `<body>`.

```html
<img is="img-placeholder" width="150" height="150" color="#ccc" />
```

The element has three attributes what is `width`, `height` and `color`. In the above element is one when the each attributes set by default.

## CodeSandbox

[![Edit static](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/nju33/comph/tree/codesandbox%2Fimage/?fontsize=14&hidenavigation=1&theme=dark)
