Skip to content

Getting Started

This guide will help you quickly set up and start using Alto in your project. Follow these instructions below.

Installing the package

Install the @youcan/alto package:

Using NPM

bash
  npm install @youcan/ui-core @youcan/alto

Using Yarn

bash
  yarn add @youcan/ui-core @youcan/alto

Using PNPM

bash
  pnpm install @youcan/ui-core @youcan/alto

Using Bun

bash
  bun install @youcan/ui-core @youcan/alto

Including the styles

Include the necessary YouCan UI tokens and styles in the top level of your application:

js
import '@youcan/ui-core/tokens';
import '@youcan/alto/style';