Vibedex.io
Back to gallery
dashboardsBeginner

Dashboard Two-Pane

Two-pane layout for sidebar + main content dashboards.

Claude prompt

Drop this into Claude Code, claude.ai, or your AI tool of choice to regenerate or remix this component from scratch.

Build a 2-pane dashboard layout with Tailwind: a left sidebar (~25%) and main content (~75%). Each pane has its own padding and scroll behavior.

Code

html
<!--
  Source: Mark Mead (HyperUI)
  https://github.com/markmead/hyperui/blob/d09f638255d00e91e95f3cabea4f1d385356dd70/public/examples/application/grids/2.html
  License: MIT
  Surfaced via https://vibedex.io/components/hyperui-dash-grid-2
-->
<div class="bg-white text-gray-900 min-h-screen flex items-center justify-center">
  <div class="p-6 w-full">
<div class="grid grid-cols-1 gap-4 lg:grid-cols-3 lg:gap-8">
      <div class="h-32 rounded bg-gray-300"></div>
      <div class="h-32 rounded bg-gray-300 lg:col-span-2"></div>
    </div>
  </div>
</div>