shadcn stat component with a sparkline slot under the value.
npx shadcn@latest add @shadcnblocks/stat-stat-sparkline-1
Sign in or get a license at Shadcn Blocks to see its source and install it.