kui
/kui
Buduje interfejsy GPUI i WASM z komponentami KUI z crates.io lub kopiowanego kodu, zwłaszcza przyciski.
- Autor
- kense-labs ↗
- Repozytorium
- KUI ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 11.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 2
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 2
Brak sygnałów. Repozytorium zmienione 11.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Buduje interfejsy GPUI i WASM z komponentami KUI z crates.io lub kopiowanego kodu, zwłaszcza przyciski.
Oryginalny opis (EN)
Build GPUI desktop and WASM UI with KUI components from crates.io or copied source. Use when installing or customizing KUI controls, especially Button.
Jak działa
- Always
- Catalog
- Button
Podgląd SKILL.md
---
name: kui
description: Build GPUI desktop and WASM UI with KUI components from crates.io or copied source. Use when installing or customizing KUI controls, especially Button.
---
# KUI
KUI is a Rust UI kit on GPUI. Use the `kense-kui` component library or copy selected registry items instead of inventing controls.
Read repository root [`AGENTS.md`](../../AGENTS.md) and [`DESIGN.md`](../../DESIGN.md) before changing Rust or chrome. Rust follows Microsoft [Pragmatic Rust Guidelines](https://microsoft.github.io/rust-guidelines/).
## Always
- Brand: product **KUI**, crates.io package **`kense-kui`**, Rust library/CLI/module **`kui`**
- Pin GPUI to `gpui-pre =0.3.10`
- Install the library with `cargo add kense-kui --rename kui --no-default-features`; use `kui::` imports
- Call `kui::init(cx)` before windows; never enable `test-support` on wasm32
- To own source, install the CLI with `cargo install --git https://github.com/kense-labs/KUI --locked kui-cli`, then run `kui init` and `kui add <id>`; use `crate::ui::` imports
- Use semantic theme tokens from `DESIGN.md`, not hard-coded brand colors in new code
- Honor `Theme.reduced_motion`
- Keep controls host-agnostic: native desktop and WASM web share `registry/` (see `docs/PLATFORMS.md`)
- Public modules and items use rustdoc summaries and canonical sections (M-MODULE-DOCS, M-CANONICAL-DOCS)
## Catalog
`tools/catalog` defines 108 installable components plus `kui-foundation`.
The library exposes the same controls under `kui::components`.
## Button
```rust
use kui::components::button::Button;
Button::new("save").primary().label("Save").into_themed(cx)
```
For CLI-installed source, use `crate::ui::components::button::Button` instead.
Read `docs/items/button.md` before changing behavior.
Pliki w paczce (2)
- INSTRUCTIONS.md 1 KB
- SKILL.md 2 KB
Wersje
W bazie nie ma innych skilli o nazwie kui.
Migawka bazy z 13.11.2026 · wersja paczki 8dceeaef41f5 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100gpui-test
Prowadzi pisanie testów aplikacji GPUI: komponenty, operacje asynchroniczne i zachowanie interfejsu. - 100gpui-code-quality
Podaje dobre praktyki i wytyczne jakości kodu GPUI, przy refaktoryzacji, przeglądach i dbaniu o idiomy GPUI. - 100gpui-screenshots
Uruchamia klienta GPUI w ukrytym oknie na testowych danych, by zobaczyć, kliknąć i zrobić zrzut ekranu zmiany w interfejsie. - 95gpui-style-guide
Podaje zasady stylu komponentów GPUI według kodu gpui-component: strukturę, implementacje cech, nazewnictwo i API. - 84wasm-constraints
Opisuje ograniczenia buildu WASM dla crate xberg-wasm: cechy dla wasm32, API synchroniczne, limit rozmiaru HTML i build zoptymalizowany. - 95gpui
Planuje i buduje natywny interfejs desktopowy w Rust z GPUI i sprawdza zgodność API oraz sesji graficznej w Linuksie.