Skip to content

A set of components and utilities for rapid UI development

License

Notifications You must be signed in to change notification settings

shariquerik/frappe-ui

 
 

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')
  ],
  ...
}
<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

Packages

No packages published

Languages

  • Vue 61.7%
  • JavaScript 38.0%
  • Other 0.3%