Beginner-Friendly Docs · v0.2.8

FUTURE UI SYSTEM.

Everything you need to start building modern, animated React & Next.js interfaces from scratch. 91 free CLI components, 304+ animated icons, and 10 named color keys that work the same way everywhere.

How Future UI Works (Plain & Simple)

Future UI is designed so even a beginner can go from an empty project to a polished interface in minutes. Everything follows three simple principles:

1. Full Code Ownership

You don't install a heavy UI package. Our CLI copies clean .tsx files directly into your src/components/ui folder so you own and can edit every line.

2. Built-in Motion & Dark Mode

Every interactive component comes with smooth Framer Motion animations, Tailwind CSS 4 styling, and dark/light mode out of the box.

3. Shared Props Everywhere

Instead of memorizing different CSS classes for every button or card, components share easy props: variant, color, shape, and spacing.

91 free CLI components + 304+ animated icons
10 named color keys on every UI component
Same clean props across buttons, cards, forms & overlays
Full page sections ready to paste (navbar, pricing, FAQ, footer)
Smooth Framer Motion physics & Radix UI accessibility
Zero runtime lock-in — your source code lives in your project

Before You Start (Checklist)

Make sure your app already has these three things ready (a standard Next.js + Tailwind project already comes with them):

  • 1. Node.js 18 or newer

    Required so the npx futureuikit terminal tool can download files.

  • 2. React 19 / Next.js

    Works great with Next.js App Router, Pages Router, or React + Vite.

  • 3. Tailwind CSS 4

    All styles, colors, and light/dark themes use standard Tailwind classes.

Step-by-Step Setup & Installation

You can add Future UI to your project in under two minutes using the CLI. Just follow these 3 steps in your project's terminal:

Step 1: Prepare your project (Run once)

Run init inside your project folder. It automatically detects your setup (src/ or root), adds the cn() helper in lib/utils.ts, and adds Future UI's color variables to globals.css:

tsx
npx futureuikit init

Step 2: See what components are available (Optional)

Want to see all 91 free component names right in your terminal? Run:

tsx
npx futureuikit list

Step 3: Add any component by its name (slug)

Pick a component from the Components Gallery and run add. The CLI copies the file into your project and automatically installs any npm packages it needs (like framer-motion). For example, to install primary (Primary Button):

tsx
npx futureuikit add primary

Prefer Manual Copy & Paste?

Every component page has a Code tab next to its live preview. You can copy the exact .tsxsource code and paste it directly into your project whenever you don't want to use the CLI.

Named Color Keys & Simple Props

Future UI components use 10 named color keys and predictable styling props so you never have to guess CSS class names.

1. The 10 Named Color Keys

Pass any of these exact lowercase names to the color prop. If you omit color, it automatically uses "default"(clean Black & White for light and dark mode):

"default"Black & White (Default)
"blue"Blue
"emerald"Emerald
"rose"Rose
"amber"Amber
"violet"Violet
"indigo"Indigo
"sky"Sky
"slate"Slate
"orange"Orange

2. Shared Style Props

variant

Changes the look—typically "solid", "outline", "ghost", or "link" (or "primary" / "secondary" on PrimaryButton).

shape

Controls corner roundness: "default", "square", "rounded", or "sharp".

spacing

Adjusts inner padding & scale: "default", "2x", "4x", "6x", or "8x".

Using Variants & Named Colors

Pass variant, color, and shape props directly on any component:

tsx
<Button variant="solid" color="indigo">Indigo Action</Button>
<Button variant="outline" color="emerald">Emerald Outline</Button>
<PrimaryButton variant="primary" color="violet" shape="rounded">Violet Primary</PrimaryButton>

Want a Custom Hex or RGB Color?

Because you own the component code, you can also pass any Tailwind utility classes via className to override colors or styles. Special effects like BasicLoader, GlowyButton, and Highlighter also accept a customColor prop for hex/RGB strings:

tsx
<PrimaryButton className="bg-[#6366f1] text-white hover:bg-[#4f46e5]">Custom Hex</PrimaryButton>
<BasicLoader color="emerald" customColor="rgb(16, 185, 129)" />

Animated Icons (futureuikit/icons)

Want our 304+ animated SVG icons in your project? Install the package once and import any icon just like lucide-react:

tsx
npm install futureuikit
tsx
import { GithubIcon } from "futureuikit/icons";

export function SocialLink() {
  return <GithubIcon size={20} />;
}

Feedback & Toasts (Popup Alerts)

Future UI includes a toast notification system built with Radix UI and Framer Motion. It takes two quick steps to enable popup notifications across your entire app:

1. Install & Place <Toaster /> in your Root Layout

First run npx futureuikit add toast, then put <Toaster /> once inside your root app/layout.tsx so popups can appear on every page:

tsx
// app/layout.tsx
import { Toaster } from "@/components/internal/toaster";

export default function RootLayout({ children }: { children: React.ReactNode }) {
  return (
    <html>
      <body>
        {children}
        <Toaster />
      </body>
    </html>
  );
}

2. Trigger a Toast from any Button or Action

Call useToast() inside any client component to show a notification:

tsx
import { useToast } from "@/hooks/use-toast";

export default function MyComponent() {
  const { toast } = useToast();

  return (
    <button
      onClick={() => {
        toast({
          title: "Success!",
          description: "Your changes have been saved.",
          position: "bottom-right",
        });
      }}
    >
      Show Toast
    </button>
  );
}

License & Privacy

Free Core + Affordable Pro

91 core components & 304+ icons are 100% free (MIT).

All open-source registry components are released under the MIT License for personal, educational, or commercial projects. Flagship paid components are available through affordable monthly and yearly Premium plans.

Privacy Policy

We believe in a "Privacy by Design" philosophy. Future UI does not track you, collect your data, or use cookies. When you use the CLI, we only fetch the necessary component code from our public registry. Your code stays yours, and your project remains private.