Description
Omi is a web components framework from Tencent, described as a next-generation framework in about 4 KB of JavaScript. It combines Web Components with JSX, function components, a router, Suspense, directives and Tailwind CSS, and it is built around signals, a reactive state system that updates only what depends on a changed value. The README stresses that Omi is tiny and fast, and that it can use Constructable Stylesheets to manage and share styles. You install the core package and can create a project with the Omi command-line tool, choosing TypeScript or JavaScript with Vite, or a single-page app starter that includes the router, signals, Suspense and Tailwind. The repository holds a family of packages: omi for the framework itself, omi-form for forms that work across frameworks, lucide-omi for Lucide icons, omiu for components, omi-router for single-page apps, and omi-cli for project creation. Starter kits include Tailwind, TypeScript, JavaScript and a Vue-based example. Components and directives include omi-weui, omi-auto-animate, omi-suspense, omi-transition and omi-ripple. TDesign web components and an Omi playground are also provided, along with more than 100 templates and a form playground. The project's examples include a snake game written with signals and reactivity functions, and a tutorial. The project is on GitHub under Tencent and uses both English and Simplified Chinese documentation.…
Highlights
- Web Components with JSX
- Signals for reactive state
- Router, Suspense and directives
- About 4 KB of JavaScript
- Omi form and icon packages
- Starter kits for Vite, Tailwind and TypeScript
Ratings & Reviews
No ratings yet
Be the first to rate Omi.
People also visit

@copilotkit/web-components
Framework-agnostic shadow-DOM web components for CopilotKit
Omi FAQ
What is Omi?
A web components framework that adds JSX, signals, a router and Suspense in a very small JavaScript footprint.
How big is it?
The description says about 4 KB of JavaScript.
How do I start a project?
Use the omi-cli tool, which sets up an Omi and Vite project in TypeScript or JavaScript.
Does it include a router?
Yes, through the omi-router package for single-page apps.
What packages are there?
The core omi package, omi-form, lucide-omi for icons, omiu, omi-router, omi-cli, plus components and directives such as omi-weui and omi-transition.
Where is the documentation?
The README is in English and Simplified Chinese, and the repository links tutorials and examples.
What are the best Omi alternatives?
Popular alternatives to Omi include Web Awesome, Create Open Web Components and @iyulab/components. See all Omi alternatives











