logic2b ui is a collection of beautifully designed, accessible React components that you copy into your project. This is not a component library you install from npm — it’s code you own.
Principles
- Open Code. Every component ships as source code. Read it, change it, own it.
- Composable. Built on Radix UI primitives and Tailwind CSS, with a small, predictable API surface.
- AI-Ready. The whole registry and documentation are consumable by LLMs: plain-JSON registry at /r/index.json, Markdown versions of every page, and /llms.txt.
- Edge-first. The site and registry are fully static, served from Cloudflare’s edge.
Install with one command
Every component is available from the logic2b registry through the CLI — it copies the source into your project and resolves dependencies for you:
npx logic2b@latest add button
The registry uses an open, widely-adopted JSON format, so third-party tools and AI agents can consume it too.
Where to go next
- Installation — set up your project.
- Theming — CSS variables, dark mode, radius.
- Components — browse the catalog.
- For LLMs & Agents — how to consume logic2b from an AI agent.