Skip to main content
Root UI is a clean, friendly library in green and deep teal, for SaaS and business sites. It works in any project with Tailwind CSS, such as Next.js, Astro, React or plain HTML. Tailwind Setup shows where these files go, or how to let your AI add them.

1. Theme file

Save this as root-ui.theme.css next to your main CSS file, then add the import line right below @import "tailwindcss";:
app.css
root-ui.theme.css

2. Font

Add this to your layout’s <head>:
index.html
Prefer other fonts? Change --font-sans and --font-heading in the theme file.

3. Motion file (optional)

Sections look complete without it. It adds fades as you scroll, counting numbers, tab switching and slider arrows. Save it as root-ui.runtime.js in your public folder and load it on every page. Tailwind Setup shows how for Next.js, Astro, React and more. In plain HTML:
index.html
root-ui.runtime.js