Skip to content

A set of components and utilities for rapid UI development

License

Notifications You must be signed in to change notification settings

TheRealJim1/frappe-ui

This branch is 467 commits behind frappe/frappe-ui:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5b11b34 · Jul 9, 2024
Feb 4, 2024
Aug 7, 2022
May 26, 2024
Apr 12, 2024
Jul 9, 2024
Aug 25, 2022
Mar 25, 2024
Mar 8, 2023
Nov 28, 2022
Mar 8, 2023
Apr 12, 2024
Apr 12, 2024
Apr 15, 2024
Apr 12, 2024
Apr 12, 2024
Aug 28, 2023
Mar 8, 2023
Jan 17, 2022
Mar 8, 2023
Mar 25, 2024
Jul 1, 2024
Aug 28, 2023
Apr 15, 2024
Mar 8, 2023
Mar 31, 2024
May 1, 2023
May 1, 2023
Mar 25, 2024
Mar 31, 2024

Repository files navigation

Rapidly build modern frontends for Frappe apps

MIT License NPM Downloads

Frappe UI provides a set of components and utilities for rapid UI development. Components are built using Vue 3 and Tailwind. Along with components, there are directives and utilities that make UI development easier.

Links

Installation

npm install frappe-ui
# or
yarn add frappe-ui

Now, import the FrappeUI plugin and components in your Vue app's main.js:

import { createApp } from 'vue'
import { FrappeUI } from 'frappe-ui'
import App from './App.vue'
import './index.css'

let app = createApp(App)
app.use(FrappeUI)
app.mount('#app')

In your tailwind.config.js file, include the frappe-ui preset:

module.exports = {
  presets: [
    require('frappe-ui/src/utils/tailwind.config')
  ],
  ...
}

Now, you can import needed components and start using it:

<template>
  <button>Click me</button>
</template>
<script>
  import { Button } from 'frappe-ui'
  export default {
    components: {
      Button,
    },
  }
</script>

Used By

Frappe UI is being used in a lot of products by Frappe.

License

MIT

About

A set of components and utilities for rapid UI development

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 72.2%
  • JavaScript 22.9%
  • CSS 2.7%
  • TypeScript 2.1%
  • Other 0.1%