npm install origam

Up and running in minutes.

Install origam, register the plugin and build with 97 Vue 3 component families.

STEP BY STEP

Install

Add origam to your project with your preferred package manager.

Register the plugin

Import the token sheets and register origam as a Vue plugin in your entry file.

main.ts

createOrigam() accepts an optional options bag to configure icons, locale, display, SSR, aliases and more. By default, all components and directives are registered globally — but no theme is installed until you pass one explicitly, as shown above.

Use a component

All components are globally registered. Drop any Origam component into your templates — no per-file import needed.

App.vue

If you need it

Theming

origam ships with light and dark themes. Switch statically via an HTML attribute, or at runtime with the useTheme composable.

Static switch — HTML attribute (omit to follow system preference):

Import origam/tokens/css/dark once at boot to enable the dark token sheet.

Nuxt integration

Using Nuxt 3 or Nuxt 4? The official origam Nuxt module is included in the same package — no extra install required.

nuxt.config.ts

The Nuxt module is delivered as a sub-export (origam/nuxt) — no separate package to install. It auto-imports all components and composables, and resolves themes SSR-safely.

REQUIREMENTS

Peer dependencies.

origam has a minimal footprint. Vue 3 is the only mandatory peer — everything else is optional and tree-shaken when unused.

  • Required

    Always — core runtime

  • Optional

    Optional — locale composable

  • Optional

    Optional — link components

Node >= 22 is required to build origam from source. Consumers need only Vue 3.5+ at runtime.

Install origam.

One command, then the plugin and a first component. On Nuxt, one module to add.

or pnpm add origamyarn add origam

View the GitHub repository