App Sidebar

An app sidebar is a navigation bar placed at the side of the application.
Example
Theme
Auto
Auto
Light
Dark
Scale
Medium
Large
Medium
Small
STARTUP
Home
MANAGEMENT
Users Downloads
<div class="ts-app-sidebar">
    <div class="header">
        STARTUP
    </div>
    <a class="item">
        <span class="ts-icon is-house-icon"></span> Home
    </a>
    <div class="header">
        MANAGEMENT
    </div>
    <a class="item is-active">
        <span class="ts-icon is-user-icon"></span> Users
    </a>
    <a class="item">
        <span class="ts-icon is-download-icon"></span> Downloads
    </a>
</div>
Introduction

The sidebar takes up the full container width. Place it in a container with a fixed width.

Structure
Header

A header is used to categorize items.

<div class="ts-app-sidebar">
    <div class="header">
        COMMON
    </div>
    <a class="item">
        <span class="ts-icon is-compass-icon"></span> Explore
    </a>
    <a class="item">
        <span class="ts-icon is-film-icon"></span> Films
    </a>
    <div class="header">
        MANAGEMENT
    </div>
    <a class="item">
        <span class="ts-icon is-user-icon"></span> Profile
    </a>
</div>
States
Active

A sidebar item can be marked as active to indicate the current page.

<div class="ts-app-sidebar">
    <div class="header">
        MANAGEMENT
    </div>
    <a class="item">
        <span class="ts-icon is-scissors-icon"></span> Feature Clips
    </a>
    <a class="item">
        <span class="ts-icon is-star-icon"></span> Favorites
    </a>
    <a class="item is-active">
        <span class="ts-icon is-thumbs-up-icon"></span> Likes
    </a>
</div>
Disabled

A disabled sidebar item prevents interaction. For hyperlinks, use the .is-disabled class.

TIMELINE
Footprints Favorites
<div class="ts-app-sidebar">
    <div class="header">
        TIMELINE
    </div>
    <a class="item">
        <span class="ts-icon is-shoe-prints-icon"></span> Footprints
    </a>
    <button class="item" disabled>
        <span class="ts-icon is-stopwatch-icon"></span> Limited Events
    </button>
    <a class="item is-disabled">
        <span class="ts-icon is-heart-icon"></span> Favorites
    </a>
</div>
Variations
Dense

A sidebar can be made denser to reduce the padding.

SYSTEM
Users
MANAGEMENT
Files Upload
<div class="ts-app-sidebar is-dense">
    <div class="header">
        SYSTEM
    </div>
    <a class="item">
        <span class="ts-icon is-users-icon"></span> Users
    </a>
    <div class="header">
        MANAGEMENT
    </div>
    <a class="item">
        <span class="ts-icon is-file-icon"></span> Files
    </a>
    <a class="item is-active">
        <span class="ts-icon is-upload-icon"></span> Upload
    </a>
</div>
Designed by Yami Odymel from Taiwan, along with the ❤️ from contributors. The source code is licensed under MIT, and the documentation is under CC 0 public domain. Feel free to use, share, or contribute. Tocas UI is a design system for Caris Events, part of Sorae & Co., Ltd.
Translators: Yami Odymel
Trademark of the owner of Tocas UI