App Center

An app center is used to center forms or blocks in the middle of the screen.
Example
Theme
Auto
Auto
Light
Dark
Scale
Medium
Large
Medium
Small
This block will be centered.
<div class="ts-app-center">
    <div class="content">
        <div class="ts-box">
            <div class="ts-content is-padded">
                This block will be centered.
            </div>
        </div>
    </div>
</div>
Introduction

App center is for centering forms or blocks, not text.

Structure

The content is placed inside the content block.

<div class="ts-app-center">
    <div class="content">
        <!-- ... -->
    </div>
</div>
Compositions
Login Form

A login page with a centered form and input fields.

Username
Password
<div class="ts-app-center">
    <div class="content">
        <div class="ts-box" style="width: 270px">
            <div class="ts-content">
                <div class="ts-wrap is-vertical">
                    <div class="ts-text is-label">Username</div>
                    <div class="ts-input is-start-icon">
                        <span class="ts-icon is-user-icon"></span>
                        <input type="text" />
                    </div>
                    <div class="ts-text is-label">Password</div>
                    <div class="ts-input is-start-icon">
                        <span class="ts-icon is-lock-icon"></span>
                        <input type="password" />
                    </div>
                    <button class="ts-button is-fluid">Login </button>
                </div>
            </div>
        </div>
    </div>
</div>
Startup

A startup page with a centered suggestion or the last opened file path.

<div class="ts-app-layout is-vertical">
    <div class="cell is-secondary" style="height: 300px">
        <div class="ts-app-center">
            <div class="content">
                <div class="ts-content is-rounded is-padded is-tertiary">
                    <div class="ts-header">Select the project…</div>
                    <div class="ts-list is-unordered has-top-spaced">
                        <a class="item">C:\Users\Yami\Spring-2016</a>
                        <a class="item">C:\Users\Yami\Caris-Events</a>
                        <a class="item">D:\Casino-Dev</a>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="cell">
        <div class="ts-content">
            <div class="ts-app-navbar is-fluid">
                <a class="item">
                    <span class="ts-icon is-diagram-project-icon"></span>
                    <div class="label">Projects</div>
                </a>
                <a class="item">
                    <span class="ts-icon is-bug-icon"></span>
                    <div class="label">Debug</div>
                </a>
                <a class="item">
                    <span class="ts-icon is-gear-icon"></span>
                    <div class="label">Settings</div>
                </a>
            </div>
        </div>
    </div>
</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