Toggle group that switches between compact and comfortable density, reporting the choice to your handler. Pairs with data tables and dense list views.
pnpm dlx shadcn@latest add "https://ui.minidev.pro/r/density-toggle.json"