1 unstable release

Uses new Rust 2024

0.0.0 Jan 7, 2026

#4 in #tessera-ui

MIT/Apache

6MB
41K SLoC

Basic components for the Tessera UI framework.

Usage

First, you need to register the pipelines provided by this crate.

use tessera_components::pipelines::register_pipelines;
use tessera_ui::renderer::Renderer;

Renderer::run(
    // ...
    # || {}, // Placeholder for root component
    |app| {
        tessera_components::pipelines::register_pipelines(app);
    },
);

Then you can use the components in your UI.

Example

use tessera_components::{
    button::{ButtonArgs, button},
    text::text,
    text_editor::{TextEditorArgs, text_editor},
};
use tessera_ui::Dp;

// Button example
button(ButtonArgs::filled(|| { /* Handle click */ }), || {
    text("Click me".to_string())
});

// Text editor example
text_editor(TextEditorArgs::default());

Tessera basic components

简体中文

tessera-components provides a set of basic UI components for building common user interfaces. This includes buttons, text, layout containers, and more.

Dependencies

~59–105MB
~2M SLoC