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.
1
+
Frappe UI React is a modern component library designed for building frontend applications in React, specifically tailored for the [Frappe Framework](https://frappe.io/framework). It is inspired by the original [frappe-ui](https://github.com/frappe/frappe-ui), which is created in Vue, offering a similar components and aesthetic in React. 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
2
5
3
## Prerequisites
6
4
@@ -9,35 +7,53 @@ Frappe UI React is a component library designed for rapid UI development using R
9
7
10
8
## Usage
11
9
10
+
You can set up frappe-ui-react in the following simple steps.
11
+
12
+
### Step 1: Installation
13
+
14
+
Install the package using npm.
15
+
12
16
```bash
13
17
npm install @rtcamp/frappe-ui-react
14
-
# or
15
-
yarn add @rtcamp/frappe-ui-react
16
18
```
17
19
18
-
### Now, you can use the package in the following page
20
+
### Step 2: Configuration
19
21
20
-
#### index.css
22
+
**Option 1 (Recommended):** If you already have a Tailwind configuration, import the tailwind configuration from `frappe-ui-react` and use it as a preset or extend your existing configuration.
**Option 2:** Import the theme CSS directly into your project (e.g., in `index.css`).
21
35
22
36
```css
23
-
@import @rtcamp/frappe-ui-react/theme.css
37
+
@import'@rtcamp/frappe-ui-react/theme.css';
24
38
```
25
39
26
-
#### app.tsx
40
+
###Step 3: Import and Use Components
27
41
28
-
```js
42
+
You can now import components and use them in your project.
43
+
44
+
```jsx
29
45
import'./index.css';
30
46
import { Button } from"@rtcamp/frappe-ui-react";
31
47
32
-
33
48
functionApp() {
34
49
return (
35
50
<div className="app-container">
36
51
<Button
37
52
label="Default Button"
38
-
theme= "gray"
39
-
size= "md"
40
-
variant= "subtle" />
53
+
theme="gray"
54
+
size="md"
55
+
variant="subtle"
56
+
/>
41
57
</div>
42
58
);
43
59
}
@@ -47,12 +63,14 @@ export default App;
47
63
48
64
## Under the Hood
49
65
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.
66
+
This library is built on top of several excellent open-source projects:
67
+
68
+
-**[TailwindCSS](https://github.com/tailwindlabs/tailwindcss)**: Utility-first CSS framework for building design system-based UIs.
69
+
-**[Headless UI](https://github.com/tailwindlabs/headlessui)**: Unstyled and accessible UI components.
70
+
-**[Radix UI](https://github.com/radix-ui/themes)**: Low-level, unstyled, and accessible UI primitives.
71
+
-**[React Quill](https://github.com/zenoamaro/react-quill)**: Rich text editor component for React.
72
+
-**[dayjs](https://github.com/iamkun/dayjs)**: Lightweight JavaScript library for working with dates.
55
73
56
-
## Does this interest you?
74
+
## Inspiration & Credits
57
75
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>
76
+
This project, **Frappe UI React**, is heavily inspired by the original **[Frappe UI](https://github.com/frappe/frappe-ui)** project. Frappe UI is a fantastic Vue.js component library, and our goal with Frappe UI React is to bring a similar aesthetic and component experience to the React ecosystem.
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.
6
+
Frappe UI React is a modern component library designed for building frontend applications in React, specifically tailored for the [Frappe Framework](https://frappe.io/framework). It is inspired by the original [frappe-ui](https://github.com/frappe/frappe-ui), which is created in Vue, offering a similar components and aesthetic in React. 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
7
5
8
## Prerequisites
6
9
@@ -9,35 +12,53 @@ Frappe UI React is a component library designed for rapid UI development using R
9
12
10
13
## Usage
11
14
15
+
You can set up frappe-ui-react in the following simple steps.
16
+
17
+
### Step 1: Installation
18
+
19
+
Install the package using npm.
20
+
12
21
```bash
13
22
npm install @rtcamp/frappe-ui-react
14
-
# or
15
-
yarn add @rtcamp/frappe-ui-react
16
23
```
17
24
18
-
### Now, you can use the package in the following page
25
+
### Step 2: Configuration
26
+
27
+
**Option 1 (Recommended):** If you already have a Tailwind configuration, import the tailwind configuration from `frappe-ui-react` and use it as a preset or extend your existing configuration.
**Option 2:** Import the theme CSS directly into your project (e.g., in `index.css`).
21
40
22
41
```css
23
-
@import @rtcamp/frappe-ui-react/theme.css
42
+
@import'@rtcamp/frappe-ui-react/theme.css';
24
43
```
25
44
26
-
#### app.tsx
45
+
###Step 3: Import and Use Components
27
46
28
-
```js
47
+
You can now import components and use them in your project.
48
+
49
+
```jsx
29
50
import'./index.css';
30
51
import { Button } from"@rtcamp/frappe-ui-react";
31
52
32
-
33
53
functionApp() {
34
54
return (
35
55
<div className="app-container">
36
56
<Button
37
57
label="Default Button"
38
-
theme= "gray"
39
-
size= "md"
40
-
variant= "subtle" />
58
+
theme="gray"
59
+
size="md"
60
+
variant="subtle"
61
+
/>
41
62
</div>
42
63
);
43
64
}
@@ -47,12 +68,14 @@ export default App;
47
68
48
69
## Under the Hood
49
70
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.
71
+
This library is built on top of several excellent open-source projects:
72
+
73
+
-**[TailwindCSS](https://github.com/tailwindlabs/tailwindcss)**: Utility-first CSS framework for building design system-based UIs.
74
+
-**[Headless UI](https://github.com/tailwindlabs/headlessui)**: Unstyled and accessible UI components.
75
+
-**[Radix UI](https://github.com/radix-ui/themes)**: Low-level, unstyled, and accessible UI primitives.
76
+
-**[React Quill](https://github.com/zenoamaro/react-quill)**: Rich text editor component for React.
77
+
-**[dayjs](https://github.com/iamkun/dayjs)**: Lightweight JavaScript library for working with dates.
55
78
56
-
## Does this interest you?
79
+
## Inspiration & Credits
57
80
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>
81
+
This project, **Frappe UI React**, is heavily inspired by the original **[Frappe UI](https://github.com/frappe/frappe-ui)** project. Frappe UI is a fantastic Vue.js component library, and our goal with Frappe UI React is to bring a similar aesthetic and component experience to the React ecosystem.
0 commit comments