Token导航 LogoToken导航

Agent Skill · 前端设计

syncfusion-react-dashboard-layout(syncfusion React dashboard layout 前端)

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

syncfusion-react-dashboard-layout 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在前端设计类的 10,216 个 Skill 里排第 5,438。

总安装 674周安装 27GitHub Stars 1下载 218核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/syncfusion/react-ui-components-skills --skill syncfusion-react-dashboard-layout

这个 Skill 是做什么的

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

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。适合生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构。使用时需结合项目现有设计系统、路由和构建方式,避免生成孤立片段。涉及页面改动时应配合本地预览和构建检查确认视觉效果。

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

来源仓库内路径:skills/syncfusion-react-dashboard-layout

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

syncfusion-react-dashboard-layout 怎么安装?

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

syncfusion-react-dashboard-layout 支持哪些 AI 工具?

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

syncfusion-react-dashboard-layout 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

syncfusion-react-dashboard-layout 是免费的吗?

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

syncfusion-react-dashboard-layout 用的人多吗?

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

syncfusion-react-dashboard-layout 安全吗?

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

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

值得选的地方

  • 同时适配 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-react-dashboard-layout

syncfusion React dashboard layout 前端 · 本页

6741需要联网未明确通过

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

SKILL.md 原文

Implementing Syncfusion React Dashboard Layout

Syncfusion React Dashboard Layout is a powerful component for building responsive, interactive dashboard interfaces with draggable and resizable panels. It provides a flexible grid-based system for organizing content, automatic floating arrangement, and comprehensive state management.

Key Capabilities:

  • Multi-column grid layouts with flexible cell sizing
  • Drag-and-drop panel repositioning
  • Resizable panels with size constraints
  • Automatic floating arrangement (fills empty spaces)
  • Responsive design with media queries
  • Dynamic panel add/remove/update operations
  • State persistence across sessions
  • Comprehensive event system for monitoring changes
  • Accessibility support and RTL rendering

Documentation and Navigation Guide

Choose the reference that matches your current task:

🚀 Getting Started

📄 Read: references/getting-started.md

  • Installation and package setup
  • CSS theme imports and configuration
  • Creating your first dashboard
  • Basic panel implementation
  • Common setup issues and solutions

🎯 Core Concepts

📄 Read: references/core-functionality.md

  • Panel creation and configuration (PanelModel interface)
  • Basic dragging and positioning
  • Basic resizing with constraints
  • Grid configuration fundamentals
  • Complete component overview

📄 Read: references/properties-reference.md

  • All 15 component properties documented
  • Layout properties (columns, cellSpacing, cellAspectRatio)
  • Customization options (enableRtl, enablePersistence, showGridLines)
  • Advanced properties (mediaQuery, draggableHandle, resizableHandles)
  • Complete property reference with patterns

🎨 User Interface & Customization

📄 Read: references/panel-templates.md

  • Panel structure and composition
  • Header templates (text, HTML, interactive)
  • Content templates (HTML strings, JSX, Syncfusion components)
  • Embedding charts, grids, and widgets
  • Dynamic content updates
  • Template best practices and optimization

📄 Read: references/styling-customization.md

  • Complete CSS selector reference
  • Theme system integration (Tailwind, Bootstrap, Material, Fluent)
  • Header and content area styling
  • Resize handle styling and customization
  • Panel backgrounds, borders, and gradients
  • Dragging and interaction state styling
  • Advanced customization patterns

🎮 Interaction & Behavior

📄 Read: references/dragging-behavior.md

  • Enable and configure drag functionality
  • Drag events (dragStart, drag, dragStop)
  • Collision detection and panel pushing
  • Custom drag handles (header-only, icon-only, multiple)
  • Preventing specific panels from dragging
  • Visual feedback and placeholder styling
  • Programmatic panel movement
  • Undo/redo implementation

📄 Read: references/resizing-floating.md

  • Enable and configure resize functionality
  • Resize handle directions (SE, E, W, N, S, NW, NE, SW)
  • Size constraints (minSizeX, minSizeY, maxSizeX, maxSizeY)
  • Resize events (resizeStart, resize, resizeStop)
  • Floating behavior and gap filling
  • Programmatic resizing (resizePanel method)
  • Responsive resizing and aspect ratio maintenance
  • Best practices for resizing

