SkillAgentSearch skills...

BezelNotification

You know those dark, vibrant square notifications macOS does when you change the volume 'n' stuff? This is like that, but you can actually use it in your projects.

Install / Use

/learn @BlueHuskyStudios/BezelNotification
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

BezelNotification

You know those square notifications macOS does when you change the volume 'n' stuff? This is like that, but you can actually use it in your projects.

<img src="https://i.imgur.com/zwIa2K4.png" width="705" />

Note that this does not use any secret system APIs (but instead creates its own bezel notifications from scratch), so this cannot interact with nor affect system bezel notifications. This also means it can be used in App Store apps 🥳

Try it out!

To try out BezelNotification without instaling it into your own project first, you can use this demo app I put together!

Usage

This is designed to strike a balance between ease-of-use and customizability. For instance, this is the primary way it is intended to be used in the general case:

BezelNotification.show(messageText: "Loading...", icon: .myLoadingIcon)

But it can be customized heavily if preferred, like this:

BezelNotification.show(messageText: "Loading...",
                       icon: .myLoadingIcon,

                       location: .normal,
                       size: .normal,

                       timeToLive: .long,
                       fadeInAnimationDuration: 0.1,
                       fadeOutAnimationDuration: 1,

                       cornerRadius: 10,
                       tint: BezelParameters.defaultBackgroundTint,
                       messageLabelFont: NSFont(name: "American Typewriter", size: 20)!,
                       messageLabelColor: .magenta,

                       afterHideCallback: { print("Bezel was presented successfully") }
)

All these parameters (aside from the callback) can be encapsulated in a BezelParameters object. This is useful for keeping pre-defned bezels, serializing them for user-customization, etc.

Platform

This was designed to be used on macOS using AppKit. Future versions may include UIKit, SwiftUI, and iOS support as well!

View on GitHub
GitHub Stars33
CategoryDevelopment
Updated59m ago
Forks8

Languages

Swift

Security Score

80/100

Audited on Apr 10, 2026

No findings