Component instances

  • nathandh.-1362144560897327164

    nathandh

    3 days ago

    Is there a way to add a component and make changes which affect only that single instance? Meaning, I don't want to change the main parent component which would cascade to all children (thinking specifically how Webflow does this, or Figma)
  • max.kayr-1362145706416144556

    Max

    3 days ago

    Yes 😊 that is what attributes, contexts and style overrides are for.
    With attributes and context, you can change the functionality of the component or implement conditions. Style overrides style that one instance of the component (the root element), but leave the original intact
    🧠1
  • lucasg-1362146213725470911

    Lucas G

    3 days ago

    There are also slots
  • Technically not part of the component itself but slots allow you to extend components even further
  • max.kayr-1362147679307694171

    Max

    3 days ago

    Ah, sure! πŸ˜…
  • It's late
  • nathandh.-1362865804030513303

    nathandh

    1 day ago

    Interesting! I think I have to re-wire my brain around how toddle does components but glad to know there's a way πŸ‘πŸΌ

Stop scrolling. Start building.

toddle is a visual web app builder that rivals custom code β€” but accessible to your entire team!

Try toddle β€” it's free!

Β© Copyright 2024 toddle. All rights reserved.