Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/longbridge/gpui-component
UI components for building fantastic desktop application by using GPUI.
https://github.com/longbridge/gpui-component
gpui macos shadcn-ui ui windows
Last synced: 4 days ago
JSON representation
UI components for building fantastic desktop application by using GPUI.
- Host: GitHub
- URL: https://github.com/longbridge/gpui-component
- Owner: longbridge
- License: other
- Created: 2024-06-13T13:45:39.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-01-15T08:52:04.000Z (12 days ago)
- Last Synced: 2025-01-15T10:40:53.579Z (11 days ago)
- Topics: gpui, macos, shadcn-ui, ui, windows
- Language: Rust
- Homepage:
- Size: 1.98 MB
- Stars: 352
- Watchers: 11
- Forks: 32
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# 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.UI components for building fantastic desktop application by using [GPUI](https://gpui.rs).
## Features
- Theming
- TitleBar
- Dock, Tiles
- TextInput, TextArea, OtpInput
- Button, Link
- Label
- Icon
- Checkbox, Radio, Switch
- Dropdown
- Tabs
- Notification
- Tooltip
- Popover
- Resizable
- Progress & Indicator
- Slider
- Skeleton
- DatePicker, DateRangePicker, Calendar
- ColorPicker
- List
- Table
- Menu
- Drawer
- Modal
- WebView
- Accordion
- Sidebar
- Breadcrumb
- Badge## Showcase
Here is the first application: [Longbridge](https://longbridge.com) that is built by using GPUI Component.
> It still under development, not published yet.
We build multi-themes support in application, this feature is not including in GPUI Component. It is based on `Theme` feature, so it easy to do.
## Usage
GPUI and GPUI Component still in development, so we need add dependency by git.
And GPUI Component depends on `gpui` by special version (It keep updated to upstream) for including WebView support.
```toml
gpui = { git = "https://github.com/huacnlee/zed.git", branch = "export-platform-window" }
ui = { git = "https://github.com/longbridge/gpui-component.git" }
```## Demo
If you want to see the demo, here is a some demo applications.
- [gpui-app-windows.zip](https://github.com/user-attachments/files/17396296/gpui-app-windows.zip) - Updated at 2024/10/16
## Development
```bash
cargo run
```More examples can be found in `examples` directory.
Checkout [DEVELOPMENT](DEVELOPMENT) to see more details.
## License
Apache-2.0
- UI design based on [shadcn/ui](https://ui.shadcn.com).
- Icon from [Lucide](https://lucide.dev).