Skip to main content

Installation

Get started with Stowlog UI in your React project.

Requirements

  • React 19 or later
  • Tailwind CSS v4 or later
  • Node.js 20 or later
  • Supported setups: Next.js 15+, Vite 5+, TanStack Start — other setups work too, the CLI will ask you what to wire up

The Stowlog UI CLI handles everything automatically — dependencies, CSS imports, bundler wiring, and configuration.

  1. 1

    Run the initializer

    Run the CLI from your project root. No global install required.

  2. 2

    What the CLI does for you

    The CLI detects your setup and handles everything:

    • Detects your framework — Next.js, Vite, TanStack Start, or asks if it can't tell
    • Installs @stowlog/ui and its peer dependencies
    • Wires the right Tailwind v4 bundler plugin — @tailwindcss/postcss for Next.js, @tailwindcss/vite for Vite and TanStack Start
    • Adds the correct CSS imports to your framework's CSS entry file, in the right order

    Your CSS entry file will end up looking like this:

  3. 3

    Start using components

    That's it. Import and use any component: