export const title = "Activity gauge components" export const description = "Powerful and customizable React activity gauge components built for modern applications and websites. These activity gauges are built using Recharts and styled with Tailwind CSS." export const links = { github: "https://github.com/untitleduico/react/tree/main/components/application/charts", recharts: "https://recharts.org/en-US/api/RadialBarChart", } import * as ActivityGauges from "@/components/application/charts/activity-gauges.story.tsx"; ## Installation You can add this activity gauge component using our CLI or manually: ```bash npx untitledui@latest add charts-base ``` Copy the files below into your project: Great! Now you can start using the activity gauge components in your project by just copy/pasting our examples below. ## Activity gauge examples Below are examples and variations of this activity gauge component: ### Activity gauge xs {{ tocOnly:true }} ### Activity gauge sm {{ tocOnly:true }} ### Activity gauge md {{ tocOnly:true }} ### Activity gauge lg {{ tocOnly:true }} ## API reference } />` and `} />`, from `charts-base`. `ChartTooltipContent` forwards Recharts' `formatter` and `labelFormatter`, and `ChartLegendContent` accepts `reversed` and `className`.", }, { question: "Can I animate the gauge as it loads?", answer: "The examples set `isAnimationActive={false}` on `RadialBar` so the rings render instantly. Remove that prop to fall back to Recharts' default of `\"auto\"`, or set it to `true`, to animate the rings in.", }, ]} />