异常 / 结果页

居中状态图标 + 标题 + 说明 + 操作,404 / 403 / 500 / 成功统一范式。

安装与接入

数据来自本站 registry vv0.23.0,与 shadcn CLI 实际拉取的是同一份。

bash
npx shadcn@latest add https://hulianui.haloritual.com/zh/r/page-result.json
写入文件1 个
  • components/hulianui/pages/result.tsx
需要 Provider
ThemeProvider
必须替换接入前逐项处理
文案导航与路由
npm 依赖
@hulianui/uinext

装完验一遍

门禁按 conventions 的可执行规则扫描目标文件;错误级违规会以非零状态退出。

bash
npx -y @hulianui/guard components/hulianui/pages/result.tsx