{"id":57938,"library":"iced","title":"iced","description":"A cross-platform GUI library inspired by Elm.","status":"active","version":"0.14.0","language":"rust","source_language":null,"source_url":"https://github.com/iced-rs/iced","tags":["gui","cross-platform","elm","reactive"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\niced = \"0.14.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add iced","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Application","correct":"use iced::Application;"}],"quickstart":{"code":"use iced::{Application, Settings, Element, executor, Command, Theme};\n\nstruct Counter { value: i32 }\n\n#[derive(Debug, Clone)]\nenum Message { Increment, Decrement }\n\nimpl Application for Counter {\n    type Executor = executor::Default;\n    type Message = Message;\n    type Theme = Theme;\n    type Flags = ();\n\n    fn new(_flags: ()) -> (Counter, Command<Message>) {\n        (Counter { value: 0 }, Command::none())\n    }\n\n    fn title(&self) -> String {\n        \"Counter\".to_string()\n    }\n\n    fn update(&mut self, message: Message) -> Command<Message> {\n        match message {\n            Message::Increment => self.value += 1,\n            Message::Decrement => self.value -= 1,\n        }\n        Command::none()\n    }\n\n    fn view(&self) -> Element<Message> {\n        use iced::widget::{button, column, text};\n        column![\n            button(\"+\").on_press(Message::Increment),\n            text(self.value),\n            button(\"-\").on_press(Message::Decrement),\n        ].into()\n    }\n}\n\nfn main() -> iced::Result {\n    Counter::run(Settings::default())\n}","lang":"rust","description":"A simple counter GUI application with increment/decrement buttons."},"warnings":[{"fix":"Add `default-features = false, features = [\"wgpu\"]` to Cargo.toml dependency.","message":"Requires native backend features; may need `features = [\"wgpu\"]` or `features = [\"tokio\"]`.","severity":"gotcha","affected_versions":">=0.14.0"}],"env_vars":null,"search_vec":"'cross':4,13 'cross-platform':3,12 'elm':10,15 'gui':6,11 'ice':1 'inspir':8 'librari':7 'platform':5,14 'reactiv':16","created_at":"2026-06-16T16:05:24.201448+00:00","updated_at":"2026-06-16T16:05:24.201448+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://iced.rs","github":"https://github.com/iced-rs/iced","docs":"https://docs.rs/iced/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}