No description
Find a file
Floyd Wang 2dab196f68
button: Add flex_shrink_0 to the base (#383)
If you want the button to be flexible, add `flex_shrink`.
2024-10-31 10:35:37 +08:00
.cargo windows: Set the default stack size to 8M on Windows. (#228) 2024-09-09 13:51:10 +08:00
.github title_bar: Fix move window support for Linux. (#368) 2024-10-21 15:23:36 +08:00
assets title_bar: Add a new TitleBar, remove the old version. (#348) 2024-10-16 16:22:17 +08:00
crates button: Add flex_shrink_0 to the base (#383) 2024-10-31 10:35:37 +08:00
script script: Fix install script on Ubuntu. (#366) 2024-10-18 23:14:55 +08:00
.gitignore dock: Add to support save left, right, bottom dock state. (#303) 2024-10-03 17:25:31 +08:00
Cargo.lock notification: Autohide should not panic when the window is not found (#374) 2024-10-22 10:43:00 +08:00
Cargo.toml title_bar: Add a new TitleBar, remove the old version. (#348) 2024-10-16 16:22:17 +08:00
LICENSE-APACHE Add Dock & Panel (#10) 2024-07-01 14:20:56 +08:00
README.md chore: Fix typos. (#364) 2024-10-18 14:30:24 +08:00

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.

image

image

Demo

If you want to see the demo, here is a some demo applications.

How to build

cargo run

License

Apache-2.0