Creative Tim UI Blocks
creativetimofficial/ui
Helps install, generate and review Creative Tim UI blocks: shadcn/ui-based React and Tailwind sections that follow a restrained, production-minded design philosophy.
A skill your agent uses when the user's task involves HiUI (@hi-ui/) — writing HiUI components, debugging HiUI issues, querying HiUI props/docs, migrating from HiUI V4 to V5, or setting up React 19…
$ npx skills add XiaoMi/hiui --skill hiui -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install XiaoMi/hiui hiui --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/XiaoMi/hiui.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/hiui .claude/skills/hiui && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "hiui" agent skill from https://github.com/XiaoMi/hiui/tree/master/skills/hiui into .claude/skills/hiui/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hiui", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/XiaoMi/hiui/tree/master/skills/hiuiType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add XiaoMi/hiui --skill hiui -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install XiaoMi/hiui hiui --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/XiaoMi/hiui.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/hiui .agents/skills/hiui && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "hiui" agent skill from https://github.com/XiaoMi/hiui/tree/master/skills/hiui into .agents/skills/hiui/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hiui", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add XiaoMi/hiui --skill hiui -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install XiaoMi/hiui hiui --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/XiaoMi/hiui.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/hiui .cursor/skills/hiui && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "hiui" agent skill from https://github.com/XiaoMi/hiui/tree/master/skills/hiui into .cursor/skills/hiui/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hiui", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/XiaoMi/hiui.git --path skills/hiui--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add XiaoMi/hiui --skill hiui -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install XiaoMi/hiui hiui --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/XiaoMi/hiui.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/hiui .gemini/skills/hiui && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "hiui" agent skill from https://github.com/XiaoMi/hiui/tree/master/skills/hiui into .gemini/skills/hiui/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hiui", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install XiaoMi/hiui hiuiInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add XiaoMi/hiui --skill hiui -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/XiaoMi/hiui.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/hiui .github/skills/hiui && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "hiui" agent skill from https://github.com/XiaoMi/hiui/tree/master/skills/hiui into .github/skills/hiui/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hiui", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add XiaoMi/hiui --skill hiui -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install XiaoMi/hiui hiui --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/XiaoMi/hiui.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/hiui .opencode/skills/hiui && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "hiui" agent skill from https://github.com/XiaoMi/hiui/tree/master/skills/hiui into .opencode/skills/hiui/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hiui", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
hiuiA skill your agent uses when the user's task involves HiUI (@hi-ui/) — writing HiUI components, debugging HiUI issues, querying HiUI props/docs, migrating from HiUI V4 to V5, or setting up React 19…
Hiui is an agent skill from XiaoMi/hiui. Use when the user's task involves HiUI (@hi-ui/) — writing HiUI components, debugging HiUI issues, querying HiUI props/docs, migrating from HiUI V4 to V5, or setting up React 19 compatibility with @hi-ui/patch-for-react. Triggers on imports from '@hi-ui/', hi-ui/hiui mentions, or explicit HiUI questions.
Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Frontend & Design, covering Design systems. It works with React. The repository describes itself as: HIUI is a solution that is adequate for the fomulation and implementation of interaction and UI design standard for front, middle and backend. The licence is MIT.
8 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit f056c80. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
Bash(hiui *)Bash(npm install -g @hi-ui/hiui-cli*)Bash(which hiui)From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
npmpnpmFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
xiaomi.github.ioAlso links to:
npmjs.comgithub.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Hiui loads about 1.9k tokens when it runs. Until then it costs about 78 tokens; SKILL.md has 693 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from XiaoMi/hiui at commit f056c80, republished under its MIT licence (© XiaoMi). 693 words, ~1,896 tokens.
.claude/skills/hiui/SKILL.md (or your agent's skills folder).You have access to @hi-ui/hiui-cli — a CLI for querying HiUI component documentation and automating common upgrade tasks. Component docs are fetched from official llms endpoints (network required for list / doc / info / url). Migration and React 19 patch setup run locally on the project filesystem.
Before first use, check if the CLI is installed. If not, install it:
which hiui || npm install -g @hi-ui/hiui-cli
hiui versionThe hiui command comes from the globally installed @hi-ui/hiui-cli package.
Always use --format json for structured output you can parse programmatically.
Before writing any HiUI component code, look up its API first — don't rely on memory.
# Check available props
hiui info Button --format json
# Full docs with usage examples (TSX demos in markdown)
hiui doc Button --format json
# Get the canonical llms URL for citations
hiui url Button --format jsonWorkflow: hiui info → understand props → hiui doc → read examples → write code.
HiUI packages use kebab-case names (@hi-ui/date-picker). Component CLI args accept Button, datePicker, or date-picker (auto-normalized to kebab-case).
Import patterns:
// Full bundle
import { Button, Input } from '@hi-ui/hiui'
// Per-component (recommended for existing apps)
import Button from '@hi-ui/button'
import Input from '@hi-ui/input'
import { InfoCircleFilled } from '@hi-ui/icons'When you need comprehensive component docs (not just props):
hiui doc Table --format jsonMarkdown includes description, usage examples, and props tables. Source: https://xiaomi.github.io/hiui/llms/<component>.md.
When choosing which component to use:
hiui list --format jsonIndex is derived from llms.txt. For offline context, you can also reference llms-full.txt.
When upgrading a project from HiUI 4.x to 5.x:
# Preview changes (no writes)
hiui migrate 4 5 --dry-run --format json
# Apply to current directory
hiui migrate 4 5 --format json
# Monorepo sub-app
hiui migrate 4 5 --path ./apps/web --format json
# Only bump @hi-ui/* in package.json
hiui migrate 4 5 --deps-only
# Only replace .hi-v4 / hi-v4- class prefixes
hiui migrate 4 5 --class-onlyWhat migrate 4 5 does:
@hi-ui/* in all package.json files to ^5.0.0 (excludes tooling like @hi-ui/hi-build).hi-v4 → .hi-v5 and hi-v4- → hi-v5- in project source/stylesWhat it does NOT do: API breaking changes, import path refactors, or business logic. After migrate, run npm install or yarn, then fix remaining issues manually. See project migration docs.
Workflow: hiui migrate 4 5 --dry-run → review → hiui migrate 4 5 → install deps → hiui doc / hiui info per changed component → fix API usage.
Currently only 4 → 5 is supported; other version pairs return UNSUPPORTED_MIGRATION.
When the project uses React 19 and needs ReactDOM.render / legacy static APIs patched for HiUI:
hiui patch-for-react --dry-run --format json
hiui patch-for-react --path . --format json
hiui patch-for-react --entry src/index.tsx --skip-installWhat it does:
@hi-ui/patch-for-react to dependencies (^5.0.0 by default, override with --patch-version)import '@hi-ui/patch-for-react' at the top of the entry file (after 'use client' if present)npm / yarn / pnpm install unless --skip-installEntry auto-detection: src/index.tsx, src/main.tsx, etc., or script src from index.html.
When using a mirror or internal docs host:
hiui doc alert --base-url https://xiaomi.github.io/hiui --format json
# or
HIUI_DOCS_BASE_URL=https://your-mirror.example hiui list --format jsonMany HiUI 5 components support classNames and styles for per-element styling. Check the Semantic example in component docs:
hiui doc Alert --format jsonLook for classNames / styles usage in the markdown examples.
If the CLI is unavailable, fetch docs directly:
<component>`.md| Flag | Purpose |
|---|---|
--format json | Structured JSON output (agents should prefer this) |
--base-url <url> | Docs root (default: https://xiaomi.github.io/hiui) |
--timeout <ms> | HTTP timeout for doc fetch (default: 30000) |
-V, --version | Print CLI version (hiui version also works) |
migrate options| Flag | Purpose |
|---|---|
--path <dir> | Project root (default: .) |
--dry-run | Preview without writing |
--deps-only | Only update package.json |
--class-only | Only replace class name prefixes |
patch-for-react options| Flag | Purpose |
|---|---|
--path <dir> | Project root |
--entry <file> | Explicit entry file |
--dry-run | Preview only |
--skip-install | Skip package manager install |
--patch-version <range> | Version for @hi-ui/patch-for-react (default: ^5.0.0) |
hiui info or hiui doc first.--format json — Parse JSON output instead of regex-matching plain text.hiui doc for examples — Demos live inside markdown; there is no separate hiui demo command yet.hiui migrate 4 5 --dry-run before applying; then install deps and fix API changes manually.patch-for-react only adds the side-effect import; ensure it runs before other app imports.CheckSelect → check-select for URLs and docs.list, doc, info, url need HTTP access to the llms host; migrate and patch-for-react are offline filesystem operations.| Command | Description |
|---|---|
hiui version | CLI version |
hiui list | All components from llms.txt |
hiui info <component> | Props API |
hiui doc <component> | Full markdown documentation |
hiui url <component> | llms.md URL for component |
hiui migrate 4 5 | V4 → V5 dependency + class prefix upgrade |
hiui patch-for-react | Install and inject React 19 patch |
© XiaoMi, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/hiui of XiaoMi/hiui.
Open the folder on GitHubat commit f056c80
Hiui next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Hiui this skillXiaoMi/hiui | 877 | — | ~1.9k | Automated safety check: Pass | MIT | |
| Creative Tim UI Blockscreativetimofficial/ui | 12k | — | ~2.1k | Automated safety check: Notes | MIT | |
| Cosscrafter-station/petdex | 4.2k | — | ~1.4k | Automated safety check: Pass | MIT | |
| Ss Learnbitjaru/styleseed | 972 | — | ~1.3k | Automated safety check: Pass | MIT | |
| UI/UX Design System AdvisorGalaxy-Dawn/claude-scholar | 5.7k | 1 repos | ~1.1k | Automated safety check: Pass | MIT | |
| Design StyleCastor6/tactus | 376 | 1 repos | ~2.1k | Automated safety check: Pass | Apache-2.0 |
creativetimofficial/ui
Helps install, generate and review Creative Tim UI blocks: shadcn/ui-based React and Tailwind sections that follow a restrained, production-minded design philosophy.
crafter-station/petdex
Helps implement coss UI components correctly. An agent skill from crafter-station/petdex.
bitjaru/styleseed
Capture a human-approved UI design lesson as a privacy-minimized local StyleSeed candidate, review it, and prepare an opt-in share package without transmitting project code, prompts, screenshots, or…
Galaxy-Dawn/claude-scholar
Turns a vague UI request into a concrete design system with style, palette, typography and layout guidance from a search script, plus stack-specific implementation advice.
Castor6/tactus
A skill your agent uses whenever the user asks to build, create, design, develop, improve, or style any frontend interface or visual element.
lobehub/lobe-ui
Build UI with the LobeHub design ecosystem — @lobehub/ui (plus its base-ui, chat, mobile, awesome, brand, mdx, i18n namespaces), @lobehub/icons, @lobehub/charts, @lobehub/fluent-emoji and…
XiaoMi/hiui
体验走查 skill。适用于代码库、URL、截图三种输入,输出结构化体验问题报告,并同步生成本地 docx 报告。触发词:体验走查、UX review、交互走查、界面审查、体验问题。
XiaoMi/hiui
可作为 hiui-page-workflow 等更大页面工作流的标准 S0 前置 skill,专注 B 端中后台与 HiUI 页面生成前的需求细化。将模糊或抽象的后台/管理台/运营台/配置台/审批流需求细化为可执行的产品方案、MVP 范围、用户流程、业务规则、可追踪页面清单、产品 PRD、全局生成上下文、页面级提示词和 HiUI 交接包。适用于澄清后台产品想法、把粗略需求转成 PRD…
XiaoMi/hiui
用于 React / HiUI 页面从需求细化到端到端生成与验收。适用于从模糊产品需求生成并验收页面、 HiUI 页面提测前检查、页面生成后做体验走查、页面从需求到实现再到 UX 验收闭环等任务。
XiaoMi/hiui
在 React 项目中接入、生成、修改、联调或验收 HiUI 典型页与非典型页面时使用。适用于 数据统计表、普通表格、树形表格、左树右表、数据可视化、异常反馈页、抽屉表单/详情、 全页编辑/详情、不规范原型截图转规范页、老旧系统截图/URL/源码现代化转译,以及 host-integration、rules-only、legacy-host-compatible 等场景。
Works with
Categories
A skill your agent uses when the user's task involves HiUI (@hi-ui/) — writing HiUI components, debugging HiUI issues, querying HiUI props/docs, migrating from HiUI V4 to V5, or setting up React 19…. Hiui is an agent skill from XiaoMi/hiui. Use when the user's task involves HiUI (@hi-ui/) — writing HiUI components, debugging HiUI issues, querying HiUI props/docs, migrating from HiUI V4 to V5, or setting up React 19 compatibility with @hi-ui/patch-for-react.
Hiui fits situations like: the users task involves HiUI (@hi-ui/) — writing HiUI components; debugging HiUI issues; querying HiUI props/docs; migrating from HiUI V4 to V5.
Run `npx skills add XiaoMi/hiui --skill hiui -a claude-code`. Or copy the skill folder (skills/hiui in XiaoMi/hiui) into .claude/skills/hiui in your project. Claude Code loads it when a task matches its description.
Run `npx skills add XiaoMi/hiui --skill hiui -a codex`. Or copy the skill folder (skills/hiui in XiaoMi/hiui) into .agents/skills/hiui in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add XiaoMi/hiui --skill hiui -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/hiui, .gemini/skills/hiui, .github/skills/hiui and .opencode/skills/hiui in your project.
Going by SKILL.md and its folder, Hiui needs the command-line tools its instructions call (npm and pnpm). Our summary lists: Node.js. Its frontmatter pre-approves these tools: Bash(hiui *), Bash(npm install -g @hi-ui/hiui-cli*), Bash(which hiui).
SKILL.md names 3 domains. In commands or code: xiaomi.github.io; the agent is likely to contact it when it follows the instructions. As links in the text: npmjs.com and github.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Hiui is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.9k tokens (SKILL.md is roughly 7.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Hiui: Creative Tim UI Blocks (creativetimofficial/ui, 12k stars), Coss (crafter-station/petdex, 4.2k stars), Ss Learn (bitjaru/styleseed, 972 stars) and UI/UX Design System Advisor (Galaxy-Dawn/claude-scholar, 5.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
XiaoMi (a GitHub organization) maintains it in XiaoMi/hiui, which has 877 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on July 24, 2026.
Source: XiaoMi/hiui on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.