Glass

A frosted glass look for popups, panels and controls. It comes with the components, and you can adjust it from your stylesheet.

Dark popups, light panels

Popups such as menus, tooltips and toasts are dark glass in both themes, so they stand out from the page. Panels such as dialogs, cards and the header are light glass that follows your theme. Small parts like checkboxes and switches stay solid.

Popup glass

12 documents were re-indexed and 3 sources went stale since Monday.

Popup
Panel glass

12 documents were re-indexed and 3 sources went stale since Monday.

Panel

Three thicknesses

Thin glass is for chips and fields. Regular glass is for cards and floating panels. Thick glass is for anything that holds a form, like a dialog. The thicker it is, the more it hides what is behind it.

Thin
Weekly digest

12 documents were re-indexed and 3 sources went stale since Monday.

Regular
Weekly digest

12 documents were re-indexed and 3 sources went stale since Monday.

Thick

Use it

You get glass without doing anything, because the components already use it. For a glass button or badge over an image, pick the glass variant.

<Button variant="glass">Preview</Button>
<Badge variant="glass">4K</Badge>

For a panel of your own, copy one of these.

// popup (dark in both themes)
<div className="bg-glass-background-primary text-glass-text-primary shadow-glass backdrop-glass" />

// panel
<div className="bg-glass-background-surface shadow-glass-surface backdrop-glass" />

// thick panel, for forms and dialogs
<div className="bg-glass-background-surface-thick shadow-glass-surface backdrop-glass-thick" />

Backdrops

The same card over different backgrounds. Glass shows best over colour and photos. On a plain page it reads as a soft card.

Weekly digest

12 documents were re-indexed and 3 sources went stale since Monday.

Flat grey
Weekly digest

12 documents were re-indexed and 3 sources went stale since Monday.

Bright photo
Weekly digest

12 documents were re-indexed and 3 sources went stale since Monday.

Flat white
Weekly digest

12 documents were re-indexed and 3 sources went stale since Monday.

Soft gradient
Weekly digest

12 documents were re-indexed and 3 sources went stale since Monday.

Dark photo

Do and don't

  • Put buttons and fields on a glass panel.
  • Don't put glass panels inside glass panels. It gets muddy fast. Group things with spacing, a divider or a plain fill instead.
  • Give glass something to sit on, like a photo, a gradient or a coloured section.
4K

Over dark photos

Glass buttons and badges follow the theme, so in light mode they are light. Over a dark photo that looks out of place. Add dark to the wrapper and they switch to dark glass with white text, whatever the page theme is.

<div className="dark bg-cover" style={{ backgroundImage }}>
  <Button variant="glass">Preview</Button>
</div>
New

Make it yours

Every glass value is a CSS variable in your global stylesheet. Change one and all components follow. Raise a percentage for more solid glass, or lower a blur for a clearer one.

TokenUsed forLightDark
--glass-background-primaryPopup fillblack 88%black 88%
--glass-background-primary-hoverHighlighted row in a popupgrey 8%grey 8%
--glass-text-primary … negativeText inside popupswhite scalewhite scale
--glass-dividerSeparator inside popupsgrey 8%grey 8%
--shadow-glassPopup rim and drop shadowlight rimlight rim
--glass-background-surfaceHeader, floating panelswhite 72%black 88%
--glass-background-surface-thickDialog, alert dialog, sheet, drawerwhite 84%black 96%
--glass-background-controlButton and Badge glasswhite 60%grey 8%
--glass-background-control-hoverHovered glass buttonwhite 80%grey 16%
--shadow-glass-surface-valueSurface rim and drop shadowbright top, dark hairlinefaint white rim
--shadow-glass-control-valueControl rimbright top, dark hairlinefaint white rim
--blur-glass-thin / glass / thickBlur radius per thickness12 / 24 / 40px12 / 24 / 40px

Accessibility

When someone has Reduce transparency turned on in their system settings, glass becomes solid on its own. Main text stays readable on every kind of glass. The one case to watch is long grey secondary text on a light panel over a very dark photo. Add dark to the wrapper there.

Example: RAG chat

A chat screen built from three glass panels. The same markup, once over a photo and once over a gradient.

Refund policy for annual plans

Company handbook · 248 docs · synced 2h ago
Grounded
What's our refund policy for annual plans if someone cancels after 40 days?
Searched Company handbook · 4 passages from 3 docs · 0.4s
A

Annual plans are refundable in full within 30 days of purchase.1 After day 30, customers get a prorated credit for unused full months rather than a cash refund.12 At day 40 that works out to 10 months of credit on the account.

Exceptions need a Billing lead's approval and have to be logged on the ticket first.3

1billing-policy.pdf2support-playbook.md3finance-approvals.docx
High confidence · 3 sources
Does that apply to EU customers too?
A
Retrieving from Company handbook…

Refund policy for annual plans

Company handbook · 248 docs · synced 2h ago
Grounded
What's our refund policy for annual plans if someone cancels after 40 days?
Searched Company handbook · 4 passages from 3 docs · 0.4s
A

Annual plans are refundable in full within 30 days of purchase.1 After day 30, customers get a prorated credit for unused full months rather than a cash refund.12 At day 40 that works out to 10 months of credit on the account.

Exceptions need a Billing lead's approval and have to be logged on the ticket first.3

1billing-policy.pdf2support-playbook.md3finance-approvals.docx
High confidence · 3 sources
Does that apply to EU customers too?
A
Retrieving from Company handbook…