v1.2 — កម្ពុជាដំបូងCambodia First

KhmerUI

UI ដែលស្គាល់ភាសាខ្មែរ
The UI System That Speaks Khmer

បណ្ណាល័យ UI ដំបូងគេដែលបង្កើតឡើងសម្រាប់អក្សរខ្មែរ។ React + Tailwind CSS រួមជាមួយ 19 components ឥតគិតថ្លៃ និង font Battambang ភ្ជាប់មកជាមួយ។

The first React + Tailwind CSS component library built for Khmer script. 19 free components with embedded Battambang font — no external requests.

ទាញយកឥតគិតថ្លៃGet Started Free មើលគម្រូView Demos

គម្រូផ្ទាល់Live Component Demos

សាកល្បង components ផ្ទាល់ — មិនចាំបាច់ដំឡើងTry components live, no install needed

📊

មើលគម្រូ Admin Dashboard / View Full Admin Demo

Dashboard + Sidebar + DataTable + Charts + Dark Mode — រចនាប័ទ្មពេញលេញជាភាសាខ្មែរ

មើលគម្រូ →

Buttons FREE

import { Button } from '@khmerui/core';

<Button variant="primary">រក្សាទុក</Button>
<Button variant="danger" size="sm">លុប</Button>

Inputs FREE

សូមបំពេញឈ្មោះពេញ
អ៊ីមែលមិនត្រឹមត្រូវ / Invalid email
<Input
  label="ឈ្មោះ / Name"
  placeholder="បញ្ចូលឈ្មោះ"
  error="មិនត្រឹមត្រូវ"
/>

Badges & Alerts FREE

Primary Active Expired Pro Draft
ℹ️ សូមអាប់ដេតគណនីរបស់អ្នក
✓ រក្សាទុកបានជោគជ័យ!
⚠ License ផុតកំណត់ក្នុង ៣០ ថ្ងៃ

Cards FREE

ផលិតផល KhmerUI
បណ្ណាល័យ React UI សម្រាប់ខ្មែរ

14 components ឥតគិតថ្លៃ + Pro features សម្រាប់ $19/ឆ្នាំ។

Tabs FREE

ទិដ្ឋភាពទូទៅ
អតិថិជន
វិភាគ
ការកំណត់

ទិដ្ឋភាពទូទៅនៃអាជីវកម្មរបស់អ្នកនៅថ្ងៃនេះ — Dashboard overview content goes here.

Stat Cards PRO

ចំណូល / Revenue
$3,800
↑ 18.2% ខែមុន
អតិថិជន / Users
284
↑ 12 ថ្មី
Churn Rate
2.3%
↓ 0.5%
MRR
$1,214
↑ 22%

DataTable PRO

ឈ្មោះ / Name អ៊ីមែល គម្រោង / Plan ចំណូល ស្ថានភាព
សុខ សំណាង samnang@example.com Pro $49 Active
Chan Dara dara@startup.kh Enterprise $499 Active
Sok Pisey pisey@agency.com Pro $19 Active
វណ្ណ ដារា vann@corp.kh Free $0 Churned
បង្ហាញ 1-4 នៃ 4 ធាតុ

ឯកសារDocumentation

គ្រប់អ្វីដែលអ្នកត្រូវការដើម្បីចាប់ផ្តើមEverything you need to get started

គ្រប់សមាសភាគAll Components

19 ឥតគិតថ្លៃ + 8 Pro modules — ទាំងអស់មាន Khmer typography19 Free + 8 Pro modules — all with Khmer typography support

🔘

Button

6 variants (primary, secondary, outline, ghost, danger, success), 5 sizes, loading state, icons

📝

Input

Labels, error states, hints, left/right addons, Khmer placeholder support

📋

Select

Native select with custom Khmer-optimized styling and error handling

🃏

Card

4 variants (default, bordered, elevated, flat), header/body/footer, hoverable

🪟

Modal

5 sizes, ESC close, overlay click, footer actions, scroll lock

🏷️

Badge

6 colors, dot indicator, 3 sizes — perfect for status labels

⚠️

Alert

Info, success, warning, danger — with dismiss button and icons

📑

Tabs

3 variants: underline, pills, bordered — controlled and uncontrolled

💬

Tooltip

4 positions (top, bottom, left, right), configurable delay

📂

Dropdown

Menu items with icons, dividers, danger actions, click-outside close

🔤

Typography

h1-h4, body, caption, overline — Khmer font toggle, muted variant

🧭

Navbar

Responsive with mobile hamburger menu, sticky option, transparent mode

📌

Sidebar

Collapsible, sections, active states, badges — full dashboard navigation

🦶

Footer

Multi-column layout, social links, copyright — responsive grid

🔀

Switch NEW

Toggle switch — controlled/uncontrolled, 3 sizes, label + description

📄

Textarea NEW

Multi-line text input — labels, error/hint, Khmer placeholder, resizable

☑️

Checkbox NEW

Checkbox with label + description, 3 sizes, error state, disabled

🔘

Radio / RadioGroup NEW

Radio buttons — group with options array, vertical/horizontal layout

👤

Avatar NEW

User avatar — image, name initials, 5 sizes, auto-generated colors from Khmer names

PRO Advanced Modules

📊

DataTable

Sort, search, filter, pagination, row selection, loading state, striped rows, sticky header

📐

Dashboard Layout

Sidebar + header + content area, StatCards with trends, responsive grid

🔐

Auth Pages

Login + Register pages with social providers, bilingual, error handling

📝

FormBuilder

Dynamic forms from config — text, email, select, textarea, checkbox, radio, validation

📈

Charts

