Skip to content
On this page What you get

Getting started

Introduction

CodeAtlas UI is an open-source Svelte 5 component library with a theme engine (one object sets the color, surface style, radius, density and fonts), a sober solid default, an OKLCH palette and native-feeling mobile behavior.

CodeAtlas UI gives Svelte 5 apps full screens, not just bricks: page templates, an app shell, data tables, charts, forms and overlays, all built on a headless layer of our own and themed through CSS custom properties.

<AppList title="Users" data={users} searchKeys={["name", "email"]}>
  {#snippet children(list)}
    <SimpleTable>
      {#each list.rows as u (u.id)}
        <tr><td><UserCell name={u.name} email={u.email} /></td></tr>
      {/each}
    </SimpleTable>
  {/snippet}
</AppList>

That is a whole users page: header, search, pagination and empty state, with no CSS written.

What you get

  • Page templates instead of primitives: AppList, AppForm, AppSettings, PageShell and AppShellLayout bring layout, spacing and empty states.
  • Theme-driven: one ThemeOptions object decides how every component looks. Surfaces are solid paper by default; defaultStyle switches the whole app to flat, outlined, tonal, clay, neumorphic, frosted, glass or chrome, and blurred styles fall back to opaque for reduced transparency.
  • A theme engine with eight OKLCH presets, brand presets from one hex color, nine surface styles (style is one knob among radius, density, fonts, paper and motion), fifteen design-style recipes and no flash on load.
  • Native feel on mobile: safe areas, keyboard handling, 44px touch targets, bottom sheets with swipe to dismiss and a browser chrome color that follows the page.
  • Accessibility: WAI-ARIA keyboard and focus behavior, axe-tested components, reduced motion and reduced transparency support.
  • Small bundles: Charts, DataTable and CodeSnippet are separate entry points with optional peers, so they stay out of your bundle unless imported.
  • Agent-ready: closed prop vocabularies, typed props, an MCP server, llms.txt and installable skills.

Install

bun add @codeatlasdev/ui

Start here

Explore