Slint UI 1.15.1+ (FemtoVG/WGPU)

Provide expert guidance for Slint UI development with WGPU rendering and Rust integration.

Updated Mar 8, 2026
One-click install
npx skills add https://github.com/kryptodogg/twister --skill slint-ui-1-15-1-femtovg-wgpu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Slint UI 1.15.1+ (FemtoVG/WGPU)
Source: https://github.com/kryptodogg/twister/tree/main/skills/slint-ui-1-15
Command: npx skills add https://github.com/kryptodogg/twister --skill slint-ui-1-15-1-femtovg-wgpu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides expert guidance for developing user interfaces using the Slint UI framework, specifically when integrating with WGPU for rendering and custom compute shaders. It addresses challenges in managing reactivity, rendering backends, and data flow between Rust and Slint.

Core Features & Use Cases

  • Slint UI Development: Comprehensive reference for .slint files and Rust integration.
  • WGPU Rendering: Details on the FemtoVG backend and its interaction with custom compute shaders.
  • Data Visualization: Patterns for uploading pixel data and generating SVG paths for dynamic charts and spectrums.
  • Use Case: Develop a real-time audio visualizer where GPU compute shaders generate spectrum data, which is then uploaded to Slint for display as a dynamic chart.

Quick Start

Refer to this skill when editing .slint files or integrating Slint with Rust code.

Frequently Asked Questions about Slint UI 1.15.1+ (FemtoVG/WGPU)

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate custom WGPU compute shaders with Slint UI for rendering?

Yes, you can build real-time data visualizations in Slint by uploading pixel data via SharedPixelBuffer and generating SVG paths for dynamic charts. This approach is ideal for rendering spectrums or custom graphical outputs efficiently.

How does reactivity and property binding work in Slint files?

Reactivity in Slint files is managed through property binding, which automatically updates the UI when underlying values change. This ensures that Rust data flows seamlessly to the interface without manual refresh calls.

What is the best way to upload image data to Slint from Rust?

The best way to upload image data to Slint from Rust is by using SharedPixelBuffer. This pattern allows efficient pixel data transfer for dynamic visualizations, ensuring the UI updates directly from your Rust backend.

Does the Slint framework support WGPU for GPU-accelerated rendering?

Yes, the Slint framework supports WGPU for GPU-accelerated rendering through its FemtoVG backend. This backend enables advanced rendering capabilities and allows integration with custom compute shaders for complex visual tasks.

Why am I encountering common error patterns when integrating Slint with Rust?

Common error patterns when integrating Slint with Rust often stem from mismanaged data flow or incorrect project-specific conventions. Addressing these requires following proper property binding and SharedPixelBuffer upload patterns.