@vui-rs/vue
@vui-rs/vue
A Vue 3 custom renderer for vui-rs: build reactive terminal UIs with Vue's component model, reactivity, and lifecycle — rendered through the native cell buffer in @vui-rs/core.
Runtime: Bun only (depends on
@vui-rs/core's FFI engine).
Install
bun add @vui-rs/vue
Usage
import { createApp, h, ref } from "@vui-rs/vue";
const App = {
setup() {
const n = ref(0);
return () => h("box", { border: "rounded", padding: 1 }, h("text", {}, `count: ${n.value}`));
},
};
createApp(App).mount();
Authoring .vue SFCs? Add @vui-rs/vite-plugin. Higher-level widgets (dialogs, command palette, toasts, …) live in @vui-rs/ui.
Features
Box/text/span elements · taffy flexbox layout · truecolor + text attributes · borders + titles · <input>/<textarea> (native edit, undo/redo, selection) · <canvas> · <scroll-box> (scroll + cull) · overlays/modals (z-index + dim backdrop) · <markdown>/<code>/<diff> · animation/timeline engine · theming (light/dark, runtime switch) · keyboard + mouse + focus · text selection + OSC 52 copy · inline images.
License
MIT
Related Packages
Application-level component library for vui-rs terminal UIs — dialogs, fuzzy sel...
Version History
| Version | Released | License |
|---|---|---|
| 0.14.7 | MIT | |
| 0.14.6 | MIT | |
| 0.14.5 | MIT | |
| 0.14.4 | MIT | |
| 0.14.3 | MIT | |
| 0.14.2 | MIT | |
| 0.14.1 | MIT | |
| 0.14.0 | MIT | |
| 0.13.0 | MIT | |
| 0.12.0 | MIT | |
| 0.11.0 | MIT | |
| 0.10.0 | MIT | |
| 0.9.0 | MIT | |
| 0.8.0 | MIT | |
| 0.7.0 | MIT | |
| 0.6.5 | MIT | |
| 0.6.4 | MIT | |
| 0.6.3 | MIT | |
| 0.6.2 | MIT | |
| 0.6.1 | MIT | |
| 0.6.0 | MIT | |
| 0.5.4 | MIT | |
| 0.5.3 | MIT | |
| 0.5.2 | MIT | |
| 0.5.1 | MIT | |
| 0.5.0 | MIT | |
| 0.4.0 | MIT | |
| 0.3.0 | MIT | |
| 0.2.0 | MIT | |
| 0.1.10 | MIT |
Showing the latest 30 of 40. See every release on npm