Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计通过

syncfusion-blazor-appbar同步融合 Blazor 应用栏

Agent Skill

syncfusion-blazor-appbar 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

371

周安装

15

GitHub Stars

公开资料未说明

下载量

116
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

应用栏组件,提供顶部导航栏和工具栏的统一布局方案。

  • 适合移动端或响应式网站,实现一致的头部交互体验。syncfusion-blazor-appbar 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 在 Razor 文件中声明并使用标准属性进行样式定制。
  • 需配合 Syncfusion 主题包使用,自定义样式时注意 CSS 优先级。
  • 若包含用户认证信息应启用 HTTPS 并防范 XSS 攻击。

SKILL.md

Syncfusion Blazor AppBar Component

The Syncfusion Blazor AppBar is a navigation component that displays information and actions related to the current application screen. It provides a consistent header area for branding, navigation, and actions across your application with flexible configuration options for appearance and behavior.

When to Use This Skill

Use this skill when implementing an AppBar in Blazor applications that requires:

  • Navigation headers with branding, menus, and action buttons
  • Application toolbars with context-specific actions and controls
  • Responsive headers that adapt to different screen sizes
  • Fixed or sticky positioning at the top or bottom of the viewport
  • Integration with other components like menus, buttons, sidebars
  • Custom styling to match application themes and branding

Component Overview

The AppBar component provides:

  • Flexible layout with spacers and separators for organizing content
  • Multiple size modes (Regular, Prominent, Dense) for different use cases
  • Multiple color modes (Light, Dark, Primary, Inherit) for theming
  • Positioning options (Top, Bottom, Sticky) for layout control
  • Child component support for buttons, menus, dropdowns, and custom content
  • Responsive design with media query support

Documentation and Navigation Guide

Getting Started and Installation

📄 Read: references/getting-started.md

Read this reference when you need to:

  • Install and configure the Syncfusion Blazor AppBar package
  • Add required namespaces and service registrations
  • Include stylesheet and script resources
  • Create your first basic AppBar implementation
  • Add buttons and spacers to the AppBar
  • Understand the component's basic structure and usage

Size and Color Configuration

📄 Read: references/size-and-color.md

Read this reference when you need to:

  • Configure AppBar height with size modes (Regular, Prominent, Dense)
  • Use Regular AppBar for standard height navigation
  • Implement Prominent AppBar for larger titles, images, or hero sections
  • Apply Dense AppBar for compact, space-efficient headers
  • Configure color modes (Light, Dark, Primary, Inherit)
  • Apply Light mode for default light backgrounds
  • Apply Dark mode for dark-themed applications
  • Apply Primary mode using theme's primary colors
  • Apply Inherit mode to use parent element styling
  • Combine size and color modes for different visual effects

Positioning Options

📄 Read: references/positioning.md

Read this reference when you need to:

  • Control AppBar position with the Position property
  • Implement Top AppBar positioning (default)
  • Implement Bottom AppBar for bottom-anchored navigation
  • Enable Sticky AppBar behavior with the IsSticky property
  • Handle scrolling behavior with sticky positioning
  • Manage content layout around positioned AppBars
  • Understand positioning interactions with page content

Design UI Elements

📄 Read: references/design-ui.md

Read this reference when you need to:

  • Add spacing with AppBarSpacer component
  • Add visual separators with AppBarSeparator component
  • Implement responsive design with media queries
  • Integrate SfMenu component for navigation menus
  • Integrate SfButton and SfDropDownButton for actions
  • Integrate SfSidebar with AppBar toggle button
  • Control sidebar expand/collapse from AppBar
  • Style child components with e-inherit CSS class
  • Build complex AppBar layouts with multiple components

Styling and Customization

📄 Read: references/styling.md

Read this reference when you need to:

  • Customize AppBar appearance with CSS classes
  • Use the CssClass property for custom styling
  • Override default CSS for specific elements
  • Apply custom background and font colors
  • Use HtmlAttributes for additional HTML attributes
  • Add custom aria-label attributes
  • Integrate with Theme Studio for theming
  • Apply CSS variable overrides
  • Understand available CSS class selectors

Quick Start Example

Here's a minimal example to create a basic AppBar with navigation:

@using Syncfusion.Blazor.Navigations
@using Syncfusion.Blazor.Buttons

<SfAppBar ColorMode="AppBarColor.Primary">
    <SfButton CssClass="e-inherit" IconCss="e-icons e-menu"></SfButton>
    <span class="app-title">My Application</span>
    <AppBarSpacer></AppBarSpacer>
    <SfButton CssClass="e-inherit" Content="Login"></SfButton>
</SfAppBar>

Prerequisites:

  1. Install Syncfusion.Blazor.Navigations package
  2. Add @using Syncfusion.Blazor.Navigations to _Imports.razor
  3. Register service with builder.Services.AddSyncfusionBlazor()
  4. Include theme CSS and Syncfusion script in index.html

Common Patterns

Application Header with Logo and Actions

