Money-formatting suite: Fiat, Crypto and Percent amount components that agree on symbol placement, precision, K/M/B/T abbreviation and sign coloring. Tabular numerals, light and dark via shadcn theme tokens.
import { useEffect } from "react"import { Demo } from "@/components/ui/amount"export default function DemoOne() { // open the preview in dark by default; the sandbox theme toggle still works useEffect(() => { document.documentElement.classList.add("dark") }, []) return ( <div className="w-full"> <Demo /> </div> )}