Initial independent version of CrAPP

This commit is contained in:
Ivan Cacciari
2026-08-06 08:36:47 +02:00
commit 330669176d
167 changed files with 24096 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
import { useConteggio } from "@/lib/motion";
/** Contatore animato per statistiche e percentuali. */
export function Numero({
valore,
durata = 700,
suffisso = "",
}: {
valore: number;
durata?: number;
suffisso?: string;
}) {
const n = useConteggio(valore, durata);
return (
<span className="tabular-nums">
{n}
{suffisso}
</span>
);
}