Skip to content
How-To

Installation

Add Atelier UI to an existing app — package commands for npm, pnpm, and yarn, plus the one-line token import that wires up dark mode and theming.

Three-step installation flow First install the package, which updates package.json. Second import the token stylesheet into global CSS. Third import components into your code. Result: tree-shakeable UI ready to use. STEP 1 Install package Adds dependency to package.json STEP 2 Import tokens Adds CSS variables to styles.css STEP 3 Import components Tree-shakeable named imports import { Llm… } from … Ready to build
Each step produces the artifact the next step consumes. No config files, no bundler plugins.

1. Install the package

Terminal window
npm install @atelier-ui/angular

2. Import design tokens

Add the token stylesheet to your global styles file:

src/styles.css Referenced automatically by angular.json under architect.build.options.styles.
@import '@atelier-ui/angular/styles/tokens.css';

CSS Variables

Atelier UI uses CSS custom properties for all design tokens, enabling dynamic theme switching between light and dark mode with zero JavaScript.

3. Import components

Import only the components you need — all are tree-shakeable tree-shakeable A package where the bundler can statically remove unused exports from your final bundle — so importing only LlmButton does not pull in LlmDialog code. Requires ES module imports (`import { … } from`). CommonJS `require` usually defeats it. :

any standalone component .ts file Import into the component where you need it and add to the imports array — standalone, no NgModule registration.
import {
LlmButton, LlmCard, LlmInput, LlmTextarea,
LlmCheckbox, LlmToggle, LlmBadge, LlmAlert,
LlmSelect, LlmOption, LlmDialog, LlmTabGroup,
LlmTab, LlmAccordionGroup, LlmMenu, LlmMenuItem,
LlmTooltip, LlmToast, LlmSkeleton, LlmAvatar
} from '@atelier-ui/angular';

Why this list: Toasts are shown via LlmToast on a host element; an injectable LlmToastService triggers them. No Provider tree needed — Angular DI handles it.

What's included

  • 25+ components with identical APIs across Angular, React, and Vue
  • CSS custom property token system — no runtime dependency
  • Dark and light mode built in
  • WCAG AA accessible defaults
  • LLM-optimized flat APIs — no deep nesting
  • MCP server for AI-assisted component discovery