No description
Closes #324 When we create a Wry WebView, it will take the focus into the WebView. So we must care to use it, make sure no WebView create if there no need to display. > The `ui::WebView` has implemented when we click out of the WebView to move focus back to the main window. > > But by my test, first render it not work will because the Render is not trigger so the click out event not listened. Currently change just removed WebViewStory from the demo. |
||
|---|---|---|
| .cargo | ||
| .github/workflows | ||
| assets | ||
| crates | ||
| script | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE-APACHE | ||
| LICENSE-GPL | ||
| README.md | ||
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
- 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
There have a part of UI components from Zed, that are under GPL v3.0 license.
- workspace
Other UI components are under Apache License.