Skip to content
/ noi Public

🤏 NOI is a hight performance, lightweight, headless UI library.

License

Notifications You must be signed in to change notification settings

nemo-shen/noi

Repository files navigation

NOI

coverage

NOI is a hight performance/light weight headless UI library.

Your can easily use it to create your own UI library.

For example, if you want to create a toast component and via a function to open it. Your just focus on your UI and logic, and then use NOI to implement the function:

<script setup lang="ts">
import { useToast } from '@noi/core'

const { open } = useToast()
const openToast = () => {
  open(h('div', { class: 'my-class-name' }, 'hello world'))
}
</script>
<template>
  <button @click="open('hello world')">show toast</button>
  <button @click="openToast">show toast with node</button>
</template>

To provide a smaller size and better performance, we primarily use modern APIs and consider fallbacks for compatibility as necessary.

About

🤏 NOI is a hight performance, lightweight, headless UI library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published