Stop generating button with a filled square icon and an onClick handler, for cancelling a streaming AI response mid-answer in chat interfaces built with React.
pnpm dlx shadcn@latest add "https://ui.minidev.pro/r/stop-generating.json"