docs.rs failed to build tauri-nspanel-2.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
tauri-nspanel
Create macOS panels for your Tauri app. Convert a regular window into a panel, or configure a new window with the panel builder.
What are panels?
Panels are a special type of window on macOS (NSPanel) that float above other windows and provide auxiliary controls or information. They're commonly used for tool palettes, inspectors, floating controls, and HUD displays.
Quick Start
1. Installation
[]
= "2.1"
You can also install directly from the maintained v2.1 branch. This follows the latest commit on
the branch rather than a published crates.io release:
= { = "https://github.com/ahkohd/tauri-nspanel", = "v2.1" }
2. Define and create a panel
use ;
use ;
// Define panel class
tauri_panel!
// Create panel with builder
let panel = new
.url
.level
.build?;
panel.show;
3. Access from commands
use Manager;
use ManagerExt;
Documentation
See the documentation & API Reference.
Features
- Create panels with PanelBuilder API or convert existing windows
- Mouse tracking with enter, exit, and move events
- Handle panel events
- Works with existing Tauri windows and commands
- Thread-safe operations handled on main thread
Examples
Check out the examples directory.
Showcase
Some projects using tauri-nspanel:
- Cap - Screen recording
- Screenpipe - AI screen recording
- EcoPaste - Clipboard manager
- Hyprnote - Note-taking
- BongoCat - Desktop pet
- Coco - AI Search and Assistant
- Overlayed - Screen overlay
- Verve - Launcher
- JET Pilot - Kubernetes manager
- Buffer - AI-powered Markdown note app
- Asyar - Cross platform alternative to Raycast
Contributing
PRs accepted. Please read the Contributing Guide before making a pull request.
License
MIT or MIT/Apache 2.0 where applicable.