Open Source · React + TypeScript

    Build Forms, Tables
    & Boards Visually

    A complete React component system with five visual builders — forms, tables, kanban, trees, and schemas — plus a 17-type chart library, a drag-and-drop engine with no third-party dependency, a live theme lab, and a CLI that writes production TypeScript straight into your project. Built on Radix UI and Tailwind CSS v4.

    Install with:
    npx afnoui init

    Sets up Tailwind CSS v4, CSS variables, the cn helper, and the base design system. Add --dnd to include the drag-and-drop engine up front.

    350+

    Variants

    30+

    Components

    17

    Chart types

    9

    DnD patterns

    6

    Engine systems

    CLI

    Install Into Your Project

    Pick your package manager, then browse the commands by what you are trying to do. Source is written into your project — never added as a runtime dependency.

    Get AfnoUI into your project

    Three commands take you from an empty project to components you own the source of. Run them in order the first time.

    Initialize the design system
    npx afnoui init

    Scaffolds afnoui.json, sets up Tailwind CSS v4, CSS variables, and the cn helper. Add --dnd to include the drag-and-drop engine up front.

    Add UI components
    npx afnoui add button card dialog tabs

    Writes component source, types, and variants into your project. Nothing becomes a runtime dependency.

    Add a single variant
    npx afnoui add button/variants

    Pull one variant instead of a whole component — styles, sizes, states, and layout presets.

    Flags that work on any command

    Append these to any command above.

    --dry-run

    Preview every write and install without touching disk or your package manager.

    --force

    Overwrite managed files even where you have edited them.

    --debug

    Print stack traces, registry fetch URLs, and the detected package manager.

    Your edits stay yours

    AfnoUI records a hash of every file it writes in afnoui.json. If you have changed one of those files since, a re-install stops and asks before touching it — and only --force overwrites. Files AfnoUI never wrote are left alone entirely.

    Every command, flag, and example in one place:

    npx afnoui help

    Everything You Need

    Five visual builders, a chart library, a drag-and-drop engine, and a themeable component set — one registry behind all of it.

    Visual Form Builder

    Drag-and-drop form builder with 25+ field types including async, infinite scroll, and combobox variants. Export production-ready React + TypeScript for React Hook Form, TanStack Form, or Action Form.

    25+ Fields
    3 Form Stacks
    Export Code

    Table Builder

    Compose data tables visually — sorting, filtering, pagination, expandable rows, custom cell renderers, and a row-action API. Exports the same engine the 26 registry table variants are built on.

    26 Variants
    Sort & Filter
    Row Actions

    Kanban Builder

    Design drag-and-drop boards with 1:1 drag previews and edge-correct drop resolution. Reusable, per-card, or JSX-dialog card renderers — and no @dnd-kit anywhere.

    16 Variants
    Zero DnD Deps
    Card Renderers

    Tree Builder

    Build hierarchies and node graphs on a pannable canvas with computed layouts, a graph toolbar, and nested drag reordering. Exports as a self-contained TreeCanvas engine.

    30 Variants
    Auto Layout
    Node Graphs

    Schema Engine

    Model tables, columns, and relations visually, then export DDL. The first piece of a wider data toolkit — JSON ↔ CSV / YAML converters are next.

    Visual Schema
    DDL Export
    Relations

    Charts & Data Viz

    17 chart types — bar, line, area, pie, radar, scatter, gauge, funnel, treemap, candlestick, waterfall, heatmap, sankey, and more — across 93 variants with full RTL/LTR support and no charting library.

    17 Types
    93 Variants
    Zero Deps

    Drag & Drop

    Sortable lists, multi-list transfer, trash zones, nested trees, image grids, and table row reorder — built on raw pointer events, so nothing third-party ships with it.

    9 Patterns
    Pointer Events
    No Library

    Component Lab

    Live CSS variable editor for every component. Edit colors, spacing, typography, and see changes in real-time across the entire design system.

    Live Preview
    CSS Variables
    Theme Export

    30+ UI Components

    Button, Card, Dialog, Tabs, Accordion, Tooltip, Combobox, Command, and many more — each with a dedicated preview page showing all variants and states.

    Radix UI
    Accessible
    Themeable
    Form Builder

    Powerful Form System

    JSON-driven forms with validation, conditional logic, and hydration — all configurable through a visual interface.

    4 Layouts

    Single, Multi-Tab, Wizard, Compact

    Dependent Options

    Cascading dropdowns (Country → State)

    Async & Infinite

    API-fetched and paginated field types

    Dual Schema

    Runtime or compile-time Zod validation

    Live Preview

    Test validation and submit in real-time

    Form Hydration

    Load dropdown options from backend APIs

    Auto-Populate

    Watch fields with transform constraints

    Conditional Logic

    Show/hide fields based on other field values

    How It Works

    Design it here, install it there, then it is simply your code.

    1

    Pick a starting point

    Open one of the five builders, or browse 350+ variants. Every one is a live, working page here — not a screenshot.

    2

    Design visually

    Fields, columns, cards, nodes, relations. Conditional logic, validation, custom renderers, and row actions — all configured in the UI.

    3

    Export or install

    Copy the generated TypeScript, or run one add command and the CLI writes the variant, its engine, and its npm deps into your project.

    4

    Own the code

    It is your source from that moment — no runtime dependency, and re-installs never overwrite what you have edited without --force.

    Built With

    Next.js 15· App Router framework
    React 19· UI runtime
    TypeScript· Type safety
    Tailwind CSS v4· Utility-first styling
    Radix UI· Accessible primitives
    React Hook Form· Form state management
    TanStack Form· Alternative form stack
    Zod· Schema validation
    Lucide· Icon library
    FAQ

    Common Questions

    What AfnoUI is, how the CLI behaves, and how it compares.

    Ready to Build?

    Start in the UI Lab, open a builder, or install straight from the CLI.