> For the complete documentation index, see [llms.txt](https://docs.rowsncolumns.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rowsncolumns.app/configuration/components/sheet-switcher.md).

# Sheet Switcher

Dropdown menu with a list of sheets, both hidden and visible

<figure><img src="https://67932947-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHWsslZpYESUXxPccoyig%2Fuploads%2Fgit-blob-a5e07b6ff2a598e305c21c225f64df813b558135%2Fimage.png?alt=media" alt=""><figcaption><p>Sheet Switcher</p></figcaption></figure>

```tsx
import { SheetSwitcher } from "@rowsncolumns/spreadsheet"

const App = () => {
  return (
    <SheetSwitcher
      sheets={sheets}
      activeSheetId={activeSheetId}
      onChangeActiveSheet={onChangeActiveSheet}
      onShowSheet={onShowSheet}
    />
  )
}
```
