gpui-component/README.md
2024-06-25 17:24:22 +08:00

981 B

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

TODO

  • 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
  • Radio & RadioGroup
  • Dropdown
    • Combobox
  • Tabs
  • 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

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.