Bar chart + Donut chart — pure CSS, zero dependencies, animated

⚙️

Settings Page

Side navigation, settings rows, section-based layout

🎨

Theme Switcher

5 Khmer-themed presets + dark mode toggle — Angkor, Mekong, Lotus, Cardamom, Phnom Penh Night

🏗️

Layout System

AppShell, PageHeader with breadcrumbs, ContentArea — 3 layout modes

តម្លៃសមរម្យSimple Pricing

តម្លៃសមរម្យសម្រាប់កម្ពុជា — បង់ប្រាក់តាម Bakong KHQRCambodia-friendly pricing — pay via Bakong KHQR

Free / ឥតគិតថ្លៃ
$0
forever / រហូត
  • 19 core components
  • Battambang font ភ្ជាប់មកជាមួយ
  • Khmer typography system
  • Tailwind theme + plugin
  • i18n ខ្មែរ/English (40+ keys)
  • TypeScript declarations
  • MIT License
npm install
Most Popular
Pro / ប្រូ
$19/ឆ្នាំ
🇰🇭 Cambodia pricing (~77,900 KHR)
  • Everything in Free
  • DataTable + search/sort/filter
  • Dashboard + StatCards + Charts
  • Login & Register pages
  • FormBuilder + Settings
  • Theme switcher + dark mode
  • Layout system
  • 1 year updates
ទិញ Pro / Buy Pro
Enterprise / សហគ្រាស
Custom
from $199/year 🇰🇭
  • Everything in Pro
  • Unlimited seats
  • White-label system
  • Priority support (24hr)
  • Custom development
ទាក់ទង / Contact

ចាប់ផ្តើមឥឡូវនេះGet Started Now

វិធី ៤ ជំហាន ដើម្បីប្រើ KhmerUI ក្នុងគម្រោងរបស់អ្នក4 steps to use KhmerUI in your project

1

កំណត់ npm registry

បង្កើតឯកសារ .npmrc ក្នុង project folder របស់អ្នក:

# បង្កើតឯកសារ .npmrc ក្នុង project folder (ដំណើរការលើ Mac, Windows, Linux)
echo @khmerui:registry=https://khmerui.kessor.net/npm/ > .npmrc
ℹ️ ដំណើរការពាក្យបញ្ជានេះម្តងក្នុង project folder / Execute this once in your project folder — ឬបង្កើតឯកសារ .npmrc ដោយផ្ទាល់ដែលមានខ្លឹមសារ: @khmerui:registry=https://khmerui.kessor.net/npm/
2

ដំឡើង @khmerui/core (ឥតគិតថ្លៃ)

ដំឡើង package ចូលក្នុងគម្រោង React របស់អ្នក:

npm install @khmerui/core

📦 19 components + Battambang font ភ្ជាប់មកជាមួយ + Tailwind theme — ឥតគិតថ្លៃ MIT License

3

កំណត់ Tailwind Config និង Font

បន្ថែម KhmerUI plugin ក្នុង tailwind.config.ts និង import font ក្នុង app entry:

// tailwind.config.ts
import { khmerUIPlugin, khmerUITheme } from '@khmerui/core';

export default {
  content: [
    './app/**/*.{js,ts,jsx,tsx}',
    './node_modules/@khmerui/core/dist/**/*.{js,mjs}',
  ],
  theme: { extend: { ...khmerUITheme } },
  plugins: [khmerUIPlugin()],
};
// app entry (main.tsx, layout.tsx, _app.tsx)
import '@khmerui/core/fonts.css';  // Battambang font — មិនត្រូវការ Google Fonts
ℹ️ Font Battambang ភ្ជាប់មកជាមួយ package រួចហើយ — មិនមានការភ្ជាប់ទៅ Google Fonts ទេ (ឯកជនភាពល្អ)។
4

ប្រើក្នុង React app របស់អ្នក / Use in your app

Import components ហើយចាប់ផ្តើមសរសេរកូដ:

import { KhmerUIProvider, Button, Input, Card } from '@khmerui/core';

function App() {
  return (
    <KhmerUIProvider locale="km">
      <Card>
        <Input label="ឈ្មោះ" placeholder="បញ្ចូលឈ្មោះ" />
        <Button>រក្សាទុក</Button>
      </Card>
    </KhmerUIProvider>
  );
}
ចង់បាន Pro Components?
PRO

ដំឡើង @khmerui/pro — $19/ឆ្នាំ (~៧៧,៩០០ រៀល)

🏦
ជំហានទី ១
ទិញនៅ kessor.net
បង់ប្រាក់តាម Bakong KHQR
ស្កេនដោយ ABA/ACLEDA/Wing
📧
ជំហានទី ២
ទទួល license key
+ npm token តាម email
ក្នុងរយៈពេល ១ នាទី
🚀
ជំហានទី ៣
ដំឡើង @khmerui/pro
ប្រើ DataTable, Dashboard
Charts, Auth Pages...
# បន្ទាប់ពីទទួល npm token តាម email:
echo '//khmerui.kessor.net/npm/:_authToken=YOUR_TOKEN' >> ~/.npmrc

# ដំឡើង Pro:
npm install @khmerui/pro

# ប្រើក្នុង code:
import { setLicenseKey } from '@khmerui/pro';
setLicenseKey('KUI-PRO-XXXX-XXXX-XXXX');

import { DataTable, DashboardLayout, StatCard } from '@khmerui/pro';
🏦 ទិញ Pro — $19/ឆ្នាំ តាម Bakong

សិស្ស/និស្សិត: $9/ឆ្នាំ · បង់តាម ABA, ACLEDA, Wing, Bakong, Pi Pay