Skip to content

Getting Started

Follow these steps to start using 1thay design system in your project.

The design tokens and component specs are available as a package:

Terminal window
npm install @motthay/1thay
@import '@motthay/1thay/tokens/colors.css';
@import '@motthay/1thay/tokens/typography.css';
@import '@motthay/1thay/tokens/spacing.css';

Components follow a consistent API pattern:

<button class="btn btn--primary btn--md">Get started</button>
  1. Import color tokens for light and dark themes
  2. Set up your typography scale with the provided font stacks
  3. Apply the spacing scale to your layout grid
  4. Start using components from the library