Skip to content

huacnlee/gpui-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GPUI Compoment

This is an example of build app by using GPUI.

CleanShot.2024-06-25.at.17.11.21.mp4
CleanShot.2024-06-26.at.17.51.35.mp4
2024-06-29.180707.mp4

Demo

gpui-app-windows.zip - Updated at 2024/06/29

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 blinking
  • Button
    • Button with Icon
    • 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
  • Popover
  • 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
  • scrollbar

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.

About

A UI components write in GPUI.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages