paperclip
Build UIs at the speed of thought. Paperclip is a template engine that comes with tools for building presentational components in realtime, all within your existing IDE:
This took me about 12 minutes to make start to finish.
Features
- Templates compile down to plain React code (more targets planned).
- Scoped CSS. Write styles however you want, without worying about them leaking out.
- Percy integration for catching visual regressions.
- Compatible with existing CSS libraries like Tailwind, Bulma, and Bootstrap.
Resources
- Slack channel - for questions, feedback, help, or whatever!
- Installation
- Project installation - Basic installation of Paperclip for new and existing projects.
- VSCode Extension - Getting started with the VS Code extension.
- Webpack setup - Setting up with Webpack
- Documentation
- Syntax - How to write Paperclip documents
- React usage - Using Paperclip UIs in your React code
Example
Here's what Paperclip's syntax looks like (from GIF above):
Here's how you integrate Paperclip into your code:
Roadmap
What's the future looking like for Paperclip? Here's the tentative plan:
- ✅ Prettier integration
- ✅ Avocode / Figma integration (Figma to design sync)
- ? CSS & HTML linting (a11y, showing unused styles, caniuse integration)
- ? CSS tree shaking (removing unused CSS from builds)
- ? Visual builder (no-code like)
- ? Multiple compiler targets: PHP, Ruby, VueJS, Svelte
- ? IDE integrations