Compare Aidos's surfaces, materials, inputs, navigation, and controls. Each example uses library components and public props. Use the documentation theme toggle to compare light and dark appearances.
The Desktop laboratory covers additional workflows, menus, and palettes.
Workspace in context
Scroll the conversation: content continues under the glass tabs, header actions, and composer. Switch tabs, keep a draft, send a message, or open the inspector. The navigation uses the same reusable glass material.
Design conversationYouLet's make the workspace feel lighter without removing the structure. Keep the document readable and let the controls float above it.AssistantThe navigation is a separate glass surface. Individual tabs and header actions use the same material; there is no opaque bar behind them.YouThe composer should start on one line. Keep the send action beside the draft, even when a longer message wraps.AssistantThe reading pane extends from the top to the bottom of the workspace. Its header and composer are overlays, not rows that shorten the document.YouWhat happens to the first and last messages? They still need to be reachable without hiding behind the controls.AssistantThe pane reserves scrollable space using the measured header and footer heights. When the composer grows, the bottom inset follows it.YouKeep keyboard navigation, drafts, and the inspector working. The material shouldn't introduce a different set of controls.AssistantTry switching tabs, writing a multiline draft, opening the inspector, or narrowing the window. These are the same Aidos components used in the rest of the documentation.YouAnd the translucency preferences?AssistantReduced transparency replaces glass with opaque surfaces. The layout and interaction stay the same; reduced motion keeps the reflections still.
Implementation conversationYouLet's make the workspace feel lighter without removing the structure. Keep the document readable and let the controls float above it.AssistantThe navigation is a separate glass surface. Individual tabs and header actions use the same material; there is no opaque bar behind them.YouThe composer should start on one line. Keep the send action beside the draft, even when a longer message wraps.AssistantThe reading pane extends from the top to the bottom of the workspace. Its header and composer are overlays, not rows that shorten the document.YouWhat happens to the first and last messages? They still need to be reachable without hiding behind the controls.AssistantThe pane reserves scrollable space using the measured header and footer heights. When the composer grows, the bottom inset follows it.YouKeep keyboard navigation, drafts, and the inspector working. The material shouldn't introduce a different set of controls.AssistantTry switching tabs, writing a multiline draft, opening the inspector, or narrowing the window. These are the same Aidos components used in the rest of the documentation.YouAnd the translucency preferences?AssistantReduced transparency replaces glass with opaque surfaces. The layout and interaction stay the same; reduced motion keeps the reflections still.
Release conversationYouLet's make the workspace feel lighter without removing the structure. Keep the document readable and let the controls float above it.AssistantThe navigation is a separate glass surface. Individual tabs and header actions use the same material; there is no opaque bar behind them.YouThe composer should start on one line. Keep the send action beside the draft, even when a longer message wraps.AssistantThe reading pane extends from the top to the bottom of the workspace. Its header and composer are overlays, not rows that shorten the document.YouWhat happens to the first and last messages? They still need to be reachable without hiding behind the controls.AssistantThe pane reserves scrollable space using the measured header and footer heights. When the composer grows, the bottom inset follows it.YouKeep keyboard navigation, drafts, and the inspector working. The material shouldn't introduce a different set of controls.AssistantTry switching tabs, writing a multiline draft, opening the inspector, or narrowing the window. These are the same Aidos components used in the rest of the documentation.YouAnd the translucency preferences?AssistantReduced transparency replaces glass with opaque surfaces. The layout and interaction stay the same; reduced motion keeps the reflections still.
Pane overlay="both" keeps the full reading surface behind its header and footer, while measuring their heights so the first and last content remain reachable. Tabs tabMaterial="glass" treats each tab separately—not the whole header.
Surface placement and elevation
The default card is the baseline. Tonal cards separate content through color, floating cards add elevation, and glass lets the surrounding surface show through. Glass adds the same refractive surface, highlights, and shadow used by the composer; the card retains its spacing and shape.
Default
Current Aidos card treatment
Tonal
Separation without elevation
Floating
External ambient elevation
Glass
Translucency with refractive edges
Materials
Materials describe a surface's appearance independently from its role. Atmospheric presets add a tint; glass shares one treatment for diffusion, highlights, and elevation across components. All treatments follow light and dark themes.
Aurora
Diffuse blue-green light
Dawn
Pale sky, peach, and restrained gold
Mist
Neutral, milky diffusion
Twilight
Deep indigo with fading violet warmth
Glass
Refraction with adjustable diffusion
Neutral grayscale backdrop
Thin: 28%/32% light/dark tint and 5px blur; the default glass treatment.
Regular: 38%/42% tint and 8px blur; opt-in extra diffusion.
Thick: 48%/52% tint and 12px blur; opt-in denser diffusion.
Reduced motion keeps highlights still. Reduced transparency and forced colors replace glass with an opaque surface.
Using glass
Use material="glass" on standard components. Their geometry, selection, and focus behavior stay intact; the shared material supplies tint, refraction, highlights, and shadow.
Button, IconButton, Card, TextInput, List, Tabs, and TabBar accept material="glass". List rows retain their ordinary styling. Tabs tabMaterial="glass" applies glass to individual tabs instead of the strip. Switches use glass by default.
Append JSS overrides after glass() when needed. Changing material keeps the same mounted surface and refs. Composer material="glass" uses the same helper; glassThickness defaults to "thin".
The refraction map is adapted from Shu Ding's liquid-glass under the MIT license. Browsers without SVG backdrop filters retain the CSS blur.
Text input
Default and glass fields share the same dimensions and soft accent-colored focus halo. Glass fields use the default thin material.
Default
Glass
Buttons and icon buttons
Default
0 activations
Glass
0 activations
Switches
Switches use glass by default, sharing the composer’s surface treatment. The solid option retains the same on-state tint, thumb, and keyboard behavior.
Solid
Notifications
Sync across devices
Managed setting
Glass (default)
Notifications
Sync across devices
Managed setting
Lists
Compare default and glass list surfaces on the same full backdrop. Rows keep their standard selection, keyboard navigation, and disabled treatment.
Plain background
Default
Glass surface
Gradient background
Default
Glass surface
Tabs
Segmented
Overview panel
Glass
Overview panel
Tab bar material
Composer
The glass composer defaults to the thin refractive treatment. Denser thicknesses are opt-in; switching keeps the draft.