Build with Flourish UI
programmatically.
A public REST API, OpenAPI 3.1.0 specification, WebMCP browser agent tool surface, and machine-readable shadcn registry. No API keys required, zero rate-limit hurdles, and full CORS enabled out of the box.
Connect in any language or agent runtime.
bash# 1. List components with category filter
curl -s "https://flourish-ui.vercel.app/api/components?category=Interactive%20Surfaces"
# 2. Get single component install commands & dependencies
curl -s "https://flourish-ui.vercel.app/api/components/letters-from-the-garden"
# 3. Download raw TypeScript component source
curl -s "https://flourish-ui.vercel.app/api/components/letters-from-the-garden/source"ts// Fetch components programmatically
const res = await fetch("https://flourish-ui.vercel.app/api/components");
const { components, total } = await res.json();
console.log(`Found ${total} components!`);
console.log(components[0].title, components[0].installCommand);modelContext// AI agents call in-page tools via WebMCP standard:
const mc = document.modelContext || navigator.modelContext;
// Agent tool invocation:
const results = await mc.callTool("search_components", {
query: "letters garden",
category: "Interactive Surfaces"
});cli# Add any Flourish UI component straight into components/flourish/
pnpm dlx shadcn@latest add https://flourish-ui.vercel.app/r/letters-from-the-garden.json
# Or using npx, bunx, or yarn dlx
npx shadcn@latest add https://flourish-ui.vercel.app/r/sequel-frontier-footer.jsonInteractive API Sandbox.
Test live queries against the Flourish UI REST API in real time.
Fetch list of components with pagination and filtering
Available Public Endpoints.
All endpoints return JSON (or raw TypeScript text for source code) with full CORS permissions.
| Method | Route | Description | Live Sample |
|---|---|---|---|
| GET | /api/components | List all 50 components with optional filters: ?category, ?search, ?tag, ?limit, ?offset. | Try |
| GET | /api/components/{slug} | Fetch full metadata, dependencies, and install commands for a specific component. | Try |
| GET | /api/components/{slug}/source | Fetch raw TypeScript/React source code for direct injection or inspection. | Try |
| GET | /api/categories | List all 6 component design categories with descriptions and item counts. | Try |
| GET | /openapi.json | Official machine-readable OpenAPI 3.1.0 specification describing all endpoints and schemas. | Try |
| GET | /r/{slug}.json | Machine-readable shadcn registry item specification consumed by `shadcn add`. | Try |
| GET | /pricing.md | Structured machine-readable pricing specification declaring $0 MIT licensing for AI agents. | Try |
| GET | /llms-full.txt | Complete single-file knowledge bundle indexing all 50 components and install commands. | Try |
| GET | /okf/index.md | Open Knowledge Format (OKF) index mapping conceptual documentation for AI systems. | Try |
WebMCP in-page tools for browser agents.
Flourish UI implements the WebMCP standard for autonomous browser agents (such as ChatGPT browser, Claude, and Chrome Origin Trial agents). Tools are registered dynamically via document.modelContext.registerTool() and declarative server-rendered forms.
search_components toolget_component metadata toolget_component_source code toollist_categories taxonomy toolPrimary registration: document.modelContext.registerTool()
Fallback registration: navigator.modelContext.registerTool()
Declarative forms: <form toolname="..." tooldescription="...">
OpenAPI Endpoint: /openapi.json
LLM Agent Manifest: /llms.txt
Full Knowledge Bundle: /llms-full.txt
Agent Pricing Spec: /pricing.md
Open Knowledge Format: /okf/index.md
Everything you need to know.
Direct, concise answers to common questions about Flourish UI, licensing, and integration.
What is Flourish UI?
Flourish UI is a free, open-source collection of 50+ expressive React and Next.js components featuring WebGL shaders, tactile skeuomorphism, and physics-driven micro-interactions. All components provide direct TypeScript source code and one-command installation via the shadcn CLI registry.
How do I install Flourish UI components?
You can install any Flourish UI component using the shadcn CLI by running pnpm dlx shadcn@latest add https://flourish-ui.vercel.app/r/[component-slug].json. Alternatively, developers can copy raw TypeScript code directly from the component page or retrieve it via the public REST API.
Is Flourish UI free for commercial use?
Yes, Flourish UI is 100% free and open-source under the MIT License. You can freely use, modify, customize, and distribute all components in personal, commercial, client, and open-source projects with zero licensing fees or attribution requirements.
What machine-readable files does Flourish UI provide for AI agents?
Flourish UI provides /llms.txt, /llms-full.txt, /pricing.md, an OpenAPI 3.1.0 specification at /openapi.json, a Google Open Knowledge Format (OKF) bundle at /okf/index.md, and in-page WebMCP agent tools via document.modelContext.
Ready to build something distinctive?
Explore the components.