Data display / Placeholder

Data display

Placeholder

A hatch for space that is empty, and the captioned viewport a scanned page sits in.

import { EcoPlaceholder } from "vue-ecosphere"

ph — at three sizes

A hatch reads as “nothing is here”; a grey box reads as “something is loading”. Use Skeleton for the second.

scan — a viewport with its caption plate

The caption sits on an ink plate so white text clears 4.5:1 over a photographed page.

Scanned sheet · page 2 of 4 · question 3 and 4

API

NameTypeDefaultDescription
width / heightstring—CSS size. Omit to let the layout size it.
radiusstring—CSS border radius, e.g. var(--r-md).
captionstring—Render the scan viewport (300px minimum) with this caption plate. Name the page and question.