No description
Find a file
2024-09-13 11:58:10 +08:00
.cargo windows: Set the default stack size to 8M on Windows. (#228) 2024-09-09 13:51:10 +08:00
.github/workflows Update ScrollView to let content is FnOnce. (#65) 2024-07-24 11:38:30 +08:00
.vscode New Scrollbar (#33) 2024-07-16 12:00:51 +08:00
assets Add ColorPicker (#199) 2024-09-02 00:21:01 +08:00
crates Add ToggleButton (as part of ButtonGroup) (#239) 2024-09-13 11:58:10 +08:00
script Add CI (#62) 2024-07-24 10:39:19 +08:00
.gitignore Update register_panel to use trait object Fn. (#229) 2024-09-09 19:19:27 +08:00
Cargo.lock Upgrade GPUI 2024-09-13 09:43:11 +08:00
Cargo.toml Update dependencies. 2024-09-09 22:33:41 +08:00
LICENSE-APACHE Add Dock & Panel (#10) 2024-07-01 14:20:56 +08:00
LICENSE-GPL Add Dock & Panel (#10) 2024-07-01 14:20:56 +08:00
README.md Add ColorPicker (#199) 2024-09-02 00:21:01 +08:00

GPUI Compoment

This is still an early stage of development, we may change API frequently. But the features is ok to use, you must keep tracking our changes.

A UI components for building desktop application by using GPUI.

Features

  • Theming
  • TextInput
    • Ctrl+a, e to move cursor to start/end
    • Copy, Cut, Paste by keyboard
    • Selection by mouse, drag to select text
    • Cursor blinking
    • Input icon
    • Textarea
    • ContextMenu to let user copy, cut, paste
  • OtpInput
  • Button
    • Button with Icon
    • IconButton
    • Glost / Outline Button
    • Loading
  • Link
  • Label
  • Icon
  • Checkbox
    • With label
  • Radio
    • RadioGroup
  • Switch
    • With Label (Left, Right side)
    • Toggle Animation
  • Dropdown
  • Tabs
    • Tab
    • TabBar
  • Notification
  • Tooltip
  • Popover
    • Floating Popover
    • Child window Popover
  • Dockpanel
  • Resizable
  • Progress
    • ProgressBar
    • Indicator
  • Slider
  • Skeleton
  • DatePicker
    • DatePicker
    • Calendar
    • TimePicker
    • DateRangePicker
  • ColorPicker
  • List
    • A complex List example.
  • Table
    • row, column selection
    • Left, Right / Up, Down to selection column or row.
    • Horizontal scroll
    • Vertical scroll
    • Column resizing
    • Column ordering
    • Column sorting
  • Menu
    • Popup Menu
    • Context Menu
  • Drawer
  • Modal
  • Notification
    • Collapsible Notifications

Showcase

https://github.com/user-attachments/assets/23766bb2-ffc3-4878-b5ad-7a08a0657f26

Demo

How to build

cargo run

License

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

  • workspace

Other UI components are under Apache License.