Skip to content
Proyectos

Acerca de

VisionOS UI built with React ⚛️

Desarrollo web y de aplicaciones

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
0
in 7 days
0
in 15 days
-1
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

Landing

Vision UI

VisionOS-inspired UI kit and demo app — built with TanStack Start, Motion, and CSS.

Live demo · Docs · Architecture

vision-ui-intro

What is Vision UI?

Vision UI brings visionOS-like depth, glass, and spatial motion to the web with modern CSS — View Transitions, @starting-style, and pseudo-element highlights — plus composable and accessible React components. Motion handles gestures; route-shaped transition types handle the rest; modern API documentation (powered by Fumadocs) is built-in.

What makes the UI tick

1. Route-shaped view transitions

src/router.tsx inspects from / to paths and returns view transition types — not animation code:

  • home-app-launch — / ↔ any in-app route (Settings, App Store, …)
  • ornament-tab-switch — / ↔ /people ↔ /environments

CSS listens with :active-view-transition-type(...) and picks keyframes. Add a new app route under (apps)/ and it automatically gets the launch transition; no per-route React animation tree.

2. One grid cell, three lifecycles

Every honeycomb tile uses data-slot="grid-cell" and shared helpers in grid-list.utils.ts:

Moment Mechanism
First visit @starting-style + --stagger-delay (center-out ripple)
Open / close app ::view-transition-old/new(.grid-cell) + grid-cell-exit / grid-cell-enter
Home / People / Environments tabs Lighter grid-cell-tab-switch-* keyframes

Stagger distance is Manhattan distance from the middle row’s center column — one function, same timing in CSS and (where needed) JS.

3. Surface — glass without assets

Surface composes backdrop blur, inset highlights, and mask strokes from surface.styles.ts. Thickness is a variant (thin → thickest), not seven hand-tuned components. Highlights are CSS variables and pseudo-elements, not image slices or svgs.

4. Compound components, thin routes

Ornament (shell + tabs), Stack (app chrome), GridList (honeycomb pager), Cursor, PressableFeedback — each exposes one namespace from index.ts. Routes in src/routes/ stay wrappers; screens in src/screens/ own layout and cell renderers.

See architecture.md for folder rules, agent checklists.


Project layout

src/
  routes/           # TanStack file routes (thin)
  screens/          # Feature UI (home, people, settings, …)
  components/       # Shared compound components
  styles/           # Sass: grid-list.scss (cells), apps.scss, stack.css, …
  lib/              # Sound, docs source, shared helpers
  router.tsx        # View transition types from path shape

Develop

bun install
bun run dev

Screenshots

Environments

Demo


Learn more

  • architecture.md — composition, view transitions, and agent workflow
  • In-repo docs — https://vision.uing.dev/docs (component MDX under content/docs/)

Explorar proyectos relacionados

Cargando…