No description
Find a file
2024-07-30 19:58:48 +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 Improve svg_img to use cached assets. (#87) 2024-07-30 19:54:27 +08:00
crates Fix dropdown to avoid item text wrap. (#88) 2024-07-30 19:58:48 +08:00
script Add CI (#62) 2024-07-24 10:39:19 +08:00
.gitignore First commit, with Button UI. 2024-06-13 21:46:28 +08:00
Cargo.lock Add CI (#62) 2024-07-24 10:39:19 +08:00
Cargo.toml Add WebView (#2) 2024-07-18 18:00:23 +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 Rename dropdown render_empty to empty (#82) 2024-07-29 15:37:38 +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
  • 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
    • DateTimePicker
    • 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
  • Drawer
  • Modal

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.