You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Frappe UI React is a component library designed for rapid UI development using React 19 and Tailwind 4. It is inspired by the original [frappe-ui](https://github.com/frappe/frappe-ui), offering a similar aesthetic for a consistent user experience. However, we are not limited to a one-to-one port and also provide a growing collection of custom-built components to give developers more power and flexibility.
4
+
5
+
## Prerequisites
6
+
7
+
- Node.js v20
8
+
- TailwindCSS v4
9
+
10
+
## Usage
11
+
12
+
```bash
13
+
npm install @rtcamp/frappe-ui-react
14
+
# or
15
+
yarn add @rtcamp/frappe-ui-react
16
+
```
17
+
18
+
### Now, you can use the package in the following page
19
+
20
+
#### index.css
21
+
22
+
```css
23
+
@import @rtcamp/frappe-ui-react/theme.css
24
+
```
25
+
26
+
#### app.tsx
27
+
28
+
```js
29
+
import './index.css';
30
+
import { Button } from "@rtcamp/frappe-ui-react";
31
+
32
+
33
+
function App() {
34
+
return (
35
+
<divclassName="app-container">
36
+
<Button
37
+
label="DefaultButton"
38
+
theme= "gray"
39
+
size= "md"
40
+
variant= "subtle" />
41
+
</div>
42
+
);
43
+
}
44
+
45
+
export default App;
46
+
```
47
+
48
+
## Under the Hood
49
+
50
+
- [TailwindCSS](https://github.com/tailwindlabs/tailwindcss): Utility first CSS Framework to build design system based UI.
51
+
- [Headless UI](https://github.com/tailwindlabs/headlessui): Unstyled and accessible UI components.
52
+
- [Radix UI](https://github.com/radix-ui/themes): Unstyled and accessible UI components.
53
+
- [TipTap](https://github.com/ueberdosis/tiptap): ProseMirror based rich-text editor with a Vue API.
54
+
- [dayjs](https://github.com/iamkun/dayjs): Minimal javascript library for working with dates.
55
+
56
+
## Does this interest you?
57
+
58
+
<a href="https://rtcamp.com/"><img src="https://rtcamp.com/wp-content/uploads/sites/2/2019/04/github-banner@2x.png" alt="Join us at rtCamp, we specialize in providing high performance enterprise WordPress solutions"></a>
Frappe UI React is a component library designed for rapid UI development using React 19 and Tailwind 4. It is inspired by the original [frappe-ui](https://github.com/frappe/frappe-ui), offering a similar aesthetic for a consistent user experience. However, we are not limited to a one-to-one port and also provide a growing collection of custom-built components to give developers more power and flexibility.
@@ -16,15 +10,25 @@ Frappe UI React is a component library designed for rapid UI development using R
16
10
## Usage
17
11
18
12
```bash
19
-
npm install @frappe-ui-react/frappe-ui-react
13
+
npm install @rtcamp/frappe-ui-react
20
14
# or
21
-
yarn add @frappe-ui-react/frappe-ui-react
15
+
yarn add @rtcamp/frappe-ui-react
22
16
```
23
17
24
-
Now, import the required components in your React app:
18
+
### Now, you can use the package in the following page
- [TipTap](https://github.com/ueberdosis/tiptap): ProseMirror based rich-text editor with a Vue API.
50
54
- [dayjs](https://github.com/iamkun/dayjs): Minimal javascript library for working with dates.
51
55
52
-
53
56
## Does this interest you?
54
57
55
58
<a href="https://rtcamp.com/"><img src="https://rtcamp.com/wp-content/uploads/sites/2/2019/04/github-banner@2x.png" alt="Join us at rtCamp, we specialize in providing high performance enterprise WordPress solutions"></a>
0 commit comments