A set of components and utilities for rapid UI development https://ui.frappe.io
  • TypeScript 36.5%
  • Vue 35.4%
  • Markdown 20.5%
  • JavaScript 6.8%
  • CSS 0.8%
Find a file
Faris Ansari 66d213bafe
Merge pull request #791 from frappe/docs/consolidate-v1-specs
docs: consolidate spec/ as canonical, align editor naming on Editor
2026-06-18 19:21:35 +05:30
.claude/commands ci: more checks and plainer language in barista review 2026-06-03 23:35:46 +05:30
.github ci: publish docs previews for fork PRs from team members 2026-06-03 23:27:57 +05:30
.husky build: removed prepare step 2024-10-16 19:07:15 +05:30
cypress chore(tsconfig): route .cy.ts files to a Cypress project via solution-style config 2026-06-07 03:08:31 +05:30
docs docs(tokens): note beta 11 token rerun 2026-06-17 23:35:07 +05:30
espresso-v2-design-tokens fix(tokens): rename 15px text size to md 2026-06-17 23:24:21 +05:30
frappe fix(tokens): rename 15px text size to md 2026-06-17 23:24:21 +05:30
icons refactor(tokens)!: migrate to espresso v2 token names 2026-06-08 23:40:48 +05:30
public fix: change logo and theme 2024-04-13 03:17:08 +05:30
skills/frappe-ui fix(tokens): rename 15px text size to md 2026-06-17 23:24:21 +05:30
spec docs: consolidate spec/ as canonical, align editor naming on Editor 2026-06-18 18:27:35 +05:30
src fix(tokens): rename 15px text size to md 2026-06-17 23:24:21 +05:30
tailwind test(tokens): cover token migration modes 2026-06-17 23:30:21 +05:30
v1-release docs: consolidate spec/ as canonical, align editor naming on Editor 2026-06-18 18:27:35 +05:30
vite fix: escape single quotes in Select field options for TypeScript compatibility 2026-05-24 16:25:37 +05:30
.coderabbit.yaml chore(coderabbit): add changelog check, semgrep rules, linked repos 2026-05-12 01:15:23 +05:30
.git-blame-ignore-revs chore: update exports 2025-05-26 15:26:11 +05:30
.gitattributes feat: component meta data 2025-12-16 15:54:34 +05:30
.gitignore feat(tokens): sync espresso v2 design tokens from Figma + rebuild foundations docs 2026-06-08 23:40:47 +05:30
.nycrc.json fix(coverage): include .vue files in nyc report output 2026-05-20 01:25:59 +05:30
.postcssrc.js chore: convert to esm 2025-05-07 18:05:56 +05:30
.pre-commit-config.yaml chore: Add pre-commit to auto format code before commit 2024-10-16 17:34:21 +05:30
.prettierrc.json feat: Setup vitepress and index page 2022-11-28 13:57:42 +05:30
.semgrep.yml chore(coderabbit): add changelog check, semgrep rules, linked repos 2026-05-12 01:15:23 +05:30
404.html fix: 404 redirect and route handling 2024-10-30 16:22:35 +05:30
App.vue feat: Set up storybook 2023-03-08 18:55:33 +05:30
auto-imports.d.ts Revert "refactor: replace lucide-static with @iconify-json/lucide (#366)" 2025-07-24 13:51:44 +05:30
components.d.ts Merge branch 'main' into context-menu 2026-06-16 16:00:10 +05:30
CONTEXT.md docs: consolidate spec/ as canonical, align editor naming on Editor 2026-06-18 18:27:35 +05:30
cypress.config.ts chore: wire vitest + cypress code coverage with merged report 2026-04-28 03:11:25 +05:30
frappe-ui-square.png fix: change logo and theme 2024-04-13 03:17:08 +05:30
frappe-ui.png fix: change logo and theme 2024-04-13 03:17:08 +05:30
frappe-ui.svg chore(ui): update histoire dark theme colors 2024-10-16 15:57:58 +05:30
index.html feat: Set up storybook 2023-03-08 18:55:33 +05:30
internals.ts feat: export InputLabeling components from internals 2026-06-11 18:29:47 +05:30
license.md feat: first commit 2022-01-17 20:09:02 +05:30
main.js feat: Icon and IconPicker components (#498) 2025-12-29 12:16:05 +05:30
package.json chore(release): v1.0.0-beta.11 2026-06-17 18:09:38 +00:00
PHILOSOPHY.md docs: consolidate spec/ as canonical, align editor naming on Editor 2026-06-18 18:27:35 +05:30
postcss.config.ts chore: setup histoire 2023-08-28 23:14:31 +05:30
readme.md docs: add Claude Code skill and llms.txt index 2026-05-19 04:52:40 +05:30
tailwind.config.js docs(foundations): polish foundation pages 2026-06-08 23:41:48 +05:30
tsconfig.app.json chore(tsconfig): route .cy.ts files to a Cypress project via solution-style config 2026-06-07 03:08:31 +05:30
tsconfig.base.json fix: tsconfig file 2025-11-27 17:57:26 +05:30
tsconfig.json chore(tsconfig): route .cy.ts files to a Cypress project via solution-style config 2026-06-07 03:08:31 +05:30
tsconfig.node.json refactor: tree shaking by adding subpath exports 2025-11-06 21:58:33 +05:30
vite.config.ts refactor: resolve internal modules via Node subpath imports (#) 2026-06-02 17:12:11 +05:30
vitest.config.ts feat(editor): add primitive editor subpath 2026-06-02 04:55:14 +05:30
vitest.setup.ts chore(deps): upgrade tiptap and prosemirror 2026-06-11 00:35:23 +05:30
yarn.lock feat: add CodeEditor component 2026-06-13 13:59:36 +05:30

Frappe UI

Rapidly build modern frontends for Frappe apps

NPM Downloads Screenshot 2024-12-12 at 5 27 58 PM

Frappe UI

Frappe UI provides a set of components and utilities for rapid UI development. Components are built using Vue 3 and Tailwind. Along with generic components like Button, Link, Dialog, etc., it also contains utilities for handling server-side data fetching, directives and utilities.

Motivation

In 2019, I began building Frappe Books which had a new design. This led to the creation of small reusable components like Button, Dialog, and Card. Moving on to Frappe Cloud in 2020, I reused and evolved these components in the Frappe Cloud UI. In 2022, while starting a new project, I decided to extract these components into a standalone package to avoid repeating the copy-paste process. This package is now being developed alongside the Gameplan, continually adding generic components and utilities for frontend development.

Under the Hood

  • TailwindCSS: Utility first CSS Framework to build design system based UI.
  • Headless UI: Unstyled and accessible UI components.
  • TipTap: ProseMirror based rich-text editor with a Vue API.
  • dayjs: Minimal javascript library for working with dates.

Usage

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>

Claude Code skill

For AI coding agents (Claude Code, Cursor, Codex, etc.), Frappe UI ships an agent skill that teaches the agent the library's conventions — semantic Tailwind tokens, the variant + theme color axes, the useCall data-fetching composable, common UI recipes, and anti-patterns to avoid.

Install with Vercel's skills CLI:

npx skills add https://github.com/frappe/frappe-ui/tree/main/skills/frappe-ui

The skill lives in skills/frappe-ui/ and is updated alongside the library.

Used By

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