View-controls toolbar with independent density and layout toggles wired to a demo list that visibly responds with changed padding and grid or list arrangement.
npx shadcn@latest add @shadcn-ui-blocks/application-pro-filters-and-search-results-density-toggleSign in or get a license at shadcn-ui-blocks.com to see its source and install it.