Token导航 LogoToken导航

Agent Skill · 前端设计

syncfusion-blazor-buttons(同步融合 Blazor 按钮)

syncfusion-blazor-buttons 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

syncfusion-blazor-buttons 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描已通过,按安装量在前端设计类的 10,216 个 Skill 里排第 7,463。

总安装 372周安装 16GitHub Stars 公开资料未说明下载 131核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:syncfusion-blazor-buttons(同步融合 Blazor 按钮)
来源仓库:https://github.com/syncfusion/blazor-ui-components-skills
仓库路径:skills/syncfusion-blazor-buttons
安装命令:
npx skills add https://github.com/syncfusion/blazor-ui-components-skills --skill syncfusion-blazor-buttons
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/syncfusion/blazor-ui-components-skills --skill syncfusion-blazor-buttons

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

按钮组件集合,提供多种样式和状态的标准化交互元素。适合表单提交、操作确认或流程跳转等通用点击交互场景。直接在 Razor 标记中使用,支持图标、禁用态和加载动画配置。遵循无障碍设计原则,确保键盘导航和屏幕阅读器兼容。频繁触发操作时应添加防抖机制,避免重复提交问题。

syncfusion-blazor-buttons 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/syncfusion-blazor-buttons

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/syncfusion/blazor-ui-components-skills --skill…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

syncfusion-blazor-buttons 怎么安装?

在终端执行 npx skills add https://github.com/syncfusion/blazor-ui-components-skills --skill syncfusio…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

syncfusion-blazor-buttons 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

syncfusion-blazor-buttons 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

syncfusion-blazor-buttons 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

syncfusion-blazor-buttons 用的人多吗?

公开数据是累计安装 372 次,近一周安装 16 次,下载 131 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

syncfusion-blazor-buttons 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
syncfusion-blazor-buttons

同步融合 Blazor 按钮 · 本页

372—只读未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Syncfusion Blazor Buttons Components

Table of Contents


Components Overview

The Syncfusion.Blazor.Buttons package provides 11 comprehensive button components:

Core Buttons

  1. Button (SfButton) - Standard button with multiple types, styles, icons, and states
  2. ButtonGroup (SfButtonGroup) - Grouped button controls with selection modes
  3. CheckBox (SfCheckBox) - Tri-state checkbox with checked, unchecked, and indeterminate states
  4. RadioButton (SfRadioButton) - Radio button for mutually exclusive selections
  5. ToggleSwitch (SfSwitch) - On/off toggle switch control

Interactive Buttons

  1. DropdownMenu (SfDropDownButton) - Button with dropdown menu options
  2. SplitButton (SfSplitButton) - Button with primary action and dropdown menu
  3. ProgressButton (SfProgressButton) - Button with built-in progress indication

Floating Actions

  1. FloatingActionButton (SfFab) - Circular floating action button
  2. SpeedDial (SfSpeedDial) - FAB with expandable action items (linear/radial)

Chip Components

  1. Chip (SfChip) - Compact elements for tags, filters, selections, and actions

Package: Syncfusion.Blazor.Buttons and Syncfusion.Blazor.SplitButtons


Common Setup and Installation

All button components share the same installation and setup process:

NuGet Packages

Install the required packages based on component type:

# For Button, Chip, FAB, ToggleSwitch
dotnet add package Syncfusion.Blazor.Buttons

# For DropdownMenu, SplitButton, ProgressButton, ButtonGroup, SpeedDial
dotnet add package Syncfusion.Blazor.SplitButtons

# Required theme package
dotnet add package Syncfusion.Blazor.Themes

Setup Steps (Common for All)

1. Add Namespaces (~/_Imports.razor):

@using Syncfusion.Blazor
@using Syncfusion.Blazor.Buttons
@using Syncfusion.Blazor.SplitButtons

2. Register Service (~/Program.cs):

using Syncfusion.Blazor;
builder.Services.AddSyncfusionBlazor();

3. Add Theme and Script (~/index.html or ~/App.razor):

<head>
    <link href="_content/Syncfusion.Blazor.Themes/bootstrap5.css" rel="stylesheet" />
    <script src="_content/Syncfusion.Blazor.Core/scripts/syncfusion-blazor.min.js"></script>
</head>

Documentation and Navigation Guide

Button Component

📄 Read: references/button-features.md

  • Getting started and installation
  • Basic button implementation
  • Button types (flat, outline, round, primary, toggle)
  • Button styles (primary, success, info, warning, danger, link)
  • Icons and icon positioning
  • Button sizes (small, normal)
  • Repeat buttons
  • Tooltips
  • HTML attribute support
  • Native event handling

📄 Read: references/button-styling.md

  • CSS class customization
  • Appearance customization
  • Block buttons
  • Rounded corners
  • RTL (right-to-left) support
  • Theme integration
  • Color schemes and variations
  • Responsive design patterns

