AI · MCP Server and Agent Skills included

React Linear Gauge for scales, now easier to build with AI

Show values on horizontal or vertical scales with marker, bar, text, and image pointers, color ranges, thermometer and rounded containers, annotations, and draggable pointers. AI assistants set it up for you from the current docs.

  • 180K+ npm downloads
  • 4.5/5 850+ G2 reviews
  • 4.6/5 950+ Capterra reviews
  • WCAG 2.2 accessible
  • Horizontal and vertical scales

Trusted by the world’s leading companies

Syncfusion customers include Visa, Apple, McDonald’s, Netflix, Starbucks, IBM, Tesla, and Schneider Electric

Now easier with AI

Build linear gauges faster with AI

Coding assistants write the setup from the current docs instead of guessing.

01For developers

Describe a scale and get code that uses the documented API

The Syncfusion MCP server and Agent Skills give assistants in VS Code, Cursor, and JetBrains the current Linear Gauge docs and recommended patterns.

See all 31 features

AI coding assistantMCP Server · Syncfusion React

Show a horizontal scale from 0 to 100 with a pointer at 62.

search_docs“React Linear Gauge horizontal or vertical scales” · 2 doc sections

Excerpt: imports and sample data omitted.

+<LinearGaugeComponent orientation="Horizontal">

<AxesDirective>

+ <AxisDirective minimum={0} maximum={100}>

+<PointersDirective><PointerDirective value={62}

+ /></PointersDirective>

</AxisDirective>

</AxesDirective>

</LinearGaugeComponent>

Documented API: orientation, AxesDirective, AxisDirective, PointersDirective, PointerDirective

ResultRendered in your app

AI coding assistantMCP Server · Syncfusion React

Make the gauge look like a thermometer.

search_docs“React Linear Gauge thermometer and rounded containers” · 2 doc sections

Excerpt: imports and sample data omitted.

+<LinearGaugeComponent

+ container={{ width: 30, type: 'Thermometer' }}>

Documented API: container, width, type

ResultRendered in your app

AI coding assistantMCP Server · Syncfusion React

Show the value with a diamond marker.

search_docs“React Linear Gauge marker pointers” · 2 doc sections

Excerpt: imports and sample data omitted.

+<PointerDirective value={30} type="Marker"

+ markerType="Diamond" />

Documented API: type, markerType

ResultRendered in your app

AI coding assistantMCP Server · Syncfusion React

Fill the track to 60 with a red bar.

search_docs“React Linear Gauge bar pointers” · 2 doc sections

Excerpt: imports and sample data omitted.

+<PointerDirective value={60} type="Bar" width={20}

+ color="#f44141" />

Documented API: type, width, color

ResultRendered in your app

AI coding assistantMCP Server · Syncfusion React

Color 0 to 30 green, 30 to 50 orange, and 50 to 100 purple.

search_docs“React Linear Gauge color ranges” · 2 doc sections

Excerpt: imports and sample data omitted.

+<RangesDirective>

+<RangeDirective start={0} end={30} startWidth={10}

+ endWidth={10} color="#41f47f" />

+<RangeDirective start={30} end={50} startWidth={10}

+ endWidth={10} color="#f49441" />

+<RangeDirective start={50} end={100} startWidth={10}

+ endWidth={10} color="#cd41f4" />

+</RangesDirective>

Documented API: RangesDirective, RangeDirective, start, end, startWidth, endWidth, color

ResultRendered in your app

AI coding assistantMCP Server · Syncfusion React

Put ticks every 20 units and the labels outside the track.

search_docs“React Linear Gauge ticks and labels” · 2 doc sections

Excerpt: imports and sample data omitted.

+<AxesDirective>

+ <AxisDirective

+ majorTicks={{ interval: 20, position: 'Outside' }}

+ minorTicks={{ position: 'Outside' }}

+ labelStyle={{ position: 'Outside' }}>

+ </AxisDirective>

+</AxesDirective>

Documented API: majorTicks, minorTicks, labelStyle

ResultRendered in your app

AI coding assistantMCP Server · Syncfusion React

Let users drag the pointer to set the volume.

