Skip to content

Guides

Set up WovenUI core in your framework with one configured partial. Each component compiles to its own rules, and the markup and the SCSS share one vocabulary.

Setup

  • No framework

    Vite

    Only sass installed. The global stylesheet loads in main.js, no Vite configuration.

  • Vite

    React

    Only sass installed. The global stylesheet loads in main.tsx, components use CSS modules.

  • App Router

    Next.js

    Only sass installed, no change to next.config.ts, under Turbopack or webpack.

  • Vite

    Vue

    Only sass installed. Components use scoped SCSS blocks.

  • Vite

    Svelte

    Needs sass and vitePreprocess, which the Vite Svelte template already sets.

  • Static or server

    Astro

    Only sass installed, no change to astro.config.mjs. The shared layout loads the stylesheet.

  • Sass CLI or prebuilt CSS

    Plain HTML

    Nothing to install for the prebuilt stylesheet. The sass command line compiles your own configuration.

  • PurgeCSS

    Remove unused CSS with PurgeCSS

    Adds PurgeCSS to the React with Vite setup and ships only the classes your markup uses.

Looking for ready-made UI?

Copy-paste HTML blocks and full templates built with WovenUI: cards, navbars, form fields, a dark mode toggle, a dashboard layout, a pricing table, a mail client and team settings, in light, dark, high contrast and right to left.