Sunflower : UI Library & CLI

Sunflower UI

Tactile Design System & AST Component Registry for React 19 & Next.js 16

Built in 2026WEBSITEVisit Website

An agency-grade, copy-paste React component library and CLI registry featuring 77+ tactile primitives and agentic AI UI components built with React 19, Next.js 16, and Tailwind CSS v4.

Tech Stack

React 19
React 19Technology
Next.js 16
Next.js 16Technology
TypeScript
TypeScriptTechnology
Tailwind CSS v4
Tailwind CSS v4Technology
Framer Motion
Framer MotionTechnology
Radix UI
Radix UITechnology
Node.js / CLI
Node.js / CLITechnology
Lucide React
Lucide ReactTechnology

Project Details

Built to bridge the gap between flat generic UI kits and modern, tactile software aesthetics, Sunflower UI delivers 77+ accessible, agency-grade React components with dark-mode parity and specular depth. It introduces dedicated Agentic UI primitives designed specifically for LLM workflows, distributed with zero bundle bloat via an interactive CLI and native Shadcn registry compatibility.

  • 77+ Interactive Pure Primitives: Extensive collection of components across 8 domains including Core, Content & Data, Form Controls, Overlays, and specialized Agentic AI primitives.
  • Dedicated Agentic UI Primitives: 12 purpose-built LLM workflow components including Reasoning Steps, File Diff, Text Streaming, Chat Input, Plan Cards, and Task Lists.
  • Dual-Mode NPX Distribution: Zero-bundle-overhead delivery via the official interactive Sunflower CLI (npx @orite/sunflower add <slug>) and full 1:1 Shadcn registry schema compatibility.
  • Tactile Specular Aesthetics: Replaces flat minimalist UI with hardware-grade depth, dark-mode specular rim lighting, and mathematically concentric border radii.
  • Interactive IDE-Grade Showcase: Dynamic stage canvas with responsive breakpoint viewports, Cmd+K spotlight search, and a physics-based resizable live code drawer.
  • Integrated Microservices: Production-ready bug reporting pipeline powered by Next.js Route Handlers and the Resend API with custom responsive HTML email templates.

Technical Overview

Engineered on React 19 and Next.js 16 Turbopack with an AST-driven static registry compiler, pure CSS variables via Tailwind CSS v4 @theme, and a decoupled standalone CLI.

  • AST & Regex Static Registry Compiler: Custom build pipeline parses component source trees, isolates required external packages (Radix, Framer Motion) from internal dependencies, and compiles independent JSON registry manifests.
  • Decoupled Standalone CLI Package: Compiled with Tsup into a lightweight, standalone ESM binary that queries the CDN registry, auto-resolves dependencies, and supports npm, pnpm, yarn, and bun.
  • Tactile Specular Lighting & Concentric Geometry: Surface containers utilize dual-tone linear gradients (#1C1C1E to #0A0A0C), subtle top borders (border-t-white/12), inner specular glares, and concentric radius math (R_inner = R_outer - padding).
  • Tailwind CSS v4 Pure @theme Cascade: Eliminates legacy JavaScript config files in favor of pure CSS cascade variables, unlocking instant sub-second hot-reloading.
  • Concurrency & Hydration Safety: Built from the ground up on React Server Components and useSyncExternalStore subscribers to eradicate client hydration mismatches and layout thrashing.
  • Portal-Isolated Overlays: Overlay primitives leverage Radix UI portals to prevent overflow clipping in nested scroll containers while maintaining full keyboard accessibility.