A modern and powerful starter kit for Framer Plugin development. This boilerplate provides a ready-to-use infrastructure for developing Framer Plugins using TypeScript, React, Tailwind CSS, and Vite.
git clone https://github.com/mehmetext/framer-plugin-boilerplate.git
cd framer-plugin-boilerplate
npm install
# or
yarn install
# or
pnpm install
# or
bun install
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
āāā src/
ā āāā components/ # Reusable UI components
ā āāā screens/ # Page components
ā āāā navigation/ # Routing system
ā āāā lib/ # Helper functions
ā āāā App.tsx # Main application component
ā āāā main.tsx # Application entry point
āāā public/ # Static files
āāā framer.json # Plugin configuration
The boilerplate includes many components that are compatible with Framer's design system:
Modern and practical button variants:
Various form elements:
Segmented selection control with customizable options:
Precise numerical value control:
Simple and effective checkbox:
Spinners and indicators for loading states:
A suitable structure for page titles and actions:
All components use Framer's default theme variables and automatically support Dark Mode.
To package your project:
npm run pack
This command will create a plugin.zip
file ready to be uploaded to Framer.
Update plugin metadata by editing the framer.json
file:
{
"id": "your-plugin-id",
"name": "Your Plugin Name",
"modes": ["canvas"],
"icon": "/icon.svg"
}
Tailwind configuration is located in tailwind.config.js
. It's set up to work automatically with Framer's theme variables.
MIT
For more information about Framer Plugin development: Framer Plugin Developer Documentation
I welcome contributions to make this boilerplate even better! Here's how you can help:
git checkout -b feature/your-feature-name
# or
git checkout -b fix/your-bug-fix
git commit -m "Description of changes"
git push origin feature/your-feature-name
feat: added new feature
)If you need help with your contribution:
Thank you for contributing to make this project better! š