Inline percent change with a directional arrow, green for up and rose for down, beside a compare period.
Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.
import { Indicator8 } from "@/components/beste/piece/indicator8";
<Indicator8
direction="up"
value="+12.4%"
period="vs last week"
/>