The Seelen UI Library provides tools to create and manage widgets for the Seelen UI application. This library simplifies interaction with the Seelen UI's internal protocols and structure, making widget development efficient and straightforward.
The library is organized into two key submodules:
The API submodule offers a set of classes, functions, and helpers to interact seamlessly with the Seelen UI App. It provides easy access to internal Tauri protocols.
import { SeelenClass } from '@seelen-ui/lib';
let instance = await SeelenClass.getAsync();
The Types submodule contains TypeScript interfaces and types generated directly from the Rust codebase. It ensures type safety and consistency when working with Seelen UI.
import type { SeelenType } from '@seelen-ui/lib/types';
let myVariable: SeelenType = { ... };