# Sidebars

> Part of Tray UI 0.2.0, a design system in plain HTML and CSS (MIT licence). Every page: https://trayui.com/llms.txt

15 app sidebars in plain HTML and CSS: one level or two, sections that fold, a rail of icons, a file tree, a calendar and a sidebar on each side.

## Sidebar

- [Sidebar grouped by section](https://trayui.com/blocks/sidebar-01.md): The base app sidebar: a wordmark, main items with a count, two labelled sections and the user at the foot. Start here for one level of navigation.
- [Sidebar with sections that fold](https://trayui.com/blocks/sidebar-02.md): The base sidebar with labelled sections that fold under their headings, one open and one closed; for when there are many sections and people use few.
- [Sidebar with a second level](https://trayui.com/blocks/sidebar-03.md): A sidebar with a second level always open under its items, such as the statuses under Orders; for a short second level used every day.
- [Sidebar with a level that folds](https://trayui.com/blocks/sidebar-04.md): A sidebar whose items fold open to show their second level, Orders open and the rest closed; for when the second level is too long to keep open.
- [Sidebar with menus](https://trayui.com/blocks/sidebar-05.md): A sidebar whose items open their second level in a menu beside them, so the list stays short; for when people go straight to a page under an item.
- [Sidebar that collapses to icons](https://trayui.com/blocks/sidebar-06.md): A sidebar that a button in the top bar folds to a rail of icons with tooltips, with a workspace switcher, a meter of orders and an account menu.
- [Inset sidebar](https://trayui.com/blocks/sidebar-07.md): An inset sidebar on a grey ground, the page in one white panel: a workspace switcher, the main items, a list of recent batches and an account menu.
- [Two sidebars](https://trayui.com/blocks/sidebar-08.md): Two sidebars: a rail of section icons beside an inbox of messages with a search and an Unread switch; for when a section is a list to pick from.
- [Sidebar with a file tree](https://trayui.com/blocks/sidebar-09.md): A sidebar for files: the changed files marked as modified, added or deleted, then a tree of folders that fold, with the open file in the breadcrumb.
- [Sidebar with a calendar](https://trayui.com/blocks/sidebar-10.md): A wide sidebar for a calendar: a month to pick the day, your own and the shared calendars as checkboxes in groups that fold, and a button to add one.
- [Sidebar at the end](https://trayui.com/blocks/sidebar-11.md): A sidebar at the end of the page with the contents of a long guide: headings, sub-headings, the current place marked and a link back to the top.
- [Sidebar on each side](https://trayui.com/blocks/sidebar-12.md): Navigation at the start of the page and details at the end: one order's customer, items, total and next deliveries, with a button to pack it.
- [Sidebar under a site header](https://trayui.com/blocks/sidebar-13.md): A sidebar under a header that spans the whole product and holds the wordmark, the breadcrumb, a search, notifications and the account.
- [Sidebar in a dialog](https://trayui.com/blocks/sidebar-14.md): A settings dialog open over the app, with a sidebar of its own: six sections down the side and the notification switches of the chosen one.
- [Navigation in a popover](https://trayui.com/blocks/sidebar-15.md): A page with no sidebar: a Menu button in the header opens the navigation in a popover; for small products or pages that need the full width.
