组件总览Components
26 个 Vue 组件与 7 个逻辑模块。每个组件都有 props / emits / slots / class 契约——数据来自源码内的契约文件。26 Vue components and 7 logic modules. Each ships with props, emits, slots and a class contract — extracted from the source.
表单Form4
FieldInput
输入框 / 文本域 / 下拉三态合一Input, textarea and select in one component
ImagePicker
点击选图 → 中心裁剪 → dataURLPick an image, center-crop it, get a data URL
SegmentedControl
2–4 个互斥选项,选中项以滑块平移2-4 mutually exclusive options with a sliding thumb
SelectMenu
自绘 listbox 取代原生 <select>;键盘/翻转/先设宽再测量Custom listbox replacing native <select>; keyboard, flip, measure-then-position
数据展示Data display4
CodeBox
等宽代码块 + 一键复制Monospace code block with one-click copy
KvList
键值对列表Key-value row list
StatCard
指标卡:标签 / 数值 / 涨跌Metric card: label, value and delta
TablePager
总数 + 每页条数 + 页码,整块滑动过渡Total, page size and page numbers; the block slides as one
展示Display7
AlertBox
info / ok / warn / danger 四种语气Four tones: info, ok, warn, danger
Badge
小圆角状态标签Small rounded status badge
EmptyState
空列表占位:图标 + 文案 + 动作Empty placeholder: icon, text and action
Icon
24 视框内联 SVG 图标组件Inline SVG icon component on a 24 viewBox
QrCode
本地二维码渲染(qrcode-generator,密钥不出网)Local QR renderer (qrcode-generator; secrets never leave the page)
TimelineList
竖向动态流Vertical activity feed
UserAvatar
图片 / 首字母回退,支持三档尺寸Image with initials fallback; three sizes
布局Layout3
导航Navigation1
浮层Overlay9
ConfirmDialog
危险操作二次确认Two-step confirmation for destructive actions
DrawerShell
右侧贴边抽屉,仅左侧圆角Edge drawer on the right, left-rounded only
ModalShell
液态玻璃弹窗;必须挂在 .anx-overlay-layer 内Glass modal; must live inside .anx-overlay-layer
OverlayHost
把浮层 Teleport 到 #overlay-layer 的出口Teleports overlays to #overlay-layer
OverlaySlot
在 #overlay-layer 内声明式挂载浮层Declarative overlay mount inside #overlay-layer
ToastHost
把 Toast Teleport 到 #toast-layer 的出口Teleports toasts to #toast-layer
manager
openModal / openDrawer / confirmDialog 统一入口Unified entry: openModal, openDrawer, confirmDialog
overlayState
浮层栈状态与句柄(openModal/openDrawer/closeTop)Overlay stack state and handles (openModal/openDrawer/closeTop)
toast
命令式 toast:toast(opts) 显示,返回关闭函数Imperative toast: toast(opts) shows a message and returns a close function
反馈Feedback1
逻辑Logic4
icons
内联 SVG 图标表(24 视框)Inline SVG icon table (24 viewBox)
qr
本地二维码生成(qrcode-generator,密钥不出网)Local QR generation (qrcode-generator; secrets never leave the page)
theme
明暗切换 + View Transitions 涟漪兜底Light/dark switching with a View-Transitions ripple fallback
usePager
分页状态机:页码 / 每页条数 / 切片 / 重置Pager state machine: page, size, slice and reset
没有匹配的组件No components match