[go: up one dir, main page]

Skip to content

huacnlee/gpui-component

Repository files navigation

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

CleanShot.2024-07-17.at.11.37.06.mp4

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.

About

UI components write in GPUI.

Topics

Resources

License

Apache-2.0, GPL-3.0 licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
GPL-3.0
LICENSE-GPL

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages