- accordion
- alert dialog
- annonce
- aspect ratio
- avatar
- badge
- banner
- button
- calendar
- card
- checkbox
- context menu
- date picker
- dialog
- drawer
- dropdown menu
- empty state
- hover card
- input
- label
- popover
- progress
- radio group
- scroll area
- select
- separator
- slider
- switch
- tabs
- textarea
- toast
- toggle group
- toggle
- toolbar
- tooltip
Data Visualization
Learn how to use Data Visualization components in Tailus UI
Installation
Tailus UI uses Recharts for data visualization components. Install Recharts by running the following command:
Make sure to have themer v0.1.7
or later to be able to use --dv-
variables
Download and place visualization components in tailus-ui/visualizations folder or install each component individually.
Important
If youβre installing each component separately, itβs important to remember to export all of these components in the index.ts
file. This ensures that they can be easily imported from other parts of your application.
Usage
We provide --dv-
CSS variables for styling Recharts through the components
plugin.
The available variables are :
--dv-primary
--dv-secondary
--dv-accent
--dv-info
--dv-danger
--dv-success
--dv-warning
--dv-gray
--dv-neutral
To use --dv-
variables with color shades such as --dv-primary-400
, import the visualizations
plugin in your Tailwind config file and add it to the plugins array.
Read each componentβs documentation to learn how to use them in your application.