Sk.Number
Single-line numeric value placeholder. When generated, height is set to the element's font-size (visual bar) and outerHeight to the full bounding-box height (layout stability).
Live preview
<Sk.Number />
<Sk.Number width={40} height="20px" outerHeight="28px" />
Usage
<Sk.Number />
<Sk.Number width={60} />
<Sk.Number width={28} height="16px" outerHeight="24px" /> // auto-generatedProps
| Prop | Type | Default | Description |
|---|---|---|---|
width | number | 80 | Width of the bar |
height | number | string | '1em' | Visual bar height (set to font-size by analyzer) |
outerHeight | string | — | Outer container height for layout stability (set to bounding-box height by analyzer) |
className | string | — | Extra CSS class |