docs: Update from 40+ to 60+ components.
This commit is contained in:
parent
9bbb603aae
commit
98c17740c7
4 changed files with 9 additions and 7 deletions
|
|
@ -6,7 +6,7 @@ UI components for building fantastic desktop applications using [GPUI](https://g
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
- **Richness**: 40+ cross-platform desktop UI components.
|
- **Richness**: 60+ cross-platform desktop UI components.
|
||||||
- **Native**: Inspired by macOS and Windows controls, combined with shadcn/ui design for a modern experience.
|
- **Native**: Inspired by macOS and Windows controls, combined with shadcn/ui design for a modern experience.
|
||||||
- **Ease of Use**: Stateless `RenderOnce` components, simple and user-friendly.
|
- **Ease of Use**: Stateless `RenderOnce` components, simple and user-friendly.
|
||||||
- **Customizable**: Built-in `Theme` and `ThemeColor`, supporting multi-theme and variable-based configurations.
|
- **Customizable**: Built-in `Theme` and `ThemeColor`, supporting multi-theme and variable-based configurations.
|
||||||
|
|
@ -31,8 +31,8 @@ We built multi-theme support in the application. This feature is not included in
|
||||||
GPUI and GPUI Component are still in development, so you need to add dependencies by git.
|
GPUI and GPUI Component are still in development, so you need to add dependencies by git.
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
gpui = "0.2.0"
|
gpui = "0.2.2"
|
||||||
gpui-component = "0.2.0"
|
gpui-component = "0.3.0"
|
||||||
```
|
```
|
||||||
|
|
||||||
### Basic Example
|
### Basic Example
|
||||||
|
|
@ -88,7 +88,7 @@ fn main() {
|
||||||
GPUI Component has a `WebView` element based on [Wry](https://github.com/tauri-apps/wry). This is an optional feature, which you can enable with a feature flag.
|
GPUI Component has a `WebView` element based on [Wry](https://github.com/tauri-apps/wry). This is an optional feature, which you can enable with a feature flag.
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
gpui-component = { version = "0.2.0", features = ["webview"] }
|
gpui-component = { version = "0.3.0", features = ["webview"] }
|
||||||
wry = { version = "0.53.3, package = "lb-wry" }
|
wry = { version = "0.53.3, package = "lb-wry" }
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,8 @@ homepage = "https://github.com/longbridge/gpui-component"
|
||||||
keywords = ["desktop", "gpui", "shadcn", "ui", "uikit"]
|
keywords = ["desktop", "gpui", "shadcn", "ui", "uikit"]
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
name = "gpui-component"
|
name = "gpui-component"
|
||||||
|
documentation = "https://docs.rs/gpui-component"
|
||||||
|
homepage = "https://longbridge.github.io/gpui-component"
|
||||||
publish = true
|
publish = true
|
||||||
readme = "../../README.md"
|
readme = "../../README.md"
|
||||||
version = "0.3.0"
|
version = "0.3.0"
|
||||||
|
|
|
||||||
|
|
@ -7,11 +7,11 @@ description: Rust GUI components for building fantastic cross-platform desktop a
|
||||||
|
|
||||||
GPUI Component is a Rust UI component library for building fantastic desktop applications using [GPUI](https://gpui.rs).
|
GPUI Component is a Rust UI component library for building fantastic desktop applications using [GPUI](https://gpui.rs).
|
||||||
|
|
||||||
GPUI Component is a comprehensive UI component library for building fantastic desktop applications using [GPUI](https://gpui.rs). It provides 40+ cross-platform components with modern design, theming support, and high performance.
|
GPUI Component is a comprehensive UI component library for building fantastic desktop applications using [GPUI](https://gpui.rs). It provides 60+ cross-platform components with modern design, theming support, and high performance.
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
- **Richness**: 40+ cross-platform desktop UI components
|
- **Richness**: 60+ cross-platform desktop UI components
|
||||||
- **Native**: Inspired by macOS and Windows controls, combined with shadcn/ui design
|
- **Native**: Inspired by macOS and Windows controls, combined with shadcn/ui design
|
||||||
- **Ease of Use**: Stateless `RenderOnce` components, simple and user-friendly
|
- **Ease of Use**: Stateless `RenderOnce` components, simple and user-friendly
|
||||||
- **Customizable**: Built-in `Theme` and `ThemeColor`, supporting multi-theme
|
- **Customizable**: Built-in `Theme` and `ThemeColor`, supporting multi-theme
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
<div class="icon bg-green-500 dark:bg-green-700">
|
<div class="icon bg-green-500 dark:bg-green-700">
|
||||||
<Blocks />
|
<Blocks />
|
||||||
</div>
|
</div>
|
||||||
<div>40+ Components</div>
|
<div>60+ Components</div>
|
||||||
</h3>
|
</h3>
|
||||||
<div>
|
<div>
|
||||||
Comprehensive library of cross-platform desktop UI components
|
Comprehensive library of cross-platform desktop UI components
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue