
Navigation is key within any digital interface. Smart Components enable us to create custom interactive navigation components that work perfectly with the rest of your prototype.In this guide, we will cover the concepts of nesting components, adding events to elements in a component using Event Variables, and passing these through your components. One of the main benefits of using nested components is that it provides full control over its states, such as unique hover states of elements within another component.
Starting at the atomic level
Framer allows you to create fully interactive and animated components, and even allows you to nest components within other components. We’re building a navigation bar component for a website that will contain two different kinds of nested components, with their own unique interactions. Our project will contain a Navigation bar that contains various nested components, namely five Nav items and one Shopping cart component. The design of our nested components, the nav list item and the shopping cart, will impact how we design our navigation bar. For this reason, an optimal workflow includes starting with the 'deepest' nested component and building up from there.
Nesting components
Once we have our two components ready, we can start creating the component in which we will nest these. Draw your navigation bar, select it on the canvas and click the Component tool in the Toolbar. To nest a different component in our new component, just drag any other component to the Component Canvas and place it within your designed navigation bar.
Triggering interactions from the navigation bar
Back on the main canvas, we’d like to be able to tap 'Clothing' and navigate to an entire new Screen. If you’d connect the component using the Prototyping Connector to a new screen, we could set up an Interaction. However, this would be triggered if we tap anywhere within our component. This isn’t what we want to do, as we want to trigger this transition only from a specific element. This is where Event Variables come in, which are special types of Variables not attached to properties (like opacity or fill) but instead to events.
Recent News
Get Started with us
Ready to step into the trading world? Open an account within minutes!
Get revolutionary insights and easy-to-use trading tools to relish a smooth-sailing trading journey.
Secure your funds with robust cybersecurity innovations
Secure your funds with robust cybersecurity innovations
Trade over 200 CFDs and other assets like Forex, Crypto, Metals, Indices
Trade via pioneering platforms laced with insightful tools
© 2023, FXOpulence
General risk warning
CFDs are leveraged products. Trading foreign exchange on margin carries a high level of risk and may not be suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to trade foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss in excess of your initial investment. Under no circumstances shall the Company have any liability to any person or entity for any loss or damage in whole or part caused by, resulting from, or relating to any transactions related to CFDs. You should be aware of all the risks associated with foreign exchange trading and seek advice from an independent financial advisor if you have any doubts.
Disclaimer
FX OPULENCE PTY LTD is a Corporate Authorised Representative of MGF CAPITAL PTY LTD(CAR number 001302798) who holds an Australian Financial Services Licence issued by the Australian Securities and Investments Commission (ASIC), AFSL no. 421246. FX OPULENCE PTY LTD is not a product issuer of over-the-counter (OTC) derivatives and as such, it will not make a market in such products, nor transact with clients as principal. It is authorised to perform financial services in Australia, to wholesale clients only and limited to the authorisations given to it, and only for Australian residents.
© 2023, FXOpulence
General risk warning
CFDs are leveraged products. Trading foreign exchange on margin carries a high level of risk and may not be suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to trade foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss in excess of your initial investment. Under no circumstances shall the Company have any liability to any person or entity for any loss or damage in whole or part caused by, resulting from, or relating to any transactions related to CFDs. You should be aware of all the risks associated with foreign exchange trading and seek advice from an independent financial advisor if you have any doubts.
Disclaimer
FX OPULENCE PTY LTD is a Corporate Authorised Representative of MGF CAPITAL PTY LTD(CAR number 001302798) who holds an Australian Financial Services Licence issued by the Australian Securities and Investments Commission (ASIC), AFSL no. 421246. FX OPULENCE PTY LTD is not a product issuer of over-the-counter (OTC) derivatives and as such, it will not make a market in such products, nor transact with clients as principal. It is authorised to perform financial services in Australia, to wholesale clients only and limited to the authorisations given to it, and only for Australian residents.
© 2023, FXOpulence
General risk warning
CFDs are leveraged products. Trading foreign exchange on margin carries a high level of risk and may not be suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to trade foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss in excess of your initial investment. Under no circumstances shall the Company have any liability to any person or entity for any loss or damage in whole or part caused by, resulting from, or relating to any transactions related to CFDs. You should be aware of all the risks associated with foreign exchange trading and seek advice from an independent financial advisor if you have any doubts.
Disclaimer
FX OPULENCE PTY LTD is a Corporate Authorised Representative of MGF CAPITAL PTY LTD(CAR number 001302798) who holds an Australian Financial Services Licence issued by the Australian Securities and Investments Commission (ASIC), AFSL no. 421246. FX OPULENCE PTY LTD is not a product issuer of over-the-counter (OTC) derivatives and as such, it will not make a market in such products, nor transact with clients as principal. It is authorised to perform financial services in Australia, to wholesale clients only and limited to the authorisations given to it, and only for Australian residents.