📄 Read: references/button-advanced-features.md

  • Accessibility (WCAG compliance, keyboard navigation, ARIA attributes)
  • Screen reader support
  • Disabled state handling
  • Toggle button functionality
  • Server vs Web App implementation differences
  • Performance optimization
  • Best practices and common pitfalls

RadioButton Component

📄 Read: references/radio-button-features.md

  • Getting started and installation
  • Basic radio button implementation
  • Radio button grouping with Name property
  • Label configuration and positioning
  • State and value management
  • Two-way data binding (@bind-Checked)
  • Value property for identification
  • Pre-selecting default values
  • Form integration patterns

📄 Read: references/radio-button-styling.md

  • CssClass for custom styling
  • HtmlAttributes dictionary usage
  • EnableRtl for right-to-left layouts
  • Disabled state configuration
  • EnablePersistence for state storage
  • Custom CSS class patterns
  • Theme customization techniques
  • Responsive design approaches

📄 Read: references/radio-button-advanced-features.md

  • ValueChange event handler
  • ChangeArgs event data structure
  • CheckedChanged callback implementation
  • Created lifecycle event
  • Event handling patterns
  • ARIA attributes for accessibility
  • Keyboard navigation support
  • Best practices and common patterns

CheckBox Component

📄 Read: references/checkbox-features.md

  • Getting started and installation
  • Basic checkbox implementation
  • Checkbox states (checked, unchecked, disabled)
  • Label configuration
  • Change event handling
  • Two-way data binding (@bind-Checked)
  • Multiple checkboxes and checkbox groups
  • Indeterminate (tristate) state

📄 Read: references/checkbox-styling.md

  • CSS class customization
  • Appearance customization
  • Theme integration (Bootstrap5, Material, Fabric, Tailwind)
  • Color variations (primary, success, warning, danger)
  • Size customization
  • RTL (right-to-left) support
  • Disabled appearance
  • Label styling and spacing

📄 Read: references/checkbox-advanced-features.md

  • Disabled state handling and conditional disabling
  • Accessibility (WCAG, ARIA attributes, screen readers)
  • Keyboard navigation (Tab, Space)
  • Form integration and validation
  • State management patterns
  • Best practices and common patterns

Button Group Component

📄 Read: references/button-group-features.md

  • Getting started and installation
  • Basic button group implementation
  • Horizontal and vertical orientation
  • Selection modes (single, multiple, none)
  • Nesting button groups
  • Native event handling
  • Item configuration and data binding

📄 Read: references/button-group-styling.md

  • Appearance customization
  • Button types and styles within groups
  • Icons in button groups
  • Size variations
  • Custom CSS classes
  • Theme integration

📄 Read: references/button-group-advanced-features.md

  • Accessibility features
  • Keyboard navigation
  • Selection state management
  • Event handling patterns
  • Best practices for button groups

Chip Component

📄 Read: references/chip-features.md

  • Getting started and installation
  • Basic chip implementation
  • Chip types (input, filter, choice, action)
  • Icon integration
  • Delete functionality
  • Selection handling
  • Events (click, delete, created, beforeItemRender)
  • Dynamic chip collections
  • Rendering from data sources

📄 Read: references/chip-styling.md

  • Appearance customization
  • Color variations
  • Size options
  • Custom CSS classes
  • Icon and avatar styling
  • Theme integration
  • Responsive design

📄 Read: references/chip-advanced-features.md

  • Accessibility support
  • Keyboard navigation
  • Custom template support
  • State management patterns
  • Event handling
  • Best practices

Dropdown Menu Component

📄 Read: references/dropdown-menu-features.md

  • Getting started and installation
  • Basic dropdown menu implementation
  • Popup items configuration (text, ID, icon, separator)
  • Icons in menu items
  • Item click events
  • Opening and closing behavior
  • Position customization
  • Dynamically adding/removing items
  • Grouped popups with ListView integration
  • Dialog opening on item click
  • DropdownList vs DropdownButton comparison

📄 Read: references/dropdown-menu-styling.md

  • Appearance customization
  • Caret icon customization
  • Hiding dropdown arrow
  • Icon and width customization
  • Popup width customization
  • Rounded corners
  • RTL support
  • Animation effects
  • Template customization
  • Theme integration

📄 Read: references/dropdown-menu-advanced-features.md

  • Accessibility features
  • Disabled state handling
  • Native event handling
  • Keyboard navigation
  • Focus management
  • Best practices and patterns

Floating Action Button (FAB) Component

📄 Read: references/fab-features.md

  • Getting started and installation
  • Basic FAB implementation
  • Position options (TopLeft, TopCenter, TopRight, MiddleLeft, MiddleCenter, MiddleRight, BottomLeft, BottomCenter, BottomRight)
  • Icons configuration
  • Content customization
  • Target element binding
  • Click event handling
  • Show/hide behavior
  • Visibility control

