Components
Moving-average chart: one price line with 60- and 200-period SMA overlays, right-edge price ticks, and a summary row underneath with a signed change chip. Light and dark via theme tokens.
Loading preview...
import { Demo } from "@/components/ui/sma-chart"
export default function DemoOne() {
return (
<div className="w-full bg-background" style={{ background: "var(--card)" }}>
<Demo />
</div>
)
}