v3.3 · MIT · built on Ark UI 5

Accessible components for every framework

87 components and blocks built on Ark UI. One API for React, Solid, Vue and Svelte, styled with CSS Modules or Tailwind CSS. Install from npm or own the source with shadcn.

pnpm add @moduix/react @ark-ui/react

Works with

  • React
  • Solid
  • Vue
  • Svelte

CSS Modules · Tailwind CSS · shadcn CLI

Notifications

Choose what reaches your inbox.

22:00 – 07:00

Notifications.tsx

import { Switch, SwitchControl, SwitchLabel } from '@moduix/react/switch';

<Switch defaultChecked>
  <SwitchLabel>Product updates</SwitchLabel>
  <SwitchControl />
</Switch>

01 · One API

Same names in React, Solid, Vue and Svelte

Every component has the same parts and props in each adapter. Only the syntax is native, so a team can switch frameworks without relearning the library.

React@moduix/react
import { Button } from
  '@moduix/react/button';

export default function Demo() {
  return (
    <Button variant="outline">
      Save changes
    </Button>
  );
}
Solid@moduix/solid
import { Button } from
  '@moduix/solid/button';

export default function Demo() {
  return (
    <Button variant="outline">
      Save changes
    </Button>
  );
}
Vue@moduix/vue
<script setup>
import { Button } from
  '@moduix/vue/button';
</script>

<template>
  <Button variant="outline">
    Save changes
  </Button>
</template>
Svelte@moduix/svelte
<script>
  import { Button } from
    '@moduix/svelte/button';
</script>

<Button variant="outline">
  Save changes
</Button>

02 · Install

Pick your styling, then how you own it

Use the npm package and get updates, or copy the source into your project with the shadcn CLI and change anything.

npm packageImport and update with one bumpshadcn registrySource lives in your repo
CSS ModulesPlain CSS, tokens as variablespnpm add@moduix/reactpnpm dlx shadcn add@moduix-react/button
Tailwind CSSUtility classes, Tailwind v4pnpm add@moduix/react-tailwindpnpm dlx shadcn add@moduix-react-tailwind/button

npm packages also need the matching Ark UI package, for example @ark-ui/react. Same for Solid, Vue and Svelte.

03 · Components

87 components, including the hard ones

Color Picker, Date Picker, Tour, Signature Pad, Image Cropper and File Upload ship next to the basics. Keyboard support, focus management and ARIA come from Ark UI state machines.

Browse all components

04 · Themes

Four presets on one token contract

Calm is the default. Dense, Soft and Contrast change spacing, radius and color through CSS variables. Switch the whole app with one attribute, or write your own preset.

<html data-moduix-theme="soft">
CalmDefault · neutral
Active

Control 36px · radius 10px

DenseAdmin and tables

Control 34px · radius 7px

SoftLarger and rounder

Control 40px · radius 16px

ContrastStrong borders and focus

Control 36px · radius 6px

05 · Start

Set up your framework

Step-by-step guides with the exact config for each bundler and meta-framework.

All 9 setup guides