razorsharp icon indicating copy to clipboard operation
razorsharp copied to clipboard

Figma plugin to generate code from designs made in Blade

Warning

Razorsharp has been merged into the Blade codebase. This repository is a view only archive. Go to the Blade codebase

Razorsharp

Razorsharp is a Figma plugin that generates code for the Blade design system.

Watch a demo

Watch the video

Screenshots

What this is not

Do not expect this plugin to generate 100% production ready code. To get the most out of this plugin:

  • Ask designers to always use Blade components in Figma
  • Ask designers to use Auto Layout in Figma
  • Generate code per design section instead of the whole page

Usage guide

For installation and usage instructions, please refer to the usage guide.

Contributing

Work in progress

  • If you are developer, help by contributing to the codebase. Contributions can be bug fixes, support for new components, or documentation improvements.

  • If you are a designer, help by pointing out bugs, suggesting improvements, or by creating a logo/cover image for Figma 😅.

Reporting issues

Create a new GitHub issue or tag @Burhan on #design-system on the Razorpay Slack workspace.

Please include the following information:

  • The component that you are trying to generate code for
  • Link to the Figma file
  • Screenshot of the Figma file and the generated code

Current status

Will shortly be moving this to GitHub projects. This is a work in progress

Component Status
Button ✅ Done
Link ✅ Done
CheckboxGroup ✅ Done
Checkbox ✅ Done
Text ✅ Done
Title ✅ Done
Heading ✅ Done
RadioGroup ✅ Done
Radio ✅ Done
Badge ✅ Done
Alert ✅ Done
TextInput ✅ Done
Spinner ✅ Done
TextArea ✅ Done
PasswordInput ✅ Done
Code ✅ Done
OTPInput ✅ Done
Counter ✅ Done
IconButton ✅ Done
Indicator ✅ Done
Card
ProgressBar ✅ Done
List
SelectInput ✅ Done
Dropdown
ActionList
Layout ✅ Done

Credits

License

Licensed under the MIT License. See the LICENSE file for details.