The Components panel provides access to all components in your document and linked libraries. Browse, search, and drag components to create instances.
Panel Sections
Local Components
Components defined in current document:
- Organized by page or folder
- Shows all variants
- Quick edit access
Library Components
Components from linked libraries:
- Grouped by library
- Shows update status
- Search across libraries
Using Components
Drag to Canvas
- Find component in panel
- Click and drag to canvas
- Instance created at drop point
Double-Click Insert
- Double-click component
- Instance created at center of viewport
Component Variants
Components with multiple states:
- Hover over component to see variants
- Click variant chip to insert specific variant
- Use Properties panel to switch variants
Searching
- Use search bar at top
- Searches names and descriptions
- Filters across all sources
- Recent searches saved
Component Organization
Folders
- Use "/" in names for hierarchy
- Example: "Button/Primary", "Button/Secondary"
- Folders collapse/expand
Tags
- Add tags in component settings
- Filter by tags in panel
Creating Components
From Selection
- Select 2 or more elements to make component
- Right-click > Create Component
- Or use Cmd/Ctrl + Alt + K (with 2+ elements selected)
- Name the component
With Variants
- Create multiple component versions
- Select all versions
- Right-click > Combine as Variants
- Configure variant properties
Component Properties
Define customizable properties:
- Boolean - Show/hide toggle
- Instance Swap - Replace nested component
- Text - Editable text content
- Variant - Switch between variants
Instance Swapping
Replace component instances:
- Select an instance
- In panel, find replacement component
- Right-click > Swap Instance
- Or drag new component onto instance
Editing Components
Edit Main Component
- Double-click instance to enter
- Or right-click > Go to Main Component
- Make changes
- All instances update
Detach Instance
- Right-click instance > Detach
- Instance becomes regular elements
- No longer linked to main
Best Practices
- Use consistent naming conventions
- Organize with folders for large systems
- Add descriptions to components
- Use variants for related states
- Expose commonly-changed properties
- Keep components in a dedicated page