<SfAppBar ColorMode="AppBarColor.Light">
    <a href="/" class="logo-link">
        <img src="logo.svg" alt="Company Logo" height="30" />
    </a>
    <AppBarSpacer></AppBarSpacer>
    <SfButton CssClass="e-inherit" Content="Features"></SfButton>
    <SfButton CssClass="e-inherit" Content="Pricing"></SfButton>
    <SfButton CssClass="e-inherit" Content="About"></SfButton>
    <AppBarSeparator></AppBarSeparator>
    <SfButton IsPrimary="true" Content="Sign Up"></SfButton>
</SfAppBar>

Responsive AppBar with Menu Toggle

<SfAppBar ColorMode="AppBarColor.Primary">
    <SfButton CssClass="e-inherit" IconCss="e-icons e-menu" @onclick="ToggleMenu"></SfButton>
    <span class="app-title">Dashboard</span>
    <AppBarSpacer></AppBarSpacer>
    <SfButton CssClass="e-inherit" IconCss="e-icons e-settings"></SfButton>
    <SfButton CssClass="e-inherit" IconCss="e-icons e-user"></SfButton>
</SfAppBar>

Sticky AppBar with Navigation Menu

<SfAppBar ColorMode="AppBarColor.Dark" IsSticky="true">
    <span class="brand">MyApp</span>
    <SfMenu CssClass="e-inherit" TValue="MenuItem">
        <MenuItems>
            <MenuItem Text="Home"></MenuItem>
            <MenuItem Text="Products">
                <MenuItems>
                    <MenuItem Text="Product 1"></MenuItem>
                    <MenuItem Text="Product 2"></MenuItem>
                </MenuItems>
            </MenuItem>
            <MenuItem Text="Contact"></MenuItem>
        </MenuItems>
    </SfMenu>
    <AppBarSpacer></AppBarSpacer>
    <SfButton CssClass="e-inherit" Content="Account"></SfButton>
</SfAppBar>

Bottom AppBar for Mobile Actions

<SfAppBar ColorMode="AppBarColor.Primary" Position="AppBarPosition.Bottom">
    <SfButton CssClass="e-inherit" IconCss="e-icons e-home"></SfButton>
    <SfButton CssClass="e-inherit" IconCss="e-icons e-search"></SfButton>
    <SfButton CssClass="e-inherit" IconCss="e-icons e-heart"></SfButton>
    <SfButton CssClass="e-inherit" IconCss="e-icons e-user"></SfButton>
</SfAppBar>

Key Properties Reference

PropertyTypeDefaultDescription
ColorModeAppBarColorLightSets the background color mode (Light, Dark, Primary, Inherit)
ModeAppBarModeRegularSets the height mode (Regular, Prominent, Dense)
PositionAppBarPositionTopSets the position (Top, Bottom)
IsStickyboolfalseEnables sticky behavior on scroll
CssClassstring-Custom CSS class for styling
HtmlAttributesDictionary-Additional HTML attributes

Child Components

ComponentPurposeUsage
AppBarSpacerAdds flexible spacing between elementsPlace between elements to push them apart
AppBarSeparatorAdds a vertical divider linePlace between groups of related items
SfButtonAction buttons with e-inherit stylingUse CssClass="e-inherit" to match AppBar theme
SfMenuNavigation menu integrationUse CssClass="e-inherit" for consistent styling

Common Use Cases

1. Main Application Navigation

Create a primary navigation header with logo, menu items, and user actions.

When: Building the main navigation for web applications Pattern: Logo + Menu Items + Spacer + User Actions Reference: design-ui.md

2. Dashboard Header

Implement a dashboard toolbar with context-specific actions and controls.

When: Building admin dashboards or data-focused applications Pattern: Menu Toggle + Title + Spacer + Action Buttons Reference: design-ui.md

3. Mobile Bottom Navigation

Create a mobile-optimized bottom navigation bar with icon buttons.

When: Building mobile-responsive applications Pattern: Bottom Position + Icon Buttons Reference: positioning.md

4. Hero Section Header

Implement a prominent AppBar for landing pages with large titles and images.

When: Creating marketing or landing pages Pattern: Prominent Mode + Custom Background + Large Typography Reference: size-and-color.md

5. Compact Toolbar

Create a space-efficient toolbar for applications with limited vertical space.

When: Building data-dense applications or tools Pattern: Dense Mode + Icon Buttons + Separators Reference: size-and-color.md

6. Sidebar Toggle Navigation

Implement an AppBar that controls sidebar visibility for navigation.

When: Building applications with collapsible side navigation Pattern: Menu Button + Title + Spacer + Actions + Sidebar Integration Reference: design-ui.md

Tips for Success

  • Use e-inherit CSS class on child buttons and menus to inherit AppBar's color scheme
  • Combine AppBarSpacer to create flexible layouts that adapt to content
  • Test responsive behavior with media queries for different screen sizes
  • Consider sticky positioning for navigation that stays visible while scrolling
  • Customize with CssClass instead of overriding default styles directly
  • Match size mode to context: Regular for standard apps, Prominent for heroes, Dense for tools

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.27%
按下载量换算40

Claude

30.63%
按下载量换算36

Cursor

19.64%
按下载量换算23

Gemini CLI

9.79%
按下载量换算11

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills