Skip to the content
Omuk UI

Nothing jumps.

Omuk UI is my React 19 component kit for Tailwind CSS 4, built for speed. Nothing moves while it loads, and each component is its own import.

bun add omuk-ui@1.0.0-alpha.33
InstallRead the source

MIT, version 1.0.0-alpha.33

Why I built it

Omuk UI is a personal project. I kept fixing the same small moments, and the same slow pages, in my own apps: Markpad, a secrets manager, a few dashboards. Now the fixes live in one place, and every component keeps two rules about speed.

A page pays only for what it shows.
There is no index file. Each component is its own import, and the heavy parts load when they are first used: the dialogs with the first prompt, the toaster with the first toast.
import { Button } from 'omuk-ui/button'
The browser does the work.
Dialogs are the browser’s own <dialog>, popovers its popover attribute. There is no headless library underneath, so there are fewer bytes, and when something is wrong it is my bug to fix.
<dialog>popover="manual"popovertarget

In use

A screen from my secrets manager, rebuilt here from Omuk UI’s parts only. It all works: search, filter, open a row’s menu, delete a secret. Switch to dark mode at the top.

Install

Works with Vite, Astro and Next.js: your bundler compiles the source with your app.

  1. 1

    Add the package

    From npm, at an exact version. It needs React 19, React DOM 19 and Tailwind CSS 4.

    bun add omuk-ui@1.0.0-alpha.33
    
    # package.json
    "omuk-ui": "1.0.0-alpha.33"
  2. 2

    Load the tokens and fonts

    In your main stylesheet; the paths are relative to it. The fonts come from your own domain, and a browser downloads a face only when a page uses it.

    @import "tailwindcss";
    @import "../node_modules/omuk-ui/src/design/theme.css";
    @import "../node_modules/omuk-ui/src/design/fonts.css";
    @source "../node_modules/omuk-ui/src";
  3. 3

    Import what a page uses

    Each component has its own path. There is no index file, so nothing else comes along.

    import { Button } from 'omuk-ui/button';
    
    <Button isLoading={saving} loadingLabel="Saving" onClick={save}>
      Save
    </Button>

Or copy one component at a time

The omuk command puts a component in your app as source you own, as shadcn/ui does. Take the package for updates by version, the command to change the code. Both come from the same files.

  1. 1

    Set up the folder

    Writes omuk.json and copies the tokens and fonts into src/components/ui (or the folder you name with --dir). It prints the two lines for your stylesheet.

    npx omuk-ui init
    
    # your main stylesheet, after @import "tailwindcss"
    @import "./components/ui/design/theme.css";
    @import "./components/ui/design/fonts.css";
  2. 2

    Add a component

    Copies the component and every file it imports, and installs its npm packages with your package manager. The files import each other by relative path: no alias to set up.

    npx omuk-ui add button dialog
    
    import { Button } from './components/ui/button';
  3. 3

    Change it, update it

    The code is yours to change. Run add again for a newer version: omuk updates the files you did not change and keeps the ones you did. --overwrite replaces those too.

    npx omuk-ui list                  # what you have, and its version
    npx omuk-ui add button --dry-run  # see the changes first