Savva Sicevs

Amount

Component

About

Currency and crypto amount formatters that keep symbols, decimals, abbreviations and signed colours consistent across a fintech screen. Part of ssych ui: https://ssych.com/library/amount

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Amount to your project and fits it to your theme.

Code

How Amount is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

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>
  )
}

Explore more

Part of ssych ui — browse the full library on 21st.dev.