What does it do?
The height of the container is calculated with the screen height, so they won't maintain the designed aspect ratio, but is useful when you want a container to be relative to the screen. (ex: container height is 100% of the screen in the design, it will appear 100% on any device screen)
How does it adjust your design to fit to any phone?
Bravo renders components considering their dimensions in reference to the specific device dimensions. In other words, it uses percentages to adapt to each screen.
If the design is not fitting the screen as intended, add a splash screen in your Figma. The splash screen acts as a "default" size for Bravo to calculate the ratio of the other app pages.
Which layer can I put it on?
A second-level container
How do I set it up in the design tool?
- Create your design on the default app page size.
- Add a container around the design.
- Paste the tag into the layer name of the 2nd-level container.
- Import to Bravo Studio & preview on Bravo Vision 🚀 (If you imported the app before, you just need to press the button Update in Bravo Studio to see the changes)
👉 Sample Figma file
Figma - Bravo Tags Cheat Sheet | Made for Bravo Studio. All of the Bravo Tags in one place! The file includes layers named with B...
Figma Community file - Made for Bravo Studio. All of the Bravo Tags in one place! The file includes layers named with Bravo Tags, containers, and other essential setup. To see how a Bravo Tag works, copy an example setup into a new Figma file, create a project in Bravo Studio, and preview with Bravo Vision.
Happy Bravorizing! 🥳