List With Switch - List panel with switch

Pro

Settings rows with a trailing Switch control per entry.

Shadcn List With Switch component

Component Data

  • ID:list-panel/list-with-switch
  • Access:pro
  • Created:May 23, 2026
  • Type:example

List With Switch component design & features

This example places a Switch in ItemActions on each row so users toggle notifications and feature flags inline.

Switch lists are standard in settings panels, preference screens, and admin tools where each row maps to a boolean setting.