⚙️ Configuration & Layout

📄 Read: references/cell-configuration.md

  • Grid columns and cell distribution
  • Cell sizing basics (sizeX, sizeY)
  • Cell aspect ratio configuration
  • Cell spacing and gap management
  • Cell calculation examples
  • Responsive cell configuration
  • Masonry, hero, and nested grid patterns

📄 Read: references/responsive-design.md

  • Built-in responsive behavior
  • Media query configuration and custom breakpoints
  • Standard breakpoint systems
  • Adaptive layouts for different screen sizes
  • Mobile-first approach
  • Touch device support and optimization
  • Testing responsive layouts
  • Performance optimization for responsiveness

💾 Advanced Features

📄 Read: references/state-persistence.md

  • Serialize method for saving layout
  • Save/restore state patterns
  • localStorage integration
  • sessionStorage integration
  • Database API integration
  • Advanced state management (Redux, Context API)
  • Versioning and migration
  • Error recovery and backups

📄 Read: references/methods-reference.md

  • All 9 component methods documented
  • Panel management: addPanel, removePanel, removeAll, updatePanel
  • Layout manipulation: movePanel, resizePanel
  • Serialization: serialize method
  • Utility methods: refreshDraggableHandle, destroy
  • Complete method examples and use cases

📄 Read: references/events-reference.md

  • All 10 component events documented
  • Lifecycle events: created, destroyed
  • Interaction events: dragStart, drag, dragStop, resizeStart, resize, resizeStop
  • Change event: monitoring panel additions, removals, position changes
  • Event arguments and properties
  • Complete event handling patterns

♿ Compliance & Accessibility

📄 Read: references/accessibility-wcag.md

  • WCAG 2.2 Level AA compliance
  • Section 508 standards compliance
  • WAI-ARIA implementation (roles, properties, states)
  • Keyboard navigation and accessibility
  • Screen reader support
  • RTL (right-to-left) language support
  • Testing and validation procedures
  • Accessibility audit checklist

Quick Start Example

Create an interactive dashboard in minutes:

import React, { useRef } from 'react';
import { DashboardLayoutComponent } from '@syncfusion/ej2-react-layouts';
import '@syncfusion/ej2-base/styles/tailwind3.css';
import '@syncfusion/ej2-react-layouts/styles/tailwind3.css';

function Dashboard() {
  const dashboardRef = useRef<DashboardLayoutComponent>(null);

  const panels = [
    {
      id: 'sales',
      header: 'Sales',
      content: '<div style="padding: 20px;">Sales data</div>',
      row: 0,
      col: 0,
      sizeX: 2,
      sizeY: 2
    },
    {
      id: 'users',
      header: 'Users',
      content: '<div style="padding: 20px;">User analytics</div>',
      row: 0,
      col: 2,
      sizeX: 2,
      sizeY: 2
    },
    {
      id: 'reports',
      header: 'Reports',
      content: '<div style="padding: 20px;">Report metrics</div>',
      row: 2,
      col: 0,
      sizeX: 4,
      sizeY: 1
    }
  ];

  return (
    <div style={{ padding: '20px' }}>
      <h1>Dashboard</h1>
      <DashboardLayoutComponent
        ref={dashboardRef}
        id='dashboard'
        columns={5}
        cellSpacing={[10, 10]}
        panels={panels}
        allowDragging={true}
        allowResizing={true}
        allowFloating={true}
        enablePersistence={true}
      >
      </DashboardLayoutComponent>
    </div>
  );
}

export default Dashboard;

Common Patterns

Pattern 1: Responsive Dashboard with Mobile Support

📖 Read: responsive-design.md for comprehensive mobile adaptation patterns

<DashboardLayoutComponent
  id='responsive-dashboard'
  columns={5}
  mediaQuery='max-width:768px'  // Single column on tablets/mobile
  cellSpacing={[10, 10]}
  allowDragging={true}
  allowResizing={true}
  panels={panels}
>
</DashboardLayoutComponent>

Key Features:

  • Responsive column adjustment based on screen size
  • Mobile-first design with media queries
  • Touch optimization for mobile devices
  • See responsive-design.md for breakpoint configuration and testing

Pattern 2: Save and Restore User Layout

📖 Read: state-persistence.md for complete state serialization and storage options

