Introduction
Rust shadcn/ui is a Rust port of shadcn/ui.
shadcn/ui is a library of beautifully designed components that you can copy and paste into your apps.
Frameworks
Rust shadcn/ui is available for the following frameworks:
The following frameworks are under consideration:
The tables below show the support for the various frameworks.
- ✅ = Supported
- 🟦 = Early Support
- 🚧 = Work In Progress
- ❌ = Unsupported
Primitives Support
| Name | Dioxus | Leptos | Yew |
|---|---|---|---|
| Accordion | ❌ #12 | ❌ #61 | ❌ #110 |
| Alert | ❌ #13 | 🚧 #62 | 🟦 #111 |
| Alert Dialog | ❌ #14 | ❌ #63 | ❌ #112 |
| Aspect Ratio | ❌ #15 | ❌ #64 | 🟦 #113 |
| Avatar | ❌ #16 | ❌ #65 | 🟦 #114 |
| Badge | ❌ #17 | 🚧 #66 | 🟦 #115 |
| Breadcrumb | ❌ #18 | ❌ #67 | 🟦 #116 |
| Button | ❌ #19 | 🚧 #68 | 🟦 #117 |
| Calendar | ❌ #20 | ❌ #69 | ❌ #118 |
| Card | ❌ #21 | 🚧 #70 | 🟦 #119 |
| Carousel | ❌ #22 | ❌ #71 | ❌ #120 |
| Chart | ❌ #23 | ❌ #72 | ❌ #121 |
| Checkbox | ❌ #24 | ❌ #73 | ❌ #122 |
| Collapsible | ❌ #25 | ❌ #74 | ❌ #123 |
| Combobox | ❌ #26 | ❌ #75 | ❌ #124 |
| Command | ❌ #27 | ❌ #76 | ❌ #125 |
| Context Menu | ❌ #28 | ❌ #77 | ❌ #126 |
| Data Table | ❌ #29 | ❌ #78 | ❌ #127 |
| Date Picker | ❌ #30 | ❌ #79 | ❌ #128 |
| Dialog | ❌ #31 | ❌ #80 | ❌ #129 |
| Drawer | ❌ #32 | ❌ #81 | ❌ #130 |
| Dropdown Menu | ❌ #33 | ❌ #82 | ❌ #131 |
| Form | ❌ #34 | ❌ #83 | ❌ #132 |
| Hover Card | ❌ #35 | ❌ #84 | ❌ #133 |
| Input | ❌ #36 | ❌ #85 | 🟦 #134 |
| Input OTP | ❌ #37 | ❌ #86 | ❌ #135 |
| Label | ❌ #38 | ❌ #87 | 🟦 #136 |
| Menubar | ❌ #39 | ❌ #88 | ❌ #137 |
| Navigation Menu | ❌ #40 | ❌ #89 | ❌ #138 |
| Pagination | ❌ #41 | ❌ #90 | 🟦 #139 |
| Popover | ❌ #42 | ❌ #91 | ❌ #140 |
| Progress | ❌ #43 | ❌ #92 | ❌ #141 |
| Radio Group | ❌ #44 | ❌ #93 | ❌ #142 |
| Resizable | ❌ #45 | ❌ #94 | ❌ #143 |
| Scroll Area | ❌ #46 | ❌ #95 | ❌ #144 |
| Select | ❌ #47 | ❌ #96 | ❌ #145 |
| Separator | ❌ #48 | ❌ #97 | 🟦 #146 |
| Sheet | ❌ #49 | ❌ #98 | ❌ #147 |
| Skeleton | ❌ #50 | ❌ #99 | 🟦 #148 |
| Slider | ❌ #51 | ❌ #100 | ❌ #149 |
| Sonner | ❌ #52 | ❌ #101 | ❌ #150 |
| Switch | ❌ #53 | ❌ #102 | 🟦 #151 |
| Table | ❌ #54 | ❌ #103 | 🟦 #152 |
| Tabs | ❌ #55 | ❌ #104 | ❌ #153 |
| Textarea | ❌ #56 | ❌ #105 | 🟦 #154 |
| Toast | ❌ #57 | ❌ #106 | ❌ #155 |
| Toggle | ❌ #58 | ❌ #107 | ❌ #156 |
| Toggle Group | ❌ #59 | ❌ #108 | ❌ #157 |
| Tooltip | ❌ #60 | ❌ #109 | ❌ #158 |
| Total | 0 / 49 | 4 / 49 | 15 / 49 |
License
This project is available under the MIT license.
Rust for Web
The Rust shadcn/ui project is part of Rust for Web.
Rust for Web creates and ports web libraries for Rust. All projects are free and open source.