Exporting variables
Learn how to export theme settings from Figma to your shadcn/ui project with Figma to shadcn/ui plugin.
Instructions
This feature is compatible with the shadcn ui Figma kit version from May 2025 and newer. Follow these steps to export your theme settings:
- Launch the plugin within your main shadcn/ui kit for Figma library file.
- Navigate to the "Manage Variables" tab.
- Select the "Export (v4)" tab.
- Choose your desired theme for export.
- Select your preferred color mode.
- Click "Export theme settings".
- Click "Copy CLI" to copy the command.
- Open your shadcn/ui project in your code editor.
- Access the terminal in your IDE
- Paste and execute the CLI command. Note: This process will overwrite your existing globals.css file with the theme settings from Figma. Consider creating a backup of your globals.css file before proceeding.
- Make sure to import the proper font family if you used a different one in your Figma design. You can learn more about fonts in Next.js in this guide.
Up next
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.