Introduction
What SurfaceOne is, what it is built on and how the packages fit together.
SurfaceOne is the design system behind IndexOne, extracted into packages any app can use. It is built on shadcn/ui conventions, ported to Angular through spartan/ui anatomy, and reads every value from design tokens.
Packages
@surface-one/tokens— framework-agnostic CSS: tokens, the six skins in light and dark, accents and latin-ext fonts.@surface-one/angular— the components. Every component family is its own entry point, such as@surface-one/angular/button.
@surface-one/vue brings the same components to Vue 3 and Nuxt (with the @surface-one/vue/nuxt module), and @surface-one/react to React 19 and Next.js. They all share @surface-one/tokens, so a theme looks identical in every framework.
@surface-one/react-native brings them to iOS and Android, with the same tokens resolved for React Native. See React Native.
Built on spartan/ui, shadcn/ui and Nuxt UI
- spartan/ui (ng-spartan) — the Angular anatomy: directive-first parts, input names and behaviour.
- shadcn/ui — the visual core: variants, sizes and the styles our skins are built on.
- Nuxt UI — the documentation: component categories, templates, the MCP server and agent skills.
Principles
- Tokens only. Components consume
var(--token); a skin re-declares tokens and never forks a component. - Native first. A button is a
<button>, a select is a<select>. ARIA fills the gaps native HTML leaves. - Signals and zoneless. Standalone components, OnPush, signal inputs, models and outputs.
- Opaque islands on one pane of glass. Content always sits on an opaque surface; only the app frame shows the painted backdrop, and nothing blurs — calm chrome with a restrained accent.
Naming
Every element selector starts with sone- (<sone-dialog>, <sone-switch>) and every attribute directive with sone (button[soneBtn], [soneCard]). TypeScript symbols start with Sone.
Want to poke at every state of a component? The Storybook renders each one with live controls.