Pro Blocks tab
Learn how to integrate Pro Blocks from Figma into your shadcn/ui project with our plugin. This step-by-step guide will walk you through generating CLI command based on the selected Pro Blocks.
Instructions
- Open the Figma to shadcn/ui plugin.
- Go to the Pro Blocks tab within the plugin interface.
- Identify and select the items that have Pro Blocks in their name.
- Press the 'Generate CLI command' button in the plugin to create the command.
- Copy the generated command and paste it into your code project's terminal.
- Run the command to install the default Pro Blocks into your project.
- Adjust the installed Pro Blocks to match your design and content from Figma.
Important
Make sure to install Pro Blocks styles before installing components so each Pro Block displays properly. Use the command: npx shadcn@latest add https://pro-blocks-v4.vercel.app/r/pro-blocks-styles.json
Up next
Installing shadcn/ui
This guide provides step-by-step instructions on how to install Shadcn into a NextJS project. It covers the installation of the Shadcn library and its components, ensuring you can start using them in your project.