How to create reusable vector sets on Framer
Create reusable vector sets in Framer by importing or drawing vectors, organizing them into a component, and setting up variants for different states. This allows you to maintain consistent iconography across your project while enabling easy updates and modifications.
Prerequisites
- Basic knowledge of Framer interface
- Understanding of vector graphics
- Familiarity with Framer components
- Knowledge of design systems
Step-by-Step Instructions
Import or create your vector graphics
Group and organize your vectors
Shift and clicking each one, then press Cmd+G (Mac) or Ctrl+G (PC) to group them. Rename the group in the Layers Panel with a descriptive name like "Icon Set" or "Vector Collection". Ensure all vectors are properly aligned and sized consistently within the group.Convert the group to a component
Cmd+K (Mac) or Ctrl+K (PC). Give your component a clear name in the Component Panel that appears on the right side of the screen.Set up component variants for different vectors
Configure component properties
Test and publish your component
Organize in the Asset Panel
Common Issues & Troubleshooting
Vectors appear pixelated or blurry when resized
Ensure you're using SVG format instead of raster images. If using imported vectors, check that the original SVG has proper viewBox attributes and vector paths rather than embedded raster graphics.
Component variants not switching properly
Check that each variant has the correct layers visible/hidden. Go to each variant in the Component Panel and verify the visibility settings in the Layers Panel. Ensure no layers are accidentally locked.
Vector colors not overriding correctly
Make sure your vectors use fills rather than strokes where possible, and avoid using complex gradients. Create a Color property in the component panel and connect it to the vector fills for proper override functionality.
Component not appearing in Assets Panel
Ensure you clicked Publish after creating the component. If still missing, try refreshing the Assets Panel or check if you're in the correct project scope. Published components should appear automatically in the Assets Panel.