Crate egui_chip

Crate egui_chip 

Source
Expand description

§Egui Chip

egui_chip is a library for creating and configuring ChipEdit instances in the egui framework. The crate is inspired from Material’s chip. This crate provides a fluent interface for setting various options and parameters for ChipEdit components.

§Usage

Add this crate to your Cargo.toml:

[dependencies]
egui_chip = "0.1.0"

§Examples

use egui_chip::ChipEditBuilder;

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

§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

Structs§

ChipEdit
Creates a chip style textbox
ChipEditBuilder
A builder for creating a ChipEdit widget with various customization options.
ChipEditOutput
Represents the output of a ChipEdit widget.
UnownedChipEdit
Creates a chip style textbox from mutable reference to texts.