No description
Find a file
2024-06-29 16:17:34 +08:00
assets Update Dropdown icon to ChevronsUpDown 2024-06-28 10:19:24 +08:00
crates Fix Windows Title button hover, active color. 2024-06-29 16:17:34 +08:00
.gitignore First commit, with Button UI. 2024-06-13 21:46:28 +08:00
Cargo.lock New input (#1) 2024-06-27 15:36:07 +08:00
Cargo.toml Add Popover (#6) 2024-06-29 10:03:59 +08:00
README.md Add Popover (#6) 2024-06-29 10:03:59 +08:00

GPUI App Example

This is an example of build app by using GPUI.

https://github.com/huacnlee/gpui-app/assets/5518/ad103f02-697a-40ed-a876-8b13e4242a72

https://github.com/huacnlee/gpui-app/assets/5518/5316f9f0-58c8-4b99-bd79-eafffb38c3fc

Demo

TODO

  • Theming
  • TextField
    • Ctrl+a, e to move cursor to start/end
    • Copy, Cut, Paste by keyboard
    • ContextMenu to let user copy, cut, paste
    • Selection by mouse, drag to select text
    • Cursor blink
  • Button
    • IconButton
    • ToggleButton
  • Label
  • Icon
  • Checkbox
    • With label
  • Switch
    • With Label (Left, Right side)
    • Toggle Animation
  • Radio & RadioGroup
  • Dropdown
    • Combobox
    • Picker
      • Picker List
      • Use keyword to select next, prev, enter to select, esc to cancel.
  • Tabs
    • Tab
    • TabBar
  • Notification
  • Tooltip
  • Dockpanel & Splitter
  • List
  • Table

How to build

cargo run

License

There have a part of UI components from Zed, that are under GPL v3.0 license.

  • title_bar
  • picker
  • popover (based on popup_menu)

I think we can discuss them with Zed team to change the license to MIT or Apache License for share to community.

Other code are under Apache License.