Token导航 LogoToken导航

Agent Skill · 前端设计

syncfusion-react-linear-gauge(syncfusion React Linear gauge 前端)

用于处理 Linear 项目、Issue、团队、周期和产品开发任务流。它适合让 Agent 辅助查询任务状态、整理需求队列、创建缺陷或汇总迭代进展。使用时需要确认 workspace、team、label、assignee 和状态流转规则;涉及批量创建或修改任务时,应先核对字段和目标团队,避免把草稿需求直接写入正式项目。

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

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

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

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

这个 Skill 是做什么的

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

用于处理 Linear 项目、Issue、团队、周期和产品开发任务流。适合让 Agent 辅助查询任务状态、整理需求队列、创建缺陷或汇总迭代进展。使用时需要确认 workspace、team、label、assignee 和状态流转规则;涉及批量创建或修改任务时,应先核对字段和目标团队,避免把草稿需求直接写入正式项目。

通过 GitHub 安装,支持 Codex、Claude、Cursor、Gemini CLI 等宿主环境。需确保已配置 Linear API 访问权限,否则无法正常操作任务数据。

来源仓库内路径:skills/syncfusion-react-linear-gauge

上手步骤

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-linear-gauge 怎么安装?

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

syncfusion-react-linear-gauge 支持哪些 AI 工具?

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

syncfusion-react-linear-gauge 需要什么权限?

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

syncfusion-react-linear-gauge 是免费的吗?

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

syncfusion-react-linear-gauge 用的人多吗?

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

syncfusion-react-linear-gauge 安全吗?

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

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

值得选的地方

  • 同时适配 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-linear-gauge

syncfusion React Linear gauge 前端 · 本页

6291需要联网未明确通过

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

SKILL.md 原文

Implementing Syncfusion React Linear Gauge

When to Use This Skill

Use the Linear Gauge component when you need to:

  • Display measurements on a linear/horizontal scale (temperature gauges, thermometers, fuel indicators)
  • Monitor real-time data with animated pointer updates (sensor readings, system metrics)
  • Show progress or percentages in a linear format
  • Create dashboards with multiple gauges displaying KPIs
  • Visualize ranges with different colors (e.g., safe, warning, critical zones)
  • Build responsive data visualizations with customizable appearance and interactivity
  • Print or export gauge visualizations for reports and documentation

The Linear Gauge is ideal for applications requiring visual representation of values on a horizontal/linear scale with customizable axes, pointers, ranges, and interactive features.


Component Overview

Syncfusion React Linear Gauge (@syncfusion/ej2-react-lineargauge) is a data visualization component that displays values on a linear scale. It consists of:

  • Axes - The linear scale with customizable range, ticks, labels, and styling
  • Pointers - Value indicators in two types: Bar (default) or Marker (shapes)
  • Ranges - Colored segments representing value ranges (e.g., cold, warm, hot)
  • Annotations - Text or image overlays for labels and callouts
  • Ticks & Labels - Scale markers with customizable formatting
  • Export - Print, PDF, PNG, or SVG export capabilities

Documentation and Navigation Guide

Choose the reference based on what you need to implement:

Getting Started & Setup

📄 Read: references/getting-started.md

  • Install @syncfusion/ej2-react-lineargauge package
  • Setup in Vite or Create React App
  • Basic component initialization
  • Minimal working example
  • CSS imports and themes
  • When to read: First time setup or new project integration

Gauge Structure: Axes, Ticks & Labels

📄 Read: references/axis-ticks-labels.md

  • Configure axes (minimum, maximum range)
  • Customize axis line (height, width, color)
  • Configure major and minor ticks
  • Format and customize labels
  • Set label units and formatting
  • Multiple axes configuration
  • When to read: Building the core gauge structure and scale

Pointer Types & Configuration

📄 Read: references/pointers.md

  • Bar pointer type (default, fill styles)
  • Marker pointer types (Circle, Rectangle, Triangle, Diamond, Image, Text)
  • Setting and updating pointer values
  • Customize pointer appearance (width, color, radius)
  • Multiple pointers on same axis
  • Drag-drop interactions
  • Performance optimization
  • When to read: Adding value indicators and interactive features

Ranges & Annotations

📄 Read: references/ranges-annotations.md

  • Creating ranges with start/end values
  • Range styling (colors, gradient effects)
  • Range labels and positions
  • Text annotations for callouts and labels
  • Image annotations
  • Positioning and alignment
  • When to read: Highlighting value zones or adding descriptive elements

Visual Appearance & Customization

📄 Read: references/appearance-customization.md

  • Add titles
  • Set gauge dimensions (width, height, margin)
  • Customize background and borders
  • Apply themes and color schemes
  • Responsive design patterns
  • CSS class customization
  • RTL language support
  • When to read: Styling and customizing gauge appearance

Advanced Features

