tutools-ui
v1.0.3
Published
Vue 3 components for tutorials and productivity (keyboard overlays, command palette, hints)
Maintainers
Readme
🧰 Tutools UI
A Vue 3 component toolkit designed to help you build in-app tutorials, onboarding flows, and keyboard-driven productivity UIs. Perfect for dashboards, admin panels, or educational apps.
🚀 Features
- ✅ Keyboard shortcut overlay (
ShortcutOverlay) - ✅ Command palette (
CommandPalette) - ✅ Keybind hints (
ShortcutHint) - ✅ Guided step tooltips (
StepTooltip) - ✅ Contextual help popups (
ContextGuide)
📦 Installation
In your terminal write:
npm install tutools-uiAnd you're good to go!
🔧 Usage
1. Register globally (optional)
import { createApp } from 'vue'
import App from './App.vue'
import Tutools from 'tutools-ui'
createApp(App).use(Tutools).mount('#app')2. Or import components on demand
import { ShortcutOverlay, StepTooltip } from 'tutools-ui'🧱 Components
🔑ShortcutOverlay
Display all active keybindings in an overlay.
Example:
<ShortcutOverlay :shortcuts="[{ keys: 'Ctrl+S', description: 'Save' }]" />⚡CommandPalette
A fuzzy-search popup for quick commands (like VS Code's ⌘+P).
Example:
<CommandPalette :commands="[{ name: 'Open Settings', handler: () => {} }]" />💡ShortcutHint
Display a small keyboard shortcut hint next to an element.
Example:
<ShortcutHint keys="Ctrl+P" />🎯StepTooltip
Simple hover or auto-triggered tooltip for guiding steps.
Example:
<StepTooltip text="Click here to begin" position="top">
<button>Start</button>
</StepTooltip>❓ContextGuide
Clickable question mark that shows contextual help.
Example:
<ContextGuide text="This button saves your settings.">
<button>Save</button>
</ContextGuide>📜 License
This project is licensed under the MIT License.
