No description
Fix #331 It is ensured that the scroll offset remains consistent during parent container resizing, preventing the cursor from being forced back into view unless the user interacts with the input, providing a more consistent user experience in scenarios where automatic scrolling during resizing is undesirable. This behavior aligns with common text editors and input fields where resizing the window doesn't force the cursor back into view.  |
||
|---|---|---|
| .cargo | ||
| .github | ||
| assets | ||
| crates | ||
| script | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE-APACHE | ||
| README.md | ||
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
- 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
- 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