📄 Read: references/advanced-features.md

  • Animation effects and timing
  • Event handling (valueChange, print, export)
  • Tooltips and hover effects
  • Print and export to PDF/PNG/SVG
  • Real-time data binding and updates
  • Combining multiple features
  • Performance tips and optimization
  • When to read: Adding interactions, animations, or export functionality

Quick Start Example

Here's a minimal working example to get started:

import React from 'react';
import { LinearGaugeComponent, AxesDirective, AxisDirective,
         PointersDirective, PointerDirective, RangesDirective, RangeDirective }
  from '@syncfusion/ej2-react-lineargauge';
import '@syncfusion/ej2-lineargauge/styles/material.css';

export function App() {
  return (
    <div style={{ height: '400px', width: '100%' }}>
      <LinearGaugeComponent
        title="Temperature Monitor"
        orientation="Horizontal"
      >
        <AxesDirective>
          <AxisDirective
            minimum={0}
            maximum={100}
            labelStyle={{ format: '{value}°C' }}
          >
            <RangesDirective>
              <RangeDirective start={0} end={30} color='#1E90FF' />
              <RangeDirective start={30} end={70} color='#FFA500' />
              <RangeDirective start={70} end={100} color='#FF4500' />
            </RangesDirective>

            <PointersDirective>
              <PointerDirective value={55} />
            </PointersDirective>
          </AxisDirective>
        </AxesDirective>
      </LinearGaugeComponent>
    </div>
  );
}

Install the package first:

npm install @syncfusion/ej2-react-lineargauge --save

Common Patterns

Pattern 1: Simple Temperature Gauge

<LinearGaugeComponent title="Temperature">
  <AxesDirective>
    <AxisDirective minimum={-40} maximum={50} labelStyle={{ format: '{value}°C' }}>
      <RangesDirective>
        <RangeDirective start={-40} end={0} color='#4CAF50' />
        <RangeDirective start={0} end={25} color='#8BC34A' />
        <RangeDirective start={25} end={50} color='#FF5722' />
      </RangesDirective>
      <PointersDirective>
        <PointerDirective value={20} />
      </PointersDirective>
    </AxisDirective>
  </AxesDirective>
</LinearGaugeComponent>

Pattern 2: Progress/Percentage Indicator

<PointersDirective>
  <PointerDirective
    value={75}
    type='Marker'
    markerType='Rectangle'
    width={20}
    color='#007AFF'
  />
</PointersDirective>

Pattern 3: Real-Time Updates

const [value, setValue] = useState(50);

useEffect(() => {
  const timer = setInterval(() => {
    setValue(prev => (prev + (Math.random() - 0.5) * 10) % 100);
  }, 1000);
  return () => clearInterval(timer);
}, []);

<PointerDirective value={value} />

LinearGaugeComponent API Reference

Verified Props (Based on Official Syncfusion Documentation)

PropTypePurposeExample
titlestringGauge title texttitle="Temperature"
orientation"Horizontal" \"Vertical"Layout orientation (default: Vertical)orientation="Horizontal"
widthstringGauge widthwidth="100%" or width="400px"
heightstringGauge heightheight="300px"

AxisDirective API Reference

Verified Props for AxisDirective

PropTypePurposeExample
minimumnumberStart value of the axis rangeminimum={0}
maximumnumberEnd value of the axis rangemaximum={200}
labelStyleobjectLabel customization (use format property)labelStyle={{format: '{value}°C'}}

labelStyle Format Options

  • {format: '{value}'} - Shows value as-is
  • {format: '{value}°C'} - Adds °C suffix
  • {format: '${value}K'} - Adds $ prefix and K suffix
  • {format: '{value}%'} - Adds % suffix

⚠️ NOT SUPPORTED:

  • ❌ majorTicksInterval - Not a valid property
  • ❌ minorTicksInterval - Not a valid property
  • ❌ axisLineStyle - Not a valid property (use axis-level styling instead)

PointerDirective API Reference

Verified Props for PointerDirective

PropTypePurposeExample
valuenumberThe value to displayvalue={140}
colorstringPointer color (hex or named)color='green' or color='#1976D2'
type"Bar" \"Marker"Pointer shape type (default: Bar)type="Marker"
markerType"Circle" \"Rectangle" \"Triangle" \"Diamond" \"Image" \"Text"Shape for marker pointersmarkerType="Rectangle"
widthnumberPointer width in pixelswidth={8}

Pointer Type Examples

Bar Pointer (Default)

<PointerDirective value={140} color='blue' width={8} />

Marker Pointer

<PointerDirective
  value={75}
  type='Marker'
  markerType='Rectangle'
  width={15}
  color='#1976D2'
/>

RangeDirective API Reference

Verified Props for RangeDirective

PropTypePurposeExample
startnumberStart value of the rangestart={0}
endnumberEnd value of the rangeend={80}
colorstringRange background colorcolor='#4CAF50'
startWidthnumberWidth of start edgestartWidth={15}
endWidthnumberWidth of end edgeendWidth={15}

Example with Width

