Skip to content
Nana UI

Nana UI

Lit web components Svelte 5

Accessible components, built to be owned.

Every component ships as a Lit web component and as a Svelte component, both built on one headless core. Install the package, or copy the source into your project and make it yours.

npm install @nana-tec/ui-components
npm install @nana-tec/ui-svelte
  • 109 Lit web components
  • 88 Svelte components
  • 1 headless core under both
<script type="module">
  import "@nana-tec/ui-components/card";
  import "@nana-tec/ui-components/button";
</script>

<nana-card>
  <nana-card-header>
    <nana-card-title>Pro plan</nana-card-title>
    <nana-card-description>Renews Aug 1</nana-card-description>
  </nana-card-header>
  <nana-card-footer>
    <nana-button variant="primary">Upgrade</nana-button>
  </nana-card-footer>
</nana-card>
<script lang="ts">
  import {
    NanaButton,
    NanaCard,
    NanaCardDescription,
    NanaCardFooter,
    NanaCardHeader,
    NanaCardTitle,
  } from '@nana-tec/ui-svelte';
</script>

<NanaCard>
  <NanaCardHeader>
    <NanaCardTitle>Pro plan</NanaCardTitle>
    <NanaCardDescription>Renews Aug 1</NanaCardDescription>
  </NanaCardHeader>
  <NanaCardFooter>
    <NanaButton>Upgrade</NanaButton>
  </NanaCardFooter>
</NanaCard>
Renders the same in both
Pro plan Active
Renews Aug 1
Manage your subscription and usage.
Upgrade Manage

Two targets, one design

Pick the one that fits your stack. The keyboard, focus and ARIA rules come from the same core.

Find a component

Grouped the way the sidebar groups them. Each page has a live preview, install steps and the full API.

See all components

Install only what you need

Eight packages in three layers. Each one builds on the layer below it.