Components Overview
fluent-design-vue provides 44+ component families built on Fluent 2 design tokens and reka-ui headless primitives.
通用组件 General
| Component | Description | Headless |
|---|---|---|
| Button | Button with multiple appearances | Native |
| Text | Typography component | Native |
| Link | Link with appearances | Native |
| Label | Form label | Native |
| Divider | Horizontal/vertical divider | Native |
| Image | Image with fit/shape | Native |
| Avatar | Avatar with initials/image | Native |
| Badge | Badge indicators | Native |
| Spinner | Loading spinner | Native |
| Tag | Tag chips | Native |
表单录入 Form Input
| Component | Description | Headless |
|---|---|---|
| Input | Text input field | Native |
| Textarea | Multi-line text input | Native |
| SearchBox | Search input with clear | Native |
| Select | Dropdown select | reka-ui |
| Combobox | Searchable dropdown | reka-ui |
| Checkbox | Checkbox with indicator | reka-ui |
| Radio | Radio group | reka-ui |
| Switch | Toggle switch | reka-ui |
| Slider | Range slider | reka-ui |
| SpinButton | Numeric stepper | Native |
| Rating | Star rating | Native |
| Field | Form field wrapper | Native |
| Form | Form validation guide | — |
数据展示 Data Display
| Component | Description | Headless |
|---|---|---|
| Card | Card container | Native |
| DataGrid | Sortable data grid with selection | TanStack |
| Table | Data table | Native |
| List | Vertical list | Native |
| ProgressBar | Progress indicator | Native |
| Skeleton | Skeleton loading placeholders | Native |
| Accordion | Collapsible sections | reka-ui |
导航 Navigation
| Component | Description | Headless |
|---|---|---|
| Tabs | Tabbed navigation | reka-ui |
| Breadcrumb | Navigation breadcrumb | Native |
| Nav | Side navigation | Native |
| Menu | Context/dropdown menu | reka-ui |
| Toolbar | Toolbar with toggles | reka-ui |
反馈 Feedback
| Component | Description | Headless |
|---|---|---|
| Dialog | Modal dialog | reka-ui |
| Drawer | Slide-out panel | reka-ui |
| Popover | Popup surface | reka-ui |
| Tooltip | Hover tooltip | reka-ui |
| Toast | Notification toast | Teleport |
| MessageBar | Informational banner | Native |
布局 Layout
| Component | Description | Headless |
|---|---|---|
| Stack | Flexbox layout helper | Native |
| Provider | Theme provider | Native |
Usage
vue
<script setup>
import { FuiButton } from 'fluent-design-vue'
</script>
<template>
<FuiButton appearance="primary">Click me</FuiButton>
</template>All components are registered globally in the docs so you can use them directly in markdown.