#egui #chip #material #ui #action

egui_chip

compact component to display tags, selections, or actions

4 releases

Uses new Rust 2024

new 0.2.1 Apr 16, 2025
0.2.0 Apr 11, 2025
0.1.1 Mar 8, 2025
0.1.0 Feb 25, 2025

#408 in GUI

Download history 120/week @ 2025-02-25 125/week @ 2025-03-04 17/week @ 2025-03-11 3/week @ 2025-03-18 1/week @ 2025-03-25 114/week @ 2025-04-08

120 downloads per month

MIT/Apache

2.5MB
664 lines

egui_chip: compact component to display tags, selections, or actions

docs.rs CI Status Crates.io Version Crates.io License Crates.io License

Features

  • Customizable options for appearance
  • Supports moving from one chip to another
  • Supports deleting chip with delete or backspace keys
  • Integration with the egui framework

Example

use egui_chip::ChipEditBuilder;

let chip_edit = ChipEditBuilder::new(", ")
    .unwrap()
    .frame(true)
    .texts(["hello", "world"])
    .build();

Sample app

cargo run --example simple

Dependencies

~5–13MB
~159K SLoC