suiss/ui · Chart
Radial Chart Text
A single full-circle progress ring with a percentage and caption centered inside.
Radial Chart Text is an open-source chart from suiss/ui for React, React Native, SwiftUI and Jetpack Compose. The @esuiss/ui CLI copies its source into your project, so you own the code.
A single full-circle progress ring with a percentage and caption centered inside. Use it for one headline ratio, such as storage used or a completion rate.
Installation
CLI
Works in any project with a components.json. See Installation for the one-line registry setup. Or use the suiss/ui CLI:
Manual
- Install the dependencies:
-
Copy the source into
components/charts/radial-chart-text.tsx:
- Update the import paths to match your project.
Usage
Set the value in chartData and keep the domain on PolarAngleAxis at your maximum. Update the percentage and caption in the center overlay, and change the color in chartConfig.
Notes
The center text is hard-coded, not computed from the data, and there is no tooltip.

A RadialBarChart drawn as a full circle, with a single value on a 0 to 100 PolarAngleAxis over a tinted track. The percentage and caption are Text layered in the middle. Nothing is interactive.
Installation
The CLI also adds what it builds on: Card, Chart, Text.
Manual
-
Target iOS 17 or later.
-
Copy the theme files every view uses:
- Copy the source and every file it uses:
- Add the files to your app target.
- Set
minSdkto 24 or higher and add the dependencies:
- Copy the theme files every view uses:
- Copy the source and every file it uses:
- Update the
com.esuiss.uipackage names to match your project.
Usage
Change the value in chartData (0 to 100) and the centered text to match it; the label and color live in chartConfig. The component takes no props.
