Skip to main content

Installation

Set up Yumma UI in a Vite or Next.js project.

View as Markdown
Yumma UI

What is Yumma UI?

Accessible React components built on Base UI & styled with Yumma CSS. You copy each one into your project & own every class.

Getting started

Components are copied in, not installed, and init sets up Yumma CSS in a Vite or Next.js project.

  1. 1

    Create project

    Start a React project with Vite, or with Next.js.

  2. 2

    Run init

    init detects your project, asks where components live, then installs & configures Yumma CSS for you.

  3. 3

    Add components

    Name a component, or run add on its own to search the list. Anything a component needs from npm, such as @base-ui/react, is installed with it.

    Each component lands as a single file you own.

Default configuration

yummacss.config.mjs holds the states, curves & keyframes the components animate with, and the colors they paint with, light & dark.

yummacss.config.mjs

Icons

Icons come from Tabler Icons, MIT.