2.1 KiB
2.1 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
- TitleBar
- 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
- ButtonGroup
- IconButton
- Glost / Outline Button
- Loading
- Link
- Label
- Icon
- Checkbox
- Radio
- Switch
- Dropdown
- Tabs
- Notification
- Tooltip
- Popover
- Dockpanel
- Resizable
- Progress & Indicator
- Slider
- Skeleton
- DatePicker
- DatePicker
- DateRangePicker
- Calendar
- TimePicker
- 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
- WebView
Showcase
https://github.com/user-attachments/assets/23766bb2-ffc3-4878-b5ad-7a08a0657f26
Demo
- main-app-windows.zip - Updated at 2024/08/05
- 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
Apache-2.0