Tracker
A flexible uptime/status tracker component with hoverable tooltips, ideal for status pages and dashboards.
Example
example.com
99.9%
uptime
90 days agoToday
Operational
Performance Issues
Service Unavailable
No Data
Installation
CLI (Recommended)
Manual
Install the following dependencies:
bash npm install @radix-ui/react-hover-card
Copy the source code to components/lyxui/tracker.tsx
You are ready to use the component! Simply import it and start using it in your code.
Props
Prop | Type | Default |
---|---|---|
className? | string | "" |
hoverEffect? | boolean | false |
defaultBackgroundColor? | string | "bg-gray-400 dark:bg-gray-400" |
data? | TrackerBlockProps[] | required |
TrackerBlockProps
Prop | Type | Default |
---|---|---|
defaultBackgroundColor? | string | "bg-gray-400 dark:bg-gray-400" |
hoverEffect? | boolean | false |
tooltip? | string | "" |
color? | string | "bg-gray-400 dark:bg-gray-400" |
key? | string | number | index |
For more advanced usage, see the source code or customize the block rendering.