Skip to content
Flat Meet

Panel

Display

The surface of a section: .panel (20/24px padding) and .glass-panel (no padding). Solid --bg-surface with 16px corners and a visible outline. .subpanel is a row or card inside, on --bg-surface-subtle.

Source

src/app/globals.css
View in Storybook

Usage

Surfaces

.panel

The main box of a section, set apart by its fill and a visible outline

.subpanel — a row or card inside

.glass-panel

The same surface without padding, for content that sets its own, such as the timer bar

Guidelines

  • Cards keep a visible outline; nested rows stay borderless; preserve functional selected/focus indicators and field boundaries
  • Floating layers (dialogs, menus) use .floating or .panel-outline, which keep an outline so they never blend into what is behind