Skip to main content

gpui_glint/
lib.rs

1//! Glint UI: a refined component library for GPUI-CE.
2//!
3//! Import controls and their events from [`components`], and use
4//! [`theme::ThemePreset`] for consistent light and dark styles. The host application
5//! owns window creation, state, persistence, and GPUI's asset source.
6//!
7//! Register [`components::GlintAssets`] to load embedded icons and bind the keyboard
8//! shortcuts required by the editors your application uses. See the
9//! [component guide](https://github.com/yanguiyuan/gpui-glint/blob/main/docs/components.md)
10//! and [examples](https://github.com/yanguiyuan/gpui-glint/tree/main/examples)
11//! for integration patterns.
12//!
13//! Enable the optional `webview` feature for native webview integration on macOS
14//! and Windows.
15pub mod components;
16pub mod theme;