search_docs“React Linear Gauge draggable pointers” · 2 doc sections

Excerpt: imports and sample data omitted.

+<PointersDirective>

+ <PointerDirective value={80} enableDrag={true} />

+</PointersDirective>

Documented API: enableDrag

ResultRendered in your app

AI coding assistantMCP Server · Syncfusion React

Show the step count as a label at the top of the gauge.

search_docs“React Linear Gauge annotations” · 2 doc sections

Excerpt: imports and sample data omitted.

+<Inject services={[Annotations]} />

+<AnnotationsDirective>

+ <AnnotationDirective content="<div>6,500 steps</div>"

+verticalAlignment="Near"

+ horizontalAlignment="Center" zIndex="1" />

+</AnnotationsDirective>

Documented API: Annotations, AnnotationsDirective, AnnotationDirective, verticalAlignment, horizontalAlignment, zIndex

ResultRendered in your app

Use cases and showcase apps

React Linear Gauge use cases, built as real apps

A complete app that uses the React Linear Gauge. Run it in the browser.

Browse all sample apps
Fitness Tracker app built with Syncfusion React components

Fitness Tracker

Track activities, diet, and fasting, with gauges for fasting progress and charts for activity. The Linear Gauge shows how far a fast has progressed, with a bar pointer that fills the track and ranges that mark each stage. Charts plot weekly activity statistics, and the DataGrid lists recent workouts with distance, duration, and completion. Tabs switch between activities, diet, and fasting, and the DatePicker moves the whole dashboard to any day.

  • Linear Gauge
  • Circular Gauge
  • Charts
  • DataGrid
  • Tabs
  • DatePicker

Features in depth

React Linear Gauge features in depth

Open a demo to try each one, or the docs to see the API.

Orientation: horizontal or vertical

The gauge renders vertically by default. Set orientation to Horizontal for a horizontal scale, which also helps on narrow mobile layouts.

Containers: rectangle, rounded rectangle, and thermometer

The container holds the ranges and pointers. Set its type to Normal, RoundedRectangle, or Thermometer, and customize its width, border, and background.

Axes: ticks, labels, offset, and inversed scales

Style major and minor ticks, format labels with prefixes or suffixes, offset the axis line, reverse values with isInversed, and add multiple axes to one gauge.

Ranges and gradient colors

Ranges show where a value falls on the axis. Set start and end values, widths, positions, and colors, or fill ranges and pointers with gradients.

Pointers: marker, bar, text, and image

Marker pointers use built-in shapes, text, or images, and bar pointers fill the track up to the value. Add several pointers to one axis and place each anywhere.

Drag, tooltips, and animation

Users drag marker or bar pointers to set values and see them in tooltips on hover. Pointers animate into place with a set animation duration.

Annotations and titles

Place HTML annotations at any position or axis value, and add a gauge title with a custom font.

Print and export

Print the gauge from the browser, or export it to an image or a PDF document on the client side.

Get started

Get your first linear gauge running, with or without AI

With an AI coding assistant

  1. Connect the Syncfusion MCP serverWorks in VS Code, Cursor, JetBrains, and other MCP-compatible assistants.Set up the MCP server
  2. Add Agent Skills to your projectYour agent follows Syncfusion’s recommended Linear Gauge patterns.Install Agent Skills
  3. Describe the linear gaugeCopy this prompt to start.

    Add a Syncfusion React Linear Gauge to my plant monitor as a vertical thermometer from 0 to 40°C, with a bar pointer and a red range above 35°C.

By hand, in three steps

1 · Install

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

2 · src/App.tsx

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

export default function App() {
  return (
    <LinearGaugeComponent orientation="Horizontal">
      <AxesDirective>
        <AxisDirective minimum={0} maximum={100}>
          <PointersDirective><PointerDirective value={62} /></PointersDirective>
        </AxisDirective>
      </AxesDirective>
    </LinearGaugeComponent>
  );
}
Read the getting started guide

Works withReact 15.5.4 or laterTypeScript and JavaScriptNext.jsRemixGatsbyVitePreactSystem requirements

Customer reviews

Trusted by developers and teams

G2

4.5/5

From 850+ reviews of Essential Studio®