const handleSaveLayout = () => {
  const layout = dashboardRef.current?.serialize();
  localStorage.setItem('userDashboard', JSON.stringify(layout));
};

const handleRestoreLayout = () => {
  const saved = localStorage.getItem('userDashboard');
  if (saved) {
    const layout = JSON.parse(saved);
    dashboardRef.current?.removeAll();
    layout.forEach(panel => {
      dashboardRef.current?.addPanel(panel);
    });
  }
};

Key Features:

  • serialize() method exports current layout state
  • localStorage for client-side persistence
  • See state-persistence.md for API integration, Redux/Context patterns, and auto-save

Pattern 3: Dynamic Panel Management

📖 Read: core-functionality.md for panel addition/removal and runtime management

const handleAddPanel = () => {
  dashboardRef.current?.addPanel({
    id: `panel-${Date.now()}`,
    header: 'New Panel',
    content: 'Panel content',
    row: 0,
    col: 0,
    sizeX: 2,
    sizeY: 1
  });
};

const handleRemovePanel = (panelId: string) => {
  dashboardRef.current?.removePanel(panelId);
};

Key Features:

  • Runtime panel creation and deletion
  • Unique panel IDs and positioning
  • Event handling for panel changes
  • See methods-reference.md for all available panel methods

Pattern 4: Constrained Panel Sizes

📖 Read: cell-configuration.md and resizing-floating.md for size constraints and resizing behavior

const constrainedPanels = [
  {
    id: 'fixed-panel',
    header: 'Fixed Size',
    row: 0,
    col: 0,
    sizeX: 2,
    sizeY: 1,
    minSizeX: 2,  // Cannot shrink
    maxSizeX: 2,  // Cannot expand
    minSizeY: 1,
    maxSizeY: 1
  },
  {
    id: 'flexible-panel',
    header: 'Flexible',
    row: 0,
    col: 2,
    sizeX: 2,
    sizeY: 1,
    minSizeX: 1,  // Can shrink to 1 cell
    maxSizeX: 4   // Can expand to 4 cells
  }
];

Key Features:

  • minSizeX/Y and maxSizeX/Y constraints
  • Fixed vs. flexible panel sizing
  • Programmatic size updates via resizePanel()
  • See cell-configuration.md for grid calculations and resizing-floating.md for advanced resize patterns

Pattern 5: Monitor Layout Changes

📖 Read: events-reference.md for all available events and handlers

const handleChange = (args: ChangeEventArgs) => {
  console.log('Panels added:', args.addedPanels);
  console.log('Panels removed:', args.removedPanels);
  console.log('Panels position changed:', args.changedPanels);
  console.log('User interaction:', args.isInteracted);
};

<DashboardLayoutComponent
  panels={panels}
  change={handleChange}
>
</DashboardLayoutComponent>

Key Features:

  • Change event fires on any layout modification
  • Access to added, removed, and repositioned panels
  • User interaction detection
  • See events-reference.md for drag, resize, and other event handlers

Key API Overview

Component Properties

📖 Full Reference: properties-reference.md

  • columns - Number of grid columns (default: 1) → See cell-configuration.md
  • cellSpacing - Spacing between panels [horizontal, vertical] → See cell-configuration.md
  • panels - Array of PanelModel objects defining layout → See panel-templates.md
  • allowDragging - Enable panel drag-and-drop (default: true) → See dragging-behavior.md
  • allowResizing - Enable panel resizing (default: false) → See resizing-floating.md
  • allowFloating - Auto-fill empty spaces (default: true) → See resizing-floating.md
  • enablePersistence - Save layout state (default: false) → See state-persistence.md
  • mediaQuery - Responsive breakpoint for mobile layouts → See responsive-design.md
  • draggableHandle - Custom drag handle selector → See dragging-behavior.md
  • resizableHandles - Resize handle directions → See resizing-floating.md
  • cssClass - Custom CSS classes → See styling-customization.md

Core Methods

📖 Full Reference: methods-reference.md

  • addPanel(panel) - Add new panel at runtime → See core-functionality.md
  • removePanel(id) - Remove panel by ID → See core-functionality.md
  • removeAll() - Clear all panels → See core-functionality.md
  • updatePanel(panel) - Modify existing panel → See core-functionality.md
  • movePanel(id, row, col) - Change panel position → See dragging-behavior.md
  • resizePanel(id, sizeX, sizeY) - Adjust panel dimensions → See resizing-floating.md
  • serialize() - Get current layout state → See state-persistence.md

