components
Tailwind CSS Stat
Stat is used to display key data and metrics in a clean and customizable layout.
This basic example of stat component.
The example below demonstrates a Stat displaying with avatar.
The example below demonstrates a Stat displaying with icons and images.
The example below shows a Stat with a centered item layout.
The example below illustrates a vertical Stat layout.
Use TailwindCSS classes for responsive design, such as sm:
, md:
, lg:
, xl:
, and 2xl:
, along with the responsive class stats-vertical
, to switch the stat alignment to horizontal at specific breakpoints or vice the versa.
The example below shows a Stat with a progress bar.
The following example demonstrates the use of an action button within a stat component.
The following example demonstrates a Stat component with a bordered layout.