--- url: /reference/items/FigureShopify/examples.md --- # Examples ## Simple This is a simple example using a 1 × 1 pixels transparent PNG as a placeholder. :::code-group ```js import { registerComponent } from '@studiometa/js-toolkit'; import { FigureShopify } from '@studiometa/ui'; registerComponent(FigureShopify, 'Figure'); ``` ::: ## Blurred placeholder This example uses a small sized image with a maximum width of 10 pixels with a blur backdrop-filter as a placeholder. :::code-group ```js import { registerComponent } from '@studiometa/js-toolkit'; import { FigureShopify } from '@studiometa/ui'; registerComponent(FigureShopify, 'Figure'); ``` ::: ## Advanced reveal :::code-group ```css html { background-color: #f1c092; } html.dark { background-color: #a76844; color: #eee; } body { padding: 1rem; } ``` :::