A key is sized in em and takes the colour of the text around it, so it fits small print, a paragraph and a heading alike.
pnpm dlx shadcn@latest add "https://kinoui.com/r/kbd-2.json"