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/installation.md
View on GitHub- [Elvis Installation](#elvis-installation)
- [1. Install the CSS package](#1-install-the-css-package)
- [2. Register the required CSS](#2-register-the-required-css)
- [3. Add the optional CSS reset](#3-add-the-optional-css-reset)
- [4. Install a web component](#4-install-a-web-component)
- [5. Register the web component](#5-register-the-web-component)
# Elvis Installation
Follow this checklist and check off each step as it is completed:
```markdown
- [ ] Install `@elvia/elvis`
- [ ] Import `@elvia/elvis/css/elvis.min.css` in the global stylesheet
- [ ] If needed, import the optional CSS reset
- [ ] If needed, install the required Elvis web-components
- [ ] If needed, import the web component from the application entry point
- [ ] Verify the component renders correctly
```
## 1. Install the CSS package
Install the CSS component library as an external dependency via the package manager in the current project:
```sh
npm install @elvia/elvis
```
```sh
yarn add @elvia/elvis
```
## 2. Register the required CSS
Import the stylesheet once in your application's global stylesheet:
```css
@import '@elvia/elvis/css/elvis.min.css';
```
## 3. Add the optional CSS reset
If you want a generic CSS reset, add it to your application's global stylesheet:
```css
@import '@elvia/elvis/css/css-reset.css';
```
Be aware that importing the reset in an existing application may break styles that rely on browser defaults.
## 4. Install a web component
If you need an Elvis web component, choose it from the [component catalog](https://design.elvia.io/components)
and install its package as an external dependency via the package manager in the current project:
```sh
npm install @elvia/elvis-<component>
```
```sh
yarn add @elvia/elvis-<component>
```
## 5. Register the web component
Import the component once from your application's entry point. This registers the custom element:
```ts
import '@elvia/elvis-<component>';
```
If your framework requires custom elements to be enabled explicitly, follow its custom-element configuration
guidance. The component itself is framework agnostic and can be used wherever web components are supported.
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 |