---
title: "Reader Sidebar N.01"
description: "A floating sidebar for a read-later app: Library, Feed, and Notes tabs, unread and saved rows, sources, tags, a docked player, and this week's reading."
url: https://gelatinui.com/blocks/reader-sidebar-01
markdown_url: https://gelatinui.com/blocks/reader-sidebar-01.md
access: pro
install: "npx shadcn@latest add @gelatin-ui-pro/reader-sidebar-01"
version: "2026-11-16"
index: https://gelatinui.com/llms.txt
docs_index: https://gelatinui.com/docs/llms.txt
---

# Reader Sidebar N.01

> A floating sidebar for a read-later app: Library, Feed, and Notes tabs, unread and saved rows, sources, tags, a docked player, and this week's reading.

Page: https://gelatinui.com/blocks/reader-sidebar-01

## When to use it

Best for: The nav of a feed reader: view tabs, sources with counts, tags, a docked player, and reading time.

- Use it as the frame of a feed, newsletter, or read-later app.
- Pass your words through `content`. Start from `READER_SIDEBAR_01_DEFAULT_CONTENT` and change the fields you need.
- Pass your logo in `content.brand.mark`, and the logo of each source in its `mark`. With none, a letter tile and a feed icon show.

## When not to use it

- For a general app nav with a workspace switcher, use a [Sidebar](https://gelatinui.com/components/sidebar.md).
- For the parts with no ready contents, use [Sidebar](https://gelatinui.com/components/sidebar.md).

## Notes for agents

- ⌘B (Ctrl+B elsewhere), the rail, or the close button folds it to a 48px icon rail. The logo button opens it again.
- `ReaderSidebar01Views` owns the open view (`value`, `defaultValue`, `onValueChange`). The tabs and the rail rows share it; your app swaps the rows by the view.
- The search, replay, and page bar buttons do nothing: wire them to your app. The play button only flips its own state.
- A cookie keeps the state. Pass `cookie={false}` in a demo.
- With children, the block ignores `content`.

## Anatomy

```text
ReaderSidebar01
├─ ReaderSidebar01Brand (0..n)
├─ ReaderSidebar01Card (0..n)
├─ ReaderSidebar01Default (0..n)
├─ ReaderSidebar01LinkRow (0..n)
├─ ReaderSidebar01Page (0..n)
├─ ReaderSidebar01PlayerControls (0..n)
├─ ReaderSidebar01PlayerCover (0..n)
├─ ReaderSidebar01PlayerHead (0..n)
├─ ReaderSidebar01PlayerMeta (0..n)
├─ ReaderSidebar01PlayerProgress (0..n)
├─ ReaderSidebar01PlayerReplay (0..n)
├─ ReaderSidebar01PlayerText (0..n)
├─ ReaderSidebar01PlayerTitle (0..n)
├─ ReaderSidebar01PlayerToggle (0..n)
├─ ReaderSidebar01Player (0..n)
├─ ReaderSidebar01RailAccount (0..n)
├─ ReaderSidebar01ReadingChange (0..n)
├─ ReaderSidebar01ReadingSpark (0..n)
├─ ReaderSidebar01ReadingTitle (0..n)
├─ ReaderSidebar01ReadingValue (0..n)
├─ ReaderSidebar01Reading (0..n)
├─ ReaderSidebar01Tabs (0..n)
├─ ReaderSidebar01Tag (0..n)
├─ ReaderSidebar01Tags (0..n)
├─ ReaderSidebar01Views (0..n)
│  └─ ReaderSidebar01RailView (0..n)
├─ ReaderSidebar01AccountMenu (0..n)
├─ ReaderSidebar01MenuPerson (0..n)
├─ ReaderSidebar01MenuRow (0..n)
├─ ReaderSidebar01Panel (0..n)
│  ├─ ReaderSidebar01RailLink (0..n)
│  └─ ReaderSidebar01Row (0..n)
└─ ReaderSidebar01ThemeMenu (0..n)
```

## Styling

| Part | Slot | States | CSS variables | Tokens |
| --- | --- | --- | --- | --- |
| ReaderSidebar01 | `reader-sidebar-01` |  |  |  |
| ReaderSidebar01Brand | `reader-sidebar-01-brand` | `data-collapsible` |  |  |
| ReaderSidebar01Card | `reader-sidebar-01-card` | `data-collapsible` |  |  |
| ReaderSidebar01Default | `reader-sidebar-01-panel` | `data-collapsible` |  |  |
| ReaderSidebar01LinkRow | `reader-sidebar-01-link-row` |  |  |  |
| ReaderSidebar01Page | `reader-sidebar-01-page` |  |  |  |
| ReaderSidebar01PlayerControls | `reader-sidebar-01-player-controls` |  |  |  |
| ReaderSidebar01PlayerCover | `reader-sidebar-01-player-cover` |  |  |  |
| ReaderSidebar01PlayerHead | `reader-sidebar-01-player-head` |  |  |  |
| ReaderSidebar01PlayerMeta | `reader-sidebar-01-player-meta` |  |  |  |
| ReaderSidebar01PlayerProgress | `reader-sidebar-01-player-progress` |  |  |  |
| ReaderSidebar01PlayerReplay | `reader-sidebar-01-player-replay` |  |  |  |
| ReaderSidebar01PlayerText | `reader-sidebar-01-player-text` |  |  |  |
| ReaderSidebar01PlayerTitle | `reader-sidebar-01-player-title` |  |  |  |
| ReaderSidebar01PlayerToggle | `reader-sidebar-01-player-toggle` |  |  |  |
| ReaderSidebar01Player | `reader-sidebar-01-player` |  |  |  |
| ReaderSidebar01RailAccount | `reader-sidebar-01-rail-account` | `data-collapsible` |  |  |
| ReaderSidebar01RailLink | `reader-sidebar-01-rail-link` | `data-collapsible` |  |  |
| ReaderSidebar01RailView | `reader-sidebar-01-rail-view` | `data-collapsible` |  |  |
| ReaderSidebar01ReadingChange | `reader-sidebar-01-reading-change` |  |  |  |
| ReaderSidebar01ReadingSpark | `reader-sidebar-01-reading-spark` |  |  | `status-colors` |
| ReaderSidebar01ReadingTitle | `reader-sidebar-01-reading-title` |  | `--radius` | `status-colors` |
| ReaderSidebar01ReadingValue | `reader-sidebar-01-reading-value` |  |  |  |
| ReaderSidebar01Reading | `reader-sidebar-01-reading` |  |  |  |
| ReaderSidebar01Tabs | `reader-sidebar-01-tabs` | `data-collapsible` |  |  |
| ReaderSidebar01Tag | `reader-sidebar-01-tag` | `data-tone` |  | `status-colors` |
| ReaderSidebar01Tags | `reader-sidebar-01-tags` |  |  |  |
| ReaderSidebar01Views | `reader-sidebar-01-views` |  |  |  |
| ReaderSidebar01AccountMenu | `reader-sidebar-01-account-menu` |  |  |  |
| ReaderSidebar01MenuPerson | `reader-sidebar-01-menu-person` |  |  |  |
| ReaderSidebar01MenuRow | `reader-sidebar-01-menu-row` |  |  |  |
| ReaderSidebar01Panel | `reader-sidebar-01-panel` |  |  |  |
| ReaderSidebar01Row | `reader-sidebar-01-row` |  |  |  |
| ReaderSidebar01ThemeMenu | `reader-sidebar-01-theme-menu` |  |  |  |

## Usage

Render it with no props for the ready panel and the page bar.

```tsx title="reader-frame.tsx"
import { ReaderSidebar01 } from "@/components/blocks/pro/reader-sidebar-01/reader-sidebar-01";

export function ReaderFrame() {
  return <ReaderSidebar01 />;
}
```

## Compose

Rules:

- Compose the parts (`compose-parts`): Build each item from its named parts as children, and pass your text and icons in as parts.
- Every state is designed (`every-state`): Give each view of data its loading, empty, and error states: a skeleton in the final layout, an `Empty` with an illustration and one next action, and an error that says what failed and how to retry.

## Add it

```bash
npx shadcn@latest add @gelatin-ui-pro/reader-sidebar-01
```

It adds 73 registry items: 102 files, 14069 lines, and the npm packages `@base-ui/react`, `@dicebear/core`, `@dicebear/styles`, `@mantine/hooks`, `@phosphor-icons/react`, `@unpic/core`, `@xstate/react`, `clsx`, `motion`, `tailwind-merge`, `tailwind-variants`, `xstate`.

## Built on

- [Avatar](https://gelatinui.com/components/avatar.md)
- [Badge](https://gelatinui.com/components/badge.md)
- [Breadcrumb](https://gelatinui.com/components/breadcrumb.md)
- [Button](https://gelatinui.com/components/button.md)
- [Generated Avatar](https://gelatinui.com/components/generated-avatar.md)
- [Image](https://gelatinui.com/components/image.md)
- [Menu](https://gelatinui.com/components/menu.md)
- [Progress](https://gelatinui.com/components/progress.md)
- [Sidebar](https://gelatinui.com/components/sidebar.md)
- [Tabs](https://gelatinui.com/components/tabs.md)

## For AI agents

- Every item, one file: https://gelatinui.com/llms.txt
- MCP server (`search_items`, `get_item`, `get_install_plan`): https://gelatinui.com/mcp

## Related

- [Sidebar](https://gelatinui.com/components/sidebar.md)
- [Workspace Sidebar N.01](https://gelatinui.com/blocks/workspace-sidebar-01.md)
- [Tabs](https://gelatinui.com/components/tabs.md)
- [Progress](https://gelatinui.com/components/progress.md)

## Keyboard

| Keys | Action |
| --- | --- |
| ⌘B, Ctrl+B | Folds the panel to the icon rail, or opens it. |
| Left, Right | Moves between the tabs and opens the view. |
| Tab | Moves through the tabs, the rows, the tags, and the player buttons. |
| Enter, Space | Opens a row or a tag, or plays and pauses. |
| Esc | Closes the Drawer. |

## Accessibility

The rows show a tooltip with the name on the icon rail.

The tabs are a tab list with a name; arrow keys move between them.

The current row has `aria-current="page"`.

The play button changes its name between Play and Pause.

## Motion

| Part | Motion |
| --- | --- |
| Rail | sheet · the panel width changes |
| Tabs | indicator · the line slides to the new tab |
