Spatial (visionOS)
visionOS-style windows of lit glass floating in a room: generous padding, bold white type, controls in ornaments, depth instead of borders.
Try it
Ground
gradient
Surface
rgba(90,90,90,.35)
Text
#ffffff
Accent
#ffffff
- Type
- sans, on a dark ground
- Radius
- 32px
- Material
- backdrop-filter:blur(40px) saturate(150%); border:1px solid rgba(255,255,255,.18); box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 30px 60px rgba(0,0,0,.35)
This screen uses only the look's tokens. Click, type and toggle it. The libraries below are what your agent installs to build the real thing.
What your agent builds it with
Component kits
shadcn/uiCopy-in React components on Tailwind, built on Base UI, Radix or React Aria, plus a registry CLI.the default component layer for a new React + Tailwind app or SaaS dashboard
the project is Vue, Svelte or Solid: use shadcn-vue, shadcn-svelte or Kobalte
Primitives
Base UIUnstyled, accessible React primitives from the Radix, Floating UI and MUI teams.building your own design system where every pixel is custom
you want styled components today: use shadcn-ui (Base UI flavour) or coss-ui
Motion
MotionThe default animation library for React (formerly Framer Motion): springs, gestures, layout and exit animations.dialogs, popovers and panels that must animate out before they unmount (AnimatePresence)
a hover colour change or a one-shot fade: a CSS transition costs zero bytes
Icons
LucideClean 24px stroke icons, one component per icon, the default set for shadcn/ui.app UI icons in a shadcn/ui or Base UI project (buttons, menus, sidebars)
brand or company logos: Lucide 1.x ships no brand icons, use simple-icons
Backgrounds
No library. This look does it in plain CSS.
3D
React Three FiberReact renderer for three.js: build 3D scenes as JSX components with hooks.interactive 3D hero objects in a React or Next.js landing page
a decorative gradient or noise background: use paper-shaders, no 3D stack needed
Glass
No library. This look does it in plain CSS.
The plan your agent reads
For “landing page with a signup form, a pricing table and toasts” in Spatial (visionOS): the plan tool's answer, word for word
look: Spatial (visionOS) (spatial, glass family)
framework: react (assumed; pass framework)
build with every line below: run its install (shadcn init works in any React + Tailwind app and adds only components.json, lib/utils.ts and theme tokens), build its part with it (usage under it), then adapt it to the rules below. A hand-written stand-in for a listed part (a <details> for an Accordion) is a miss
component-kit (its parts for this page) -> shadcn-ui: Copy-in React components on Tailwind, built on Base UI, Radix or React Aria, plus a registry CLI. (look's own kit) | npx shadcn@latest init -b base -p nova && npx shadcn@latest add button card badge table input label | else: mantine, boardui
motion (presses, gestures, menus and entrances) -> motion: The default animation library for React (formerly Framer Motion): springs, gestures, layout and exit animations. (look's pick) | npm i motion
feedback (toasts) -> sonner: progress of an async task the user can walk away from (toast.promise) | npm i sonner | else: react-hot-toast, ding
import { Toaster, toast } from 'sonner'
<Toaster position="bottom-right" />
<button onClick={() => toast('Invite sent', { action: { label: 'Undo', onClick: undoInvite } })}>Invite</button>
icons (every icon on the page: one size and stroke, set once) -> lucide: Clean 24px stroke icons, one component per icon, the default set for shadcn/ui. (look's pick) | npm i lucide-react
import { LucideProvider, Search } from 'lucide-react'
<LucideProvider size={16} strokeWidth={1.5}>
<Search aria-hidden />
</LucideProvider>
done when: every package above is imported where its part is, and no listed part is hand-written
vs: Not liquid glass: whole windows are glass and content sits on them, with no lensing. Not glassmorphism: no colour blobs; the backdrop is a real environment and depth comes from z-offset, scale and shadow. Not ios-native: 60pt targets and hover highlights instead of tab bars and sheets.
type: system-ui (SF Pro) one weight heavier than iOS: body 17px medium, titles 29px bold, large titles 48px bold. White primary text, secondary text as 60% white, never grey hex on glass.
colour: Glass windows (blur 40-60px over a ~30% grey fill) on a photographic environment; no solid window backgrounds. Colour comes from content and surroundings: controls are white glyphs, selection is a brighter glass pill, not an accent fill. Inputs sit in darker recessed wells (rgba(0,0,0,.2)).
motion: Pointer or gaze hover brightens a control and scales it about 1.04 within 100ms. Windows open by scaling from 0.9 with a fade ({ type: 'spring', duration: 0.5, bounce: 0 }); pointer tilt stays under 4 degrees. Never move a window while it is being read.
avoid: opaque solid windows; hit targets under 60px or closer than 4px; thin or grey text on glass; toolbars inside the content: persistent controls go in an ornament under the window; parallax on scrolling content
refs: name a real one first: the user's, else search Mobbin, Refero or Inspo (free) if connected, else HIG: Designing for visionOS developer.apple.com, Apple Vision Pro apple.com or a DESIGN.md from styles.refero.design or devault.design, and say how to connect one (get references)
brief first: build every part it names before styling; the first screen shows the main content working, not an empty hero; at desktop width fill it (columns, a side panel), never a phone-width column in empty space
never, whatever the look: text under 4.5:1 contrast (on glass, over its lightest backdrop); a headline clipped or split mid-word at 390px; a font named, not loadedRules
- Type
- system-ui (SF Pro) one weight heavier than iOS: body 17px medium, titles 29px bold, large titles 48px bold. White primary text, secondary text as 60% white, never grey hex on glass.
- Colour
- Glass windows (blur 40-60px over a ~30% grey fill) on a photographic environment; no solid window backgrounds. Colour comes from content and surroundings: controls are white glyphs, selection is a brighter glass pill, not an accent fill. Inputs sit in darker recessed wells (rgba(0,0,0,.2)).
- Motion
- Pointer or gaze hover brightens a control and scales it about 1.04 within 100ms. Windows open by scaling from 0.9 with a fade ({ type: 'spring', duration: 0.5, bounce: 0 }); pointer tilt stays under 4 degrees. Never move a window while it is being read.
Goes wrong when
- opaque solid windows
- hit targets under 60px or closer than 4px
- thin or grey text on glass
- toolbars inside the content: persistent controls go in an ornament under the window
- parallax on scrolling content
Not to be confused with
- Liquid Glasswhole windows are glass and content sits on them, with no lensing.
- Glassmorphismno colour blobs; the backdrop is a real environment and depth comes from z-offset, scale and shadow.
- iOS native60pt targets and hover highlights instead of tab bars and sheets.
Also in Glass
Brief words that land here
visionos · vision pro · apple vision · spatial ui · spatial computing · spatial design