📄 Read: references/fab-styling.md

  • Appearance styles (primary, success, info, warning, danger)
  • Size variations (small, medium, large)
  • Icon positioning
  • Color customization
  • CSS class customization
  • Disabled appearance
  • Theme integration

📄 Read: references/fab-advanced-features.md

  • Accessibility support
  • Keyboard navigation
  • Event handling patterns
  • State management
  • Best practices for FAB usage

Progress Button Component

📄 Read: references/progress-button-features.md

  • Getting started and installation
  • Basic progress button implementation
  • Spinner types and positions (left, right, top, bottom, center)
  • Progress states (Begin, Progress, End, Fail)
  • Duration configuration
  • Content customization during progress
  • Events (OnBegin, Progress, End, Fail)
  • Stopping progress programmatically
  • Hiding spinner
  • Progress tracking

📄 Read: references/progress-button-styling.md

  • Appearance customization
  • Button types and icons
  • CSS class customization for progress states
  • Progress indicator styling
  • Spinner customization
  • Content changes during progress
  • Theme integration

📄 Read: references/progress-button-advanced-features.md

  • Accessibility features
  • Trace events for debugging
  • Native event handling
  • State management patterns
  • Error handling
  • Best practices for progress buttons

Speed Dial Component

📄 Read: references/speeddial-features.md

  • Getting started and installation
  • Basic SpeedDial implementation
  • Display modes (Linear, Radial)
  • Action items configuration
  • Position options (9 positions)
  • Open and close behavior
  • Item click events
  • Open modes (Hover, Click)
  • Direction options (Up, Down, Left, Right, Auto)
  • Radial settings (offset, direction, startAngle, endAngle)
  • Icon configuration (open/close icons)

📄 Read: references/speeddial-styling.md

  • Appearance customization
  • Icons (open icon, close icon, item icons)
  • Color variations
  • Item templates
  • CSS class customization
  • Animation effects
  • Theme integration

📄 Read: references/speeddial-advanced-features.md

  • Accessibility support
  • Keyboard navigation
  • Event handling (all events)
  • State management patterns
  • Modal backdrop
  • Best practices

Split Button Component

📄 Read: references/split-button-features.md

  • Getting started and installation
  • Basic split button implementation
  • Dropdown menu items configuration
  • Primary button action
  • Item selection events
  • Icons in items
  • Separator support
  • Opening and closing behavior
  • Event handling

📄 Read: references/split-button-styling.md

  • Appearance customization
  • Button styles
  • Icons and icon positioning
  • Size variations
  • Custom CSS classes
  • RTL support
  • Theme integration

📄 Read: references/split-button-advanced-features.md

  • Accessibility features
  • Disabled state handling
  • Keyboard navigation
  • Native event handling
  • Best practices

Toggle Switch Component

📄 Read: references/toggle-switch-features.md

  • Getting started and installation
  • Basic toggle switch implementation
  • Checked and unchecked states
  • Two-way data binding (@bind-Checked)
  • On/Off label configuration
  • Change events
  • Value binding
  • Name attribute for forms
  • Default state configuration

📄 Read: references/toggle-switch-styling.md

  • Appearance customization
  • Size variations
  • Label customization (OnLabel, OffLabel)
  • Color schemes
  • Custom CSS classes
  • RTL support
  • Material theme considerations (no text support)
  • Theme integration

📄 Read: references/toggle-switch-advanced-features.md

  • Accessibility support
  • Keyboard navigation
  • Disabled state handling
  • Form integration
  • State management patterns
  • Best practices

Common Patterns Across Components

Event Handling Pattern

All button components support standard Blazor event handling:

<SfButton OnClick="HandleClick">Click Me</SfButton>

@code {
    private void HandleClick()
    {
        // Handle button click
    }
}

Styling Pattern

All components support CSS class customization:

<SfButton CssClass="e-primary custom-button">Styled Button</SfButton>

Icon Integration Pattern

Most components support icon CSS classes:

<SfButton IconCss="e-icons e-plus-icon">Add Item</SfButton>

Disabled State Pattern

All interactive components support disabled state:

<SfButton Disabled="@isDisabled">Button</SfButton>

RTL Support Pattern

All components support right-to-left rendering:

<SfButton EnableRtl="true">RTL Button</SfButton>

Shared Configuration

Theme Options

All button components support Syncfusion themes:

  • Bootstrap5 (default): bootstrap5.css
  • Material: material.css
  • Fabric: fabric.css
  • Tailwind: tailwind.css
  • Fluent: fluent.css

Common CSS Classes

