Stats
>= 1.20Stats components.
Stats, Personalization Blocks
Example:
// AppServiceProvider, "boot" method. TallStackUi::customize() ->stats() ->block('block', 'classes');
WARNING!
You are browsing the docs for an old version of TallStackUI. Consider upgrade your project to TallStackUI v3.
<x-stats title="Components" :number="100" />
An option to allow the navigation when clicking on the card.
<x-stats href="https://tallstackui.com" target="_blank" :number="100" />
Starting from version 1.35.0 you can now use navigate
and navigate-hover
:
<!-- <a href="https://tallstackui.com" wire:navigate ...> --><x-stats href="https://tallstackui.com" target="_blank" :number="100" navigate /> <!-- <a href="https://tallstackui.com" wire:navigate.hover ...> --><x-stats href="https://tallstackui.com" target="_blank" :number="100" navigate-nover />
Components
100
Components
100
Components
100
Components
100
Components
100
Components
100
Components
100
Components
100
Components
100
Components
100
Components
100
Components
100
Components
100
Components
100
Components
100
Components
100
Components
100
Components
100
Components
100
Components
100
Components
100
Components
100
Components
100
Components
100
The color is only applied to the icon and its style.
<!-- The color is only applied to the icon and its style.--> <x-stats :number="100" /><x-stats :number="100" color="secondary" /><x-stats :number="100" color="slate" /><x-stats :number="100" color="gray" /><x-stats :number="100" color="zinc" /><x-stats :number="100" color="neutral" /><x-stats :number="100" color="stone" /><x-stats :number="100" color="red" /><x-stats :number="100" color="orange" /><x-stats :number="100" color="amber" /><x-stats :number="100" color="yellow" /><x-stats :number="100" color="lime" /><x-stats :number="100" color="green" /><x-stats :number="100" color="emerald" /><x-stats :number="100" color="teal" /><x-stats :number="100" color="cyan" /><x-stats :number="100" color="sky" /><x-stats :number="100" color="blue" /><x-stats :number="100" color="indigo" /><x-stats :number="100" color="violet" /><x-stats :number="100" color="purple" /><x-stats :number="100" color="fuchsia" /><x-stats :number="100" color="pink" /><x-stats :number="100" color="rose" /><x-stats :number="100" color="black" /><x-stats :number="100" color="white" />
<!-- Default Styles --><x-stats :number="50" header="TallStackUI" footer="The best TALL Stack component library"> <x-slot:right> <x-icon name="wrench-screwdriver" class="w-6 h-6 text-pink-500" /> </x-slot:right></x-stats> <!-- or --> <!-- Raw Content --><x-stats :number="50"> <x-slot:header> TallStackUI </x-slot:header> <x-slot:right> <x-icon name="wrench-screwdriver" class="w-6 h-6 text-pink-500" /> </x-slot:right> <x-slot:footer> The best TALL Stack component library </x-slot:footer></x-stats>