
Opensource UI
200+ copy-paste React and Next.js components, MIT licensed, no package
Replaces Tailwind Ui, Flowbite Pro, Preline Ui Pro, Cruip

Who it's for
Opensource UI provides ready-made buttons, forms, social cards, and device mockups that paste directly into a Next.js App Router project. The TypeScript source is readable and the Tailwind classes are in the file, so there is nothing to override or configure at the app level.
Your project requires a fully consistent design system with shared theme tokens, accessibility certification, or Figma files. Opensource UI has no design token layer or official Figma kit.
The device mockup category covers iPhone, MacBook, iPad, Apple Watch, iPod, and browser chrome frames with multiple color finishes. Drop in a screenshot and get a presentation-quality frame without Figma or a paid mockup service.
You need animated video mockups or motion graphics. The mockups are static React components, not video assets.
The `skills/opensource-ui/` agent kit lets any supported agent read the component catalog and add a specific component to a Next.js project in one instruction. The agent resolves the dependency chain (cn.ts, clsx, tailwind-merge, Lucide) automatically from the skill file.
Your team does not use AI coding tools and prefers a manual copy workflow. The agent kit is optional; the components work without it.
The browser chrome frames and annotation tools let you wrap a screenshot in a realistic browser window, add callout arrows and labels, and present UI that looks finished. The annotation overlays render in React, so the presentation updates when the UI does.
You need PDF-ready or slide-deck exports. The annotations render as React components on the web and are not an export format.
The problem
Most React component libraries require you to install a package, configure a provider at the root of your app, and stay on the library's upgrade cycle. When a dependency falls behind your version of React or Tailwind, you are stuck waiting for a maintainer update or doing a forced migration. The pain deepens with paid component libraries: Tailwind UI, Flowbite Pro, and Preline UI Pro require a one-time purchase or subscription to access the full component set. If you cancel or the product changes pricing, you lose access. For teams that only need a handful of components for a marketing page or product demo, paying for a full kit creates friction before a single button is on screen.
How it works
The library covers 200+ components across 30 categories, including buttons, forms, tables, social cards, loaders, and Apple-style device mockups. Each component is TypeScript-first with readable props and Tailwind utility classes in the file you paste. No runtime dependency on Opensource UI is added to your project.
iPhone, MacBook, iPad, Apple Watch, iPod, and browser chrome frames with realistic hardware details, multiple color finishes, and slot areas where you drop in your own screenshots. Phone mockups include Titanium, Space Gray, and other finishes. The Watch frames come with sport band and seven metal finishes.
Every component detail page at `/components/[slug]` shows a live interactive preview above the TypeScript source code. You see exactly what you are getting before copying. Annotation overlays and browser chrome themes are available for presentation screenshots.
Components use Tailwind utility classes written directly in the file, with `cn()` from `clsx` and `tailwind-merge` for conditional class merging. `forwardRef`, native HTML props, and `'use client'` directives follow React and Next.js conventions. No custom CSS files or global style overrides are needed.
An agent skill directory at `skills/opensource-ui/` works with Cursor, Claude Code, Codex, Copilot, Grok, and ChatGPT. Point an agent at the skill file and ask it to add a component to your Next.js app. The agent reads the catalog and handles the copy, import, and dependency chain.
Features
- 200+ Copy-Paste TypeScript Components
- Device Mockup Collection
- Live Preview and Copy-Ready Source
- Tailwind CSS v4 Styling
- AI Coding Agent Kit
How to install
Self-host the Opensource UI catalog by cloning the repo and starting the dev server (requires Node.js 22.x).
git clone https://github.com/bidyut10/opensourceui.git
cd opensourceui
npm install
npm run devRecommended for this setup
Strengths
- MIT License with No Package Lock-In: Every component is MIT licensed for personal and commercial use. You copy the file and own it; there is no Opensource UI npm package to install, update, or stay compatible with. The file is yours to rename props, restyle with Tailwind, or delete entirely.
- No Cost, No Paywall: The full library is free with no subscription required and no premium tier gating components. The FAQ confirms: components stay free under MIT, sponsorships on the sponsor page are optional and do not unlock features. 818 GitHub stars and Vercel OSS program backing suggest the project is on a stable trajectory.
- Static Export for Simple Deployment: The Next.js app uses `output: 'export'` and builds to a static `out/` directory. Deployment to Vercel takes a one-click import; Cloudflare Workers with static assets uses `npm run cf:deploy`. No server-side runtime or database is needed to host the catalog.
- Device Mockups in the Same Repo: iPhone, MacBook, iPad, Apple Watch, iPod, and browser chrome frames live in the same component catalog as buttons and forms. Teams building app landing pages or product demos get realistic device presentations without a separate design tool or premium asset service.
Trade-offs
- Intentionally Light Theme Only: The catalog renders in paper white with ink text and hairline borders. Dark mode is not built into the components, by design. The README documents that the catalog uses one light visual language so previews stay consistent across the directory. You add dark variants in your own app after pasting the file.
- No Shared Component Upgrade Path: Because each component is a copied file you own, there is no mechanism to receive upstream updates automatically. If the library ships a fixed version of a component you already pasted, you must re-copy manually. This is the deliberate tradeoff of the copy-paste model: ownership at the cost of automatic updates.
- Young Repo with Unproven Long-Term Track Record: Created in June 2026, the repo is under six months old with 818 GitHub stars and an active Vercel OSS program sponsorship. The small open issue count is positive, but the age means long-term community size and ecosystem adoption are unproven. Teams evaluating it for large production systems should weigh its maturity against more established libraries.
Tech stack
FAQ
Yes. The MIT license covers personal and commercial use with no restrictions. The FAQ on opensourceui.in confirms there is no catch: sponsorships on the sponsor page are optional and do not gate components. You copy the files and use them in a client project without attribution required.
No. There is no `opensourceui` npm package. The documented install path is to copy the TypeScript source from the components directory into your own project. The README covers the dependency chain: bring along `lib/cn.ts`, `clsx`, `tailwind-merge`, and `lucide-react` when the component imports them.
Opensource UI is an independent project with its own design system. The README explicitly states it does not depend on shadcn, MUI, or Radix, and copying a component does not require any of them. The two can coexist in the same project if needed, but Opensource UI components are standalone files.
Clone the repo, run `npm install`, and run `npm run dev` on Node.js 22.x. The build command is `npm run build`, which produces a static export to `out/`. Vercel, Cloudflare Workers, and any static host can serve the output. No database or server-side runtime is required.
Paper white, ink text, hairline borders, and accents only where state or demos need them. Motion respects prefers-reduced-motion. Responsive styles use base plus `md:` breakpoints. The catalog intentionally has no dark mode so previews stay consistent; you add dark variants in your own app after pasting.