<RangeDirective start={0} end={80} color='#4CAF50' startWidth={15} endWidth={15} />

Working Code Examples

Example 1: Temperature Gauge (Verified)

import React from 'react';
import { LinearGaugeComponent, AxesDirective, AxisDirective,
         PointersDirective, PointerDirective, RangesDirective, RangeDirective }
  from '@syncfusion/ej2-react-lineargauge';

export function App() {
  return (
    <LinearGaugeComponent>
      <AxesDirective>
        <AxisDirective minimum={0} maximum={200} labelStyle={{ format: '{value}°C' }}>
          <PointersDirective>
            <PointerDirective value={140} color='green'></PointerDirective>
          </PointersDirective>
          <RangesDirective>
            <RangeDirective start={0} end={80} startWidth={15} endWidth={15}></RangeDirective>
            <RangeDirective start={80} end={120} startWidth={15} endWidth={15}></RangeDirective>
            <RangeDirective start={120} end={140} startWidth={15} endWidth={15}></RangeDirective>
            <RangeDirective start={140} end={200} startWidth={15} endWidth={15}></RangeDirective>
          </RangesDirective>
        </AxisDirective>
      </AxesDirective>
    </LinearGaugeComponent>
  );
}

Example 2: Progress Indicator (Verified)

<LinearGaugeComponent title="Project Status">
  <AxesDirective>
    <AxisDirective minimum={0} maximum={100} labelStyle={{ format: '{value}%' }}>
      <RangesDirective>
        <RangeDirective start={0} end={30} color='#EF5350' startWidth={15} endWidth={15}></RangeDirective>
        <RangeDirective start={30} end={70} color='#FFCA28' startWidth={15} endWidth={15}></RangeDirective>
        <RangeDirective start={70} end={100} color='#66BB6A' startWidth={15} endWidth={15}></RangeDirective>
      </RangesDirective>
      <PointersDirective>
        <PointerDirective value={75} color='#1976D2' width={8}></PointerDirective>
      </PointersDirective>
    </AxisDirective>
  </AxesDirective>
</LinearGaugeComponent>

Example 3: Multi-Pointer Gauge (Verified)

<LinearGaugeComponent>
  <AxesDirective>
    <AxisDirective minimum={0} maximum={1000} labelStyle={{ format: '${value}K' }}>
      <RangesDirective>
        <RangeDirective start={0} end={400} color='#E53935' startWidth={15} endWidth={15}></RangeDirective>
        <RangeDirective start={400} end={700} color='#FB8C00' startWidth={15} endWidth={15}></RangeDirective>
        <RangeDirective start={700} end={1000} color='#43A047' startWidth={15} endWidth={15}></RangeDirective>
      </RangesDirective>
      <PointersDirective>
        <PointerDirective value={650} color='#1976D2' width={6}></PointerDirective>
        <PointerDirective value={850} type='Marker' markerType='Circle' width={10} color='#FF6F00'></PointerDirective>
      </PointersDirective>
    </AxisDirective>
  </AxesDirective>
</LinearGaugeComponent>

LinearGaugeComponent Methods & Events

Use the following methods/events when you need interactivity like animation lifecycle, tooltips, drag, export, and print:

Methods

  • destroy()
  • export(type, fileName, orientation?, allowDownload?)
  • print(id?)
  • setAnnotationValue(annotationIndex, content, axisValue?)
  • setPointerValue(axisIndex, pointerIndex, value)

Events

  • load, loaded, resized
  • valueChange (pointer value changes)
  • dragStart, dragMove, dragEnd
  • beforePrint
  • tooltipRender
  • animationComplete
  • annotationRender, axisLabelRender
  • gaugeMouseDown, gaugeMouseMove, gaugeMouseUp, gaugeMouseLeave

Common Use Cases

  1. Temperature Monitoring - Real-time temperature with hot/cold indicators
  2. Sensor Data Visualization - Display sensor readings (pressure, humidity, etc.)
  3. Performance Metrics - Show system performance, CPU usage, memory
  4. Progress Indicators - Visualize task completion or download progress
  5. Fuel/Battery Level - Monitor resource consumption
  6. Speed/RPM Gauges - Display rotation speeds or velocities
  7. Network Traffic - Show bandwidth usage in real-time
  8. Quality/Score Indicators - Display ratings or quality metrics

Next Steps

  1. Start with Getting Started to install and setup your first gauge
  2. Build structure using Axes, Ticks & Labels reference
  3. Add pointers using Pointer Types & Configuration reference
  4. Highlight zones with Ranges & Annotations reference
  5. Customize appearance with Visual Appearance reference
  6. Add interactions with Advanced Features reference
  7. Test accessibility using Accessibility reference

For more details or advanced scenarios, consult the specific reference files linked above.

平台分布

Codex

37.93%
按下载量换算83

Claude

29.86%
按下载量换算66

Cursor

20.47%
按下载量换算45

Gemini CLI

8.8%
按下载量换算19

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

继续浏览同类 Skills