No description
Find a file
dependabot[bot] ff5f0d785c
build(deps): bump wry from 7f2f270 to 7093dd3 (#338)
Bumps [wry](https://github.com/huacnlee/wry) from `7f2f270` to
`7093dd3`.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="7093dd3c82"><code>7093dd3</code></a>
Add doc to method</li>
<li>See full diff in <a
href="7f2f270e7b...7093dd3c82">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-14 11:23:54 +08:00
.cargo windows: Set the default stack size to 8M on Windows. (#228) 2024-09-09 13:51:10 +08:00
.github Add dependabot.yml 2024-10-14 11:20:16 +08:00
assets dock: Add left, bottom, right fixed dock and support toggle. (#291) 2024-10-02 17:42:52 +08:00
crates dropdown: Use difference chevron icon color for enabled/disabled dropdown. (#336) 2024-10-14 10:19:58 +08:00
script Add CI (#62) 2024-07-24 10:39:19 +08:00
.gitignore dock: Add to support save left, right, bottom dock state. (#303) 2024-10-03 17:25:31 +08:00
Cargo.lock build(deps): bump wry from 7f2f270 to 7093dd3 (#338) 2024-10-14 11:23:54 +08:00
Cargo.toml webview: Blur WebView when clicked out to fix IME cannot input bug. (#320) 2024-10-08 17:01:52 +08:00
LICENSE-APACHE Add Dock & Panel (#10) 2024-07-01 14:20:56 +08:00
LICENSE-GPL Add Dock & Panel (#10) 2024-07-01 14:20:56 +08:00
README.md Add ColorPicker (#199) 2024-09-02 00:21:01 +08:00

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

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.