Nested surface
Quieter nested glass without focus lift.
Secondary context — quieter border.
Glass section containers — panel chrome, focus elevation, and nested surfaces.
Live
Track status and next actions.
Nested glass with hover/focus elevation.
<section class="panel">
<div class="panel-head">
<div>
<h2 class="panel-title">Applications</h2>
<p class="panel-sub">Track status and next actions.</p>
</div>
</div>
<div class="glass-focus-surface nested-surface" tabindex="0" role="group" aria-label="Card">
<p class="msg">Content</p>
</div>
</section>
import { Panel, PanelHead, PanelTitle, PanelSub, GlassFocusSurface, NestedSurface } from 'caustica-design/core'
import 'caustica-design/css'
<Panel>
<PanelHead>
<div>
<PanelTitle>Applications</PanelTitle>
<PanelSub>Track status and next actions.</PanelSub>
</div>
</PanelHead>
<GlassFocusSurface className="nested-surface" tabIndex={0} role="group" aria-label="Card">
<p className="msg">Content</p>
</GlassFocusSurface>
</Panel>
Quieter nested glass without focus lift.
Secondary context — quieter border.
.is-busy suppresses hover elevation.
Busy — elevation paused.
.panel-title for section structure.| Class | Description |
|---|---|
.panel |
Glass section container. |
.panel-head / .panel-title / .panel-sub |
Header chrome. |
.glass-focus-surface / .is-busy |
Hover/focus elevation surface. |
.nested-surface |
Quieter nested glass. |
From src/core/Panel.tsx — Panel renders <section>.
| Prop | Type | Default | Description |
|---|---|---|---|
busy |
boolean |
false |
GlassFocusSurface — applies .is-busy. |
className / …HTML |
string / attrs |
— | Native attributes via forwardRef. |