Skip to main content

Best use for components... I'm a bit lost, I made this component and pasted the input component in it, but sometimes I need to have multiple inputs and sometimes I need a textarea or a checklist, what is the best way to use components?

  • December 23, 2025
  • 1 reply
  • 21 views

syigit

This is my modal component?

1 reply

Haroll
  • Power Member
  • December 29, 2025

Hi ​@syigit 
 

  1. Create a component that suits your needs,
  2. Inside your modal, select the input (assuming the input is also a component)
  3. In the right panel, at top, click the component’s name (e.g “input-text”) and use the the Swap Component functionality to replace it with your newly created component (e.g “modal-context”)


-

ref file : https://www.figma.com/design/yxvhjbHpWdjGKqhDfhxf71/48918?node-id=0-1&p=f&t=I8TVvC5fvANivLzK-11 (feel free to duplicate the file to your draft as i cannot give your write access) 

Hope it helped