3lvia/designsystem / skills/elvia-design-system
elvia-design-system
VerifiedReference for UI components and patterns in Elvia's design system ("Elvis"). Covers component- and pattern-specific guidelines for sizing, color tokens for custom UI, types, ordering, labeling, accessibility attributes, CSS setup, and web-component registration. Use when building, reviewing, or fixing UI in an Elvia frontend, even if the request doesn't name Elvia or the CSS classes explicitly (e.g. "add a save button", "make this icon bigger", "add a tooltip").
references/content-loader.md
View on GitHub- [Content Loader (`e-content-loader`)](#content-loader-e-content-loader)
- [Reference](#reference)
- [Installation](#installation)
- [Use](#use)
- [Classes](#classes)
- [Guidelines](#guidelines)
- [When to use](#when-to-use)
- [When not to use](#when-not-to-use)
- [Accessibility](#accessibility)
- [Examples](#examples)
# Content Loader (`e-content-loader`)
## Reference
https://design.elvia.io/components/content-loader
Content Loader is a CSS-based component, consisting of only CSS classes.
## Installation
Install the CSS package `@elvia/elvis`. See [Elvis Installation](./installation.md).
## Use
```html
<div class="e-content-loader"></div>
```
## Classes
Classes use BEM.
Base: `e-content-loader`
**Modifiers**
- `e-content-loader--circle`
- `e-content-loader--short`
- `e-content-loader--text`
## Guidelines
### When to use
- Use placeholders that match the expected content shape and page layout.
- Set the width and height of a box placeholder to match its content area. The default size is 260px by 260px.
- Set the height of a text placeholder when the expected line height differs from 24px.
- Use `e-content-loader--short` with `e-content-loader--text` to shorten a text row to 70% width.
### When not to use
- Use a progress indicator when the content layout is unknown.
## Accessibility
- Add `aria-live` to content that updates after loading.
- Set `aria-busy="true"` until updates finish.
## Examples
**Input:** A 170px square content area is loading.
**Output:**
```css
.content-loader-size {
width: 170px;
height: 170px;
}
```
```html
<div class="e-content-loader content-loader-size"></div>
```
**Input:** A circular content area is loading.
**Output:**
```html
<div class="e-content-loader e-content-loader--circle"></div>
```
**Input:** Three text rows are loading. Shorten the final row.
**Output:**
```html
<div class="e-content-loader e-content-loader--text"></div>
<div class="e-content-loader e-content-loader--text"></div>
<div class="e-content-loader e-content-loader--text e-content-loader--short"></div>
```
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |