Skip to main content

Restricted Instance Usage Inside Slots

  • April 24, 2026
  • 5 replies
  • 86 views

Venkatesh Chitturi

Problem
Slots are a powerful way to make components flexible, but today they are too open. Even when using Preferred Instances, designers can still insert any component or element into a slot. This flexibility often leads to misuse and breaks design system consistency—especially in large teams.

Example:
A Button component has an Icon slot.
We want designers to use only approved icon components, but currently they can insert:

  • Any other component
  • Any vector or frame
  • Any custom element

This results in inconsistent UI, broken behavior, and extra review overhead for design system teams.

Proposed Feature
Add an option to restrict slot content to specific components or component sets.

When creating or editing a slot, allow authors to:

  • Define a restricted list of allowed components / component sets
  • Prevent adding any elements outside this list
  • Optionally show an error or warning when invalid content is attempted

How this differs from Preferred Instances

  • Preferred Instances → Suggests what should be used
  • Restricted Instances (proposed) → Enforces what can be used

This distinction is critical for maintaining design system integrity at scale.

Benefits

  • Stronger design system governance
  • Fewer accidental violations
  • Faster reviews and fewer fixes
  • Better experience for non‑system‑expert designers
  • More confidence when shipping reusable components

Use Cases

  • Icon slots (icons only from an approved icon set)
  • Media slots (only image or video components)
  • Navigation items (only specific list item components)
  • Enterprise design systems with strict standards

Summary
Adding restricted instance usage inside slots would bring much‑needed guardrails without reducing modularity. It would complement Preferred Instances perfectly and significantly improve consistency and scalability for design systems.

5 replies

Universalnick
  • New Participant
  • May 27, 2026

Yes! Publishing slots in DS as is to my team would destroy any cohesion.
Second Yes! For using this feature with icons!


  • Figmate
  • May 28, 2026

Hi ​@Venkatesh Chitturi  and ​@Universalnick 

Thank you for the thorough write-up and for including such a clear use case!

I understand you're looking for a way to restrict slot content to specific components or component sets, going beyond what Preferred Instances currently offer. 
I'll go ahead and create an internal report to share your suggestion with our engineering team for future consideration. We're unable to make any promises at this time, but we'll update this thread if anything changes.

 

Thanks for the valuable input!


  • Manager, Community Support
  • June 1, 2026

@Venkatesh Chitturi ​@Universalnick although this might not cover entirely the use case you describe above, I thought the latest Slot updates could be of value to you - see the topic below and let us know what you think.

 


Venkatesh Chitturi

@seni  Thank you for the thread, yes this helps.


Venkatesh Chitturi

@Junko3 thank you