Important Events

📖 Full Reference: events-reference.md

  • created - Component initialized
  • dragStart / drag / dragStop - Drag operations → See dragging-behavior.md
  • resizeStart / resize / resizeStop - Resize operations → See resizing-floating.md
  • change - Layout changed (additions, removals, movements) → See events-reference.md

Styling & Customization

📖 Full Reference: styling-customization.md

  • CSS selectors for all panel elements
  • Theme customization (Tailwind, Bootstrap, Material, Fluent)
  • Responsive styling patterns
  • Accessibility styling (WCAG 2.2)

Common Use Cases

🎯 Creating Dashboards: Implement customizable dashboard layouts with multiple content panels organized in a grid.

🎯 User-Customizable Layouts: Allow users to rearrange and resize dashboard panels to their preference with automatic saving.

🎯 Responsive Interfaces: Build layouts that adapt from multi-column desktop views to single-column mobile views.

🎯 Real-Time Monitoring: Display multiple real-time data sources in resizable panels with live updates.

🎯 Admin Panels: Create administrative interfaces with draggable widgets for system monitoring and control.

🎯 Data Visualization: Organize multiple charts, tables, and metrics in flexible, responsive panel layouts.

Panel Model Interface

interface PanelModel {
  id: string;              // Unique identifier (required)
  row: number;             // Row position (required)
  col: number;             // Column position (required)
  sizeX: number;           // Width in cells (default: 1)
  sizeY: number;           // Height in cells (default: 1)
  header?: string | HTMLElement | Function;
  content?: string | HTMLElement | Function;
  cssClass?: string;       // Custom CSS classes
  enabled?: boolean;       // Enable/disable (default: true)
  minSizeX?: number;       // Minimum width (default: 1)
  minSizeY?: number;       // Minimum height (default: 1)
  maxSizeX?: number;       // Maximum width
  maxSizeY?: number;       // Maximum height
  zIndex?: number;         // Stacking order
}

Quick Reference Guide

TaskRead This Documentation
Get Startedgetting-started.md - Installation, setup, themes
Learn Panel Managementcore-functionality.md - Create, update, remove panels
Customize Panel Contentpanel-templates.md - Headers, templates, component embedding
Make It Draggabledragging-behavior.md - Drag events, collision, custom handles
Make It Resizableresizing-floating.md - Resize handles, constraints, floating
Configure Grid Systemcell-configuration.md - Columns, spacing, aspect ratio, responsive grids
Make It Responsiveresponsive-design.md - Breakpoints, mobile, touch optimization
Save User Layoutsstate-persistence.md - serialize(), localStorage, API, Redux, Context
Style & Themestyling-customization.md - CSS selectors, themes, responsive styling
Make It Accessibleaccessibility-wcag.md - WCAG 2.2, WAI-ARIA, screen readers, RTL
API Referenceproperties-reference.md, methods-reference.md, events-reference.md
Advanced Patternsadvanced-features.md - Custom integrations, performance optimization

Implementation Roadmap

Phase 1 - Foundation (Start Here):

  1. Read getting-started.md for setup
  2. Review core-functionality.md for panel basics
  3. Check properties-reference.md for all available options

Phase 2 - Interaction (Build Functionality): 4. Implement dragging: dragging-behavior.md 5. Implement resizing: resizing-floating.md 6. Configure grid: cell-configuration.md

Phase 3 - Content (Customize Visuals): 7. Create panel templates: panel-templates.md 8. Apply styling: styling-customization.md

Phase 4 - Polish (Production Ready): 9. Optimize for mobile: responsive-design.md 10. Add accessibility: accessibility-wcag.md 11. Implement persistence: state-persistence.md

Phase 5 - Advanced (Expert Features): 12. Explore patterns: advanced-features.md 13. Refer to event/method APIs: events-reference.md, methods-reference.md

平台分布

Codex

32.12%
按下载量换算70

Claude

31.03%
按下载量换算68

Cursor

17.95%
按下载量换算39

Gemini CLI

9.51%
按下载量换算21

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

继续浏览同类 Skills