gpui-component
gpui-component copied to clipboard
UI components write in GPUI.
GPUI Component
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
- [x] Theming
- [x] TitleBar
- [ ] TextInput
- [x] Ctrl+a, e to move cursor to start/end
- [x] Copy, Cut, Paste by keyboard
- [x] Selection by mouse, drag to select text
- [x] Cursor blinking
- [x] Input icon
- [ ] Textarea
- [ ] ContextMenu to let user copy, cut, paste
- [x] OtpInput
- [x] Button
- [x] Button with Icon
- [x] ButtonGroup
- [x] IconButton
- [x] Glost / Outline Button
- [x] Loading
- [x] Link
- [x] Label
- [x] Icon
- [x] Checkbox
- [x] Radio
- [x] Switch
- [x] Dropdown
- [x] Tabs
- [x] Notification
- [x] Tooltip
- [x] Popover
- [x] Dockpanel
- [x] Resizable
- [x] Progress & Indicator
- [x] Slider
- [x] Skeleton
- [ ] DatePicker
- [x] DatePicker
- [x] DateRangePicker
- [x] Calendar
- [ ] TimePicker
- [x] ColorPicker
- [x] List
- [x] A complex List example.
- [x] Table
- [x] row, column selection
- [x] Left, Right / Up, Down to selection column or row.
- [x] Horizontal scroll
- [x] Vertical scroll
- [x] Column resizing
- [x] Column ordering
- [x] Column sorting
- [x] Menu
- [x] Popup Menu
- [x] Context Menu
- [x] Drawer
- [x] Modal
- [x] Notification
- [x] WebView
- [x] Accordion
Showcase
Here is an application that is built by using GPUI Component.
This application is still under development, not published yet.
Demo
If you want to see the demo, here is a some demo applications.
- gpui-app-windows.zip - Updated at 2024/10/16
How to build
cargo run
License
Apache-2.0