Toggle group that switches between compact and comfortable density, reporting the choice to your handler. Pairs with data tables and dense list views.
npx shadcn@latest add @minidev/density-toggle
density-toggle