eds-gauge

Explore the Interactive Component

Use the playground below to experiment with the component. Click the button to view the full Storybook deployment for additional examples and configurations.

See It in Use with Code

Check out this practical implementation of component.

When you’re using the component directly in HTML (or in frameworks that don’t support property binding), you must pass the values like:

In React

Properties

PropertyAttributeDescriptionTypeDefault
sizesizeDiameter of the pie chart (pixels)number100
thicknessthicknessThickness of inner mask as fraction of radius (0.1–0.2). Values outside this range will be clamped.number0.1
valuevalueCurrent valuenumber60
valueMaxvalue-maxMaximum value (gauge end)number100
valueMinvalue-minMinimum value (gauge start)number0
variantvariant"black" | "dark" | "default" | "strong"'default'

Built with StencilJS