Read the reviews on G2

“Awesome, enough said”

Easy usability, solving real-life problems, easy to implement. Most of the cases have the operators and settings possibilities you need right away.

Oliver O.Creative and Art Direction, Small Business

“A giant framework with great pricing options”

I have loved the components and options that Syncfusion has; besides, its documentation, demos, and support are excellent.

Alejandro Javier V.CEO, Small Business
75%
lower costs
50%
faster development

Customer story · Igniatek

Igniatek cuts development time 50% and costs 75% with Essential Studio®

“I would definitely recommend Syncfusion for anyone who is trying to develop something meaningful.”

Somnath Maji, Founder, Igniatek Consultancy

Award-winning

Including the 2026 Devies Award, Capterra Shortlist 2026, Software Advice FrontRunners 2026, and G2 Best Software 2025.

Syncfusion awards: 2026 Devies Award Winner, Capterra Shortlist 2026, Software Advice FrontRunners 2026, SaaS Awards 2026 Finalist, Hosting Advice Developers' Choice, A.I. Awards 2025 Finalist, Visual Studio Magazine Readers' Choice 2025 Gold, G2 Best Software 2025, ComponentSource Top 10 Publisher 2025, and TrustRadius Tech Cares 2025

Complete feature list

Every linear gauge feature, included in the license

  • Every feature includedNo separate enterprise edition
  • Royalty-freeNo runtime or deployment fees
  • Weekly patchesPlus regular feature releases
  • Expert supportFrom Syncfusion engineers

Related gauges and indicators:React Circular GaugeReact Linear GaugeReact Bullet ChartReact Progress Bar

Questions and answers

React Linear Gauge FAQ

What is the React Linear Gauge?

The Syncfusion React Linear Gauge shows a value on a straight scale, horizontal or vertical, with pointers and color ranges. It suits thermometers, rulers, progress bars, and level indicators. Explore the demos

How is the Linear Gauge different from the Circular Gauge?

The Linear Gauge draws a straight scale, which fits narrow spaces and level or progress readings. The Circular Gauge draws a dial, which suits speedometers and clocks. React Circular Gauge

How do I add a linear gauge in React?

Install @syncfusion/ej2-react-lineargauge, then render LinearGaugeComponent with an AxisDirective and a PointerDirective for the value. Read the getting started guide

How do I make the gauge horizontal?

The gauge is vertical by default. Set orientation to Horizontal to draw a horizontal scale. Read about axes

Which pointer types are available?

There are two pointer types. Marker pointers use built-in shapes, text, or images, and bar pointers fill the track up to the value. Read about pointers

Can I build a thermometer or battery indicator?

Yes. Set the container type to Thermometer or RoundedRectangle and add a bar pointer. The demos include a thermometer and a battery indicator. Thermometer demo

How do I add color ranges?

Add a RangeDirective for each zone with start, end, and color, and set its width with startWidth and endWidth. Read about ranges

Can users change the value by dragging?

Yes. Set enableDrag on a marker or bar pointer, and users drag it to a new value. Slider demo

Can I export or print the gauge?

Yes. Print it from the browser, or export it to an image or a PDF document on the client side. Read about print and export

Is the React Linear Gauge accessible?

Yes. It supports keyboard navigation and WAI-ARIA attributes, follows WCAG 2.2, and renders right to left. Read about accessibility

Can AI coding assistants build with the React Linear Gauge?

Yes. The Syncfusion MCP server and Agent Skills give assistants in VS Code, Cursor, and JetBrains the current Linear Gauge docs and recommended patterns. You need a Syncfusion API key and an active license, which can be a commercial, Community, or trial license. Set up the MCP server

Is the Syncfusion React Linear Gauge free?

It is a commercial component with a 30-day free trial. A free Community License is available for companies and individuals with less than $1 million USD in annual gross revenue, five or fewer developers, and 10 or fewer total employees. Check Community License eligibility

Syncfusion React Linear Gauge

Build your React gauges faster with AI

The full Linear Gauge, the MCP server, and Agent Skills, free for 30 days.

  • No credit card required
  • Free Community License for eligible teams
  • No runtime or deployment fees