#chip #egui #material #ui #action

egui_chip

compact component to display tags, selections, or actions

2 releases

Uses new Rust 2024

new 0.1.1 Mar 8, 2025
0.1.0 Feb 25, 2025

#14 in #chip

Download history 120/week @ 2025-02-25 121/week @ 2025-03-04

241 downloads per month

MIT/Apache

2.5MB
567 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