2.5 KiB
2.5 KiB
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
- 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
- Textarea
- Input icon
- InputOTP
- 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
- 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
- Sort event emit
- Drawer
- Modal
Showcase
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
https://github.com/huacnlee/gpui-app/assets/5518/0273e031-4426-4ab5-a41c-f7cbbb0e55bc
https://github.com/huacnlee/gpui-component/assets/5518/51622a5e-f51d-4ede-8cae-04cae703f8aa
Demo
- main-app-windows.zip - Updated at 2024/07/12
- main-app-windows.zip - Updated at 2024/07/01
- main-app-windows.zip - Updated at 2024/06/29
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.