OYNA UI

Press D
to ship
Tap Deploy
to ship

A Vue 3 component library. Plain CSS, hotkeys built in.

npm install oyna-ui

v0.2.1 · MIT · 42 components · 6.7 kB CSS gzipped

Next release3 commits · main
v1.4.1
Build · Test · Ship
Requests131.6k
p95212 ms
Errors0.3%
VersionWhenStatus
v1.4.02 h agoLive
v1.3.9yesterdayReplaced
v1.3.83 days agoFailed
D deploy · L live updates · / search · Enter installation
A deploy console made of 12 components.More examples

Try it now

sh
npm install oyna-ui
# or: pnpm add, yarn add, bun add
main.ts
ts
import oyna from 'oyna-ui'
import 'oyna-ui/style.css'
import 'oyna-ui/fonts.css' // from Google Fonts
import { createApp } from 'vue'
import App from './App.vue'

createApp(App).use(oyna).mount('#app')
App.vue
vue
<template>
  <OBackground />
  <OButton variant="primary" hotkey="Enter">Save</OButton>
</template>
Installation guide

No Tailwind, no UnoCSS

One plain stylesheet. No build plugin, no class scanning, no config file to keep in step with ours.

Your colours

Every colour, radius and font is a CSS variable. Change them and the whole library follows.

Open the theme editor

Accessibility, not reinvented

The one dependency is Reka UI. It handles focus, the keyboard and screen readers, where there is nothing to look at.

Where it fits

Use it for

  • Dashboards, developer tools, internal tools
  • Side projects and landing pages that want a look of their own
  • Screens used from the keyboard: buttons show their hotkeys and react to them

Look elsewhere if

  • You need a light theme. There is none, and none is planned.
  • You need a data grid, a date picker or a tree view. PrimeVue, Naive UI and Element Plus have them.
  • You are not on Vue 3.

Examples

Four screens built only from the library's components. Each one works and shows its source.

Why it exists

I was building invoke.wtf, a trainer for Invoker from Dota 2, and wanted dark glass, no grey borders and everything on the keyboard. The Vue kits I tried all looked like admin panels, so I drew the interface by hand. This library is that look taken out of the project. I made it for myself; if it suits your project, use it too.

— azabroflovski · more on why