Admin dashboards Free template

Admin dashboard

A responsive admin layout with a collapsible sidebar, KPI cards, a bar chart drawn on a canvas and a sortable, searchable table.

Live preview

The preview runs in a sandbox: it cannot reach your account, cookies or the network.

About this template

The skeleton of a back-office screen: a sidebar that collapses on small screens, four summary cards, a bar chart drawn with the canvas API (no chart library) and an orders table you can search and sort by clicking the column headings. The sample data lives in one array at the top of app.js, so replacing it with your own data is the first step.

dashboardadmintablechartsidebar

Look under the hood

Included source files

2,198 bytes
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Dashboard</title>
  <link rel="stylesheet" href="style.css">
</head>
<body>
  <div class="layout" id="layout">
    <aside class="side" aria-label="Sidebar">
      <div class="logo">Acme Admin</div>
      <nav>
        <a href="#" class="active">Overview</a>
        <a href="#">Orders</a>
        <a href="#">Customers</a>
        <a href="#">Products</a>
        <a href="#">Settings</a>
      </nav>
    </aside>

    <div class="content">
      <header class="head">
        <button type="button" id="menu" aria-label="Show or hide the menu" aria-expanded="true">Menu</button>
        <h1>Overview</h1>
      </header>

      <main>
        <section class="kpis" aria-label="Key numbers">
          <article><span>Revenue</span><strong id="k-revenue">0</strong></article>
          <article><span>Orders</span><strong id="k-orders">0</strong></article>
          <article><span>Average order</span><strong id="k-average">0</strong></article>
          <article><span>Shipped</span><strong id="k-shipped">0</strong></article>
        </section>

        <section class="panel">
          <h2>Revenue by month</h2>
          <canvas id="chart" width="720" height="240" role="img" aria-label="Bar chart of revenue by month"></canvas>
        </section>

        <section class="panel">
          <div class="row"><h2>Recent orders</h2><label class="search">Search <input id="search" type="search" placeholder="Name or status"></label></div>
          <div class="scroll">
            <table>
              <thead><tr>
                <th><button type="button" data-sort="id">Order</button></th>
                <th><button type="button" data-sort="customer">Customer</button></th>
                <th><button type="button" data-sort="amount">Amount</button></th>
                <th><button type="button" data-sort="status">Status</button></th>
              </tr></thead>
              <tbody id="rows"></tbody>
            </table>
          </div>
        </section>
      </main>
    </div>
  </div>
  <script src="app.js"></script>
</body>
</html>

Update history

  1. 1.0.0

    First release.