Standard CSS utility classes work across components:

  • e-primary: Primary action styling
  • e-success: Success/positive action
  • e-info: Informational action
  • e-warning: Warning/caution action
  • e-danger: Danger/negative action
  • e-link: Hyperlink styling
  • e-small: Small size variant
  • e-flat: Flat style (no background)
  • e-outline: Outline style (border only)
  • e-round: Circular/rounded style

Accessibility Features

All components include:

  • ARIA attributes
  • Keyboard navigation support
  • Screen reader compatibility
  • Focus indicators
  • WCAG 2.1 compliance

Common Use Cases

Standard Actions

Use Button for primary, secondary, and tertiary actions in forms, dialogs, and pages.

Multi-Selection

Use CheckBox for multiple independent selections, list items, and preferences.

Exclusive Selection

Use RadioButton for single selection from multiple options, preferences, settings, and survey questions.

Grouped Actions

Use ButtonGroup for related actions like text alignment, view modes, or filter options.

Tags and Filters

Use Chip for tags, contact lists, filter selections, and removable items.

Menu Actions

Use DropdownMenu for contextual menus with multiple options.

Dual Actions

Use SplitButton when you need a primary action with additional options.

Long Operations

Use ProgressButton for operations that take time (file upload, form submission, API calls).

Primary Page Actions

Use FloatingActionButton for the primary action on mobile or dashboard pages.

Multiple Quick Actions

Use SpeedDial when you need multiple related actions accessible from a single FAB.

On/Off States

Use ToggleSwitch for binary settings, feature toggles, and preferences.


Quick Start Examples

Basic Button

<SfButton CssClass="e-primary">Primary Action</SfButton>

Basic CheckBox

<SfCheckBox TChecked="bool" Label="Accept Terms"></SfCheckBox>

CheckBox with Two-Way Binding

<SfCheckBox @bind-Checked="isEnabled" Label="Enable Feature"></SfCheckBox>

@code {
    private bool isEnabled = false;
}

Multiple Checkboxes

<SfCheckBox TChecked="bool"  Label="Option 1"></SfCheckBox>
<SfCheckBox TChecked="bool" Label="Option 2"></SfCheckBox>
<SfCheckBox TChecked="bool" Label="Option 3"></SfCheckBox>

Tristate CheckBox

<SfCheckBox EnableTriState="true" Checked="null" Label="Select All" TChecked="bool?"></SfCheckBox>

Basic RadioButton

<SfRadioButton Label="Option 1" Name="group" Value="option1" @bind-Checked="@selected"></SfRadioButton>
<SfRadioButton Label="Option 2" Name="group" Value="option2" @bind-Checked="@selected"></SfRadioButton>
<SfRadioButton Label="Option 3" Name="group" Value="option3" @bind-Checked="@selected"></SfRadioButton>

@code {
    private string selected = "option1";
}

RadioButton Group

<h4>Choose Your Plan</h4>
<SfRadioButton Label="Free" Name="plan" Value="free" @bind-Checked="@plan"></SfRadioButton>
<SfRadioButton Label="Pro" Name="plan" Value="pro" @bind-Checked="@plan"></SfRadioButton>
<SfRadioButton Label="Enterprise" Name="plan" Value="enterprise" @bind-Checked="@plan"></SfRadioButton>

@code {
    private string plan = "free";
}

Button with Icon

<SfButton IconCss="e-icons e-plus-icon" CssClass="e-primary">
    Add New
</SfButton>

Toggle Switch

<SfSwitch @bind-Checked="isEnabled" OnLabel="On" OffLabel="Off"></SfSwitch>

@code {
    private bool isEnabled = true;
}

Dropdown Menu

<SfDropDownButton Content="Actions">
    <DropDownMenuItems>
        <DropDownMenuItem Text="Edit"></DropDownMenuItem>
        <DropDownMenuItem Text="Delete"></DropDownMenuItem>
    </DropDownMenuItems>
</SfDropDownButton>

Floating Action Button

<div id="target" style="min-height:200px; position:relative;">
    <SfFab Target="#target" IconCss="e-icons e-plus" Content="Add"></SfFab>
</div>

Chip Collection

<SfChip EnableDelete="true">
    <ChipItems>
        <ChipItem Text="Tag 1"></ChipItem>
        <ChipItem Text="Tag 2"></ChipItem>
        <ChipItem Text="Tag 3"></ChipItem>
    </ChipItems>
</SfChip>

Navigation Tips

  • For installation and basic setup, refer to any component's features file
  • For styling and appearance, refer to the styling files for each component
  • For accessibility and advanced features, refer to the advanced-features files
  • For specific component features, navigate to that component's documentation sections above

Support and Resources


Remember: Always start with the appropriate component's features file for implementation guidance, then move to styling and advanced features as needed.

平台分布

Codex

33.71%
按下载量换算44

Claude

30.64%
按下载量换算40

Cursor

17.05%
按下载量换算22

Gemini CLI

9.83%
按下载量换算13

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills