Getting Started

Get started with Paga UI

Prerequisite

Before you start, ensure that your Panda project is set up and ready to go. If not, please refer to the Panda CSS Getting Started Guide and once you’ve completed that, come back to this guide.

Install Paga UI Presets

The next package you will need is @paga/preset. This package contains all the recipes and tokens explicitly built for Paga UI components.

npm i @paga/preset -D

After you’ve installed the presets, you’ll need to add it to your Panda configuration file along with your preferred jsxFramework like shown below:

import { defineConfig } from '@pandacss/dev'

export default defineConfig({
  preflight: true,
  presets: ['@pandacss/dev/presets', '@paga/preset'],
  include: ['./src/**/*.{js,jsx,ts,tsx,vue,astro}'],
  exclude: [],
  outdir: 'styled-system',
})