# AntDesign.Mini.Components.Blazor
**Repository Path**: fan0217_admin/AntDesign.Mini.Components
## Basic Information
- **Project Name**: AntDesign.Mini.Components.Blazor
- **Description**: 基于 Ant Design Mini 设计规范的 Blazor 移动端组件库。支持Server和WebAssembly、MAUI blazor。
- **Primary Language**: C#
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 2
- **Forks**: 0
- **Created**: 2026-03-25
- **Last Updated**: 2026-04-29
## Categories & Tags
**Categories**: Uncategorized
**Tags**: antdesign, blazor, components
## README
# AntDesign.Mini.Components
基于 Ant Design Mobile 的 Blazor 移动端组件库,为 .NET 开发者提供高质量的移动端 UI 组件。
## 特性
- 🎨 **丰富的组件** - 提供 60+ 个高质量的移动端组件
- 📱 **移动优先** - 专为移动端设计,完美适配各种移动设备
- 🚀 **Blazor 原生** - 基于 Blazor 技术栈,支持 WebAssembly 和 Server 模式
- 💪 **TypeScript 类型支持** - 完整的 C# 类型定义
- 🎯 **易于使用** - 简洁的 API 设计,快速上手

## 组件列表
### 基础组件
- Button 按钮
- Icon 图标
- ImageIcon 图片图标
- Typography 排版
### 布局组件
- Container 容器
- Grid 栅格
- Space 间距
- Divider 分割线
- PageContainer 页面容器
- SafeArea 安全区域
- Sticky 吸顶容器
### 导航组件
- TabBar 标签栏
- Tabs 标签页
- Navigation 导航栏
- IndexBar 索引栏
- Pagination 分页
### 数据录入
- Checkbox 复选框
- Checklist 复选框列表
- Radio 单选框
- Switch 开关
- Stepper 步进器
- Slider 滑动条
- Rate 评分
- Input 输入框
- NumberInput 数字输入框
- NumberKeyboard 数字键盘
- TextArea 文本域
- Picker 选择器
- DatePicker 日期选择
- Selector 选择器
- Form 表单
- ImageUpload 图片上传
### 数据展示
- Avatar 头像
- Badge 徽标
- Card 卡片
- Collapse 折叠面板
- List 列表
- Tag 标签
- Progress 进度条
- Steps 步骤条
- Skeleton 骨架屏
- Empty 空状态
- Result 结果页
- Countdown 倒计时
- NoticeBar 通知栏
### 反馈组件
- Dialog 对话框
- Modal 模态框
- Toast 轻提示
- ActionSheet 动作面板
- Popup 弹出层
- Popover 气泡弹窗
- PopoverList 气泡菜单
- Loading 加载
- Mask 遮罩
- Feedback 反馈
### 引导组件
- GuideTour 漫游式引导
### 特色组件
- AutoResize 自适应尺寸
- SwipeAction 滑动操作
- Alphabet 字母表
- Calendar 日历
- Postscript 附言
- Terms 条款
- Voucher 凭证
### AI 组件 (Copilot)
- Bubble 气泡
- Prompts 提示集
- Sender 发送框
- Conversations 对话列表
- Welcome 欢迎
- Actions 操作
- ThoughtChain 思维链
### 其他
- ConfigProvider 全局配置
- Footer 页脚
## 安装
### NuGet 包安装
```bash
dotnet add package AntDesign.Mini.Components
```
### 项目引用
在 `_Imports.razor` 文件中添加:
```razor
@using AntDesign.Mini.Components
```
## 快速开始
### 1. 创建 Blazor WebAssembly 项目
```bash
dotnet new blazorwasm -n YourApp
cd YourApp
```
### 2. 添加组件库引用
```bash
dotnet add package AntDesign.Mini.Components
```
### 3. 在页面中使用组件
```razor
@page "/"
@using AntDesign.Mini.Components.Components.Button