# iced-rs/iced

> iced is a cross-platform GUI library for Rust, inspired by Elm, for building graphical user interfaces. It asks developers to split a user interface into state, messages, view logic and update logic, following The Elm Architecture. View logic displays the state as widgets that can produce messages on user interaction, and update logic reacts to those messages by changing the state. The library is written in Rust.

Source: https://github.com/iced-rs/iced
Indexed: commit 56b706f on 2026-07-18 by Repowise. Facts come from the source and git history, not from the maintainer.

## Facts

- Type: Library
- Language: Rust
- Stars: 32,165 at index time
- License: MIT
- Code health: 5.6/10, Fair
- Last commit: 2026-07-09
- Contributors: 365

## How it works

An application passes its update and view functions to iced::run, which starts the program. The windowing layer, shown by the hotspot file winit/src/lib.rs, receives system events and turns them into messages for the update logic. The core module, whose entry point is core/src/lib.rs, includes layout code such as core/src/layout/flex.rs and core/src/length.rs, which arranges the widgets returned by the view logic. Built-in widgets live in the widget module, for example widget/src/scrollable.rs and widget/src/transition.rs. The wgpu module provides the renderer that draws the laid-out widgets to the window.

- beacon/src/lib.rs: entry point
- core/src/lib.rs: entry point
- debug/src/lib.rs: entry point
- devtools/src/lib.rs: entry point
- examples/arc/src/main.rs: entry point
Modules: examples, core, widget, graphics, wgpu, futures, runtime, .github. 497 files, 76,157 lines, 11,102 symbols.

## Code health

- Score: 5.6/10 (Fair)
- Rank: #258 of 295 ranked repos
- Hotspots: widget/src/scrollable.rs, winit/src/lib.rs, widget/src/transition.rs, core/src/layout/flex.rs, core/src/length.rs
- Lowest file: widget/src/text_input.rs
- Dead code: 81 findings

## Maintenance

- Last commit 2026-07-09, first commit 2019-05-29, 6,831 commits
- 365 contributors, bus factor 2

## Security

- Security findings are shown to signed-in users at https://repowise.dev/repo/iced-rs/iced/security

## More

- Page: https://repowise.dev/repo/iced-rs/iced
- Ask this codebase: https://repowise.dev/repo/iced-rs/iced/chat
- Docs: https://repowise.dev/repo/iced-rs/iced/docs
- MCP (signs in with Repowise on first use):
    claude mcp add --transport http repowise https://api.repowise.dev/mcp/iced-rs/iced
