An interactive currency converter and token swap card with real-time exchange rates, NumberFlow spring animations, Space UI Select with flags, and a liquid metal squircle button.
pnpm dlx shadcn@latest add @spaceui/interactions-currency-converterimport { CurrencyConverter } from '@/components/interactions/currency-converter'<CurrencyConverter />| Prop | Type | Default | Description |
|---|---|---|---|
initialFromCurrency | string | USD | Initial currency code for sending |
initialToCurrency | string | EUR | Initial currency code for receiving |
initialAmount | number | 100 | Initial numerical amount to convert |
currencies | Currency[] | DEFAULT_CURRENCIES | Custom array of available currency rates and metadata |
onConvert | (details: CurrencyConvertDetails) => void | - | Callback triggered when the convert action button is pressed |
className | string | - | Additional class name applied to outer Frame container |
Real-time telemetry event stream monitoring tool executions, state diffs, tokens expended, and security policy checks.
ViewInteractive card-swipe approval stack for autonomous agent actions with multi-tier risk metadata, keyboard shortcuts (A/D), and sound feedback.
ViewInteractive multi-step wizard for synthesizing agent personas, custom system directives, tool clearance grants, and model tiers.
Viewpnpm dlx shadcn@latest add @spaceui/interactions-currency-converter