🏷️

Layer (sticky element)

What does it do?

A container that fixes its position on-screen and does not scroll with the rest of the screen.

image

The Tag

[layer]

Which layer can I put it on?

A second-level container

How do I set it up in the design tool?

  1. Create your layer element design.
  2. image

  3. Wrap it in a container. Unlike normal containers, layer elements don't need to be the full width of the screen.
  4. 💡

    Make sure it's not inside another container. It should be a 2nd-level layer.

    image

  5. Paste the tag into the layer name of this container.
  6. image

  7. Place it in the desired position where you want it to stay fixed in the "default screen area." The default screen area is one app page at 100%. If you have a splash screen in your design file, Bravo will use it as the default screen size.
  8. If you place the layer element outside of this area (for example on a long page), it will not appear.

    For ex: I want the blue button to stick at the bottom of the screen, but instead of placing it at the bottom of my actual design, I place it near where the device screen would cut off.
    For ex: I want the blue button to stick at the bottom of the screen, but instead of placing it at the bottom of my actual design, I place it near where the device screen would cut off.

  9. Make sure the layer is not inside another container. It should be its own 2nd-level frame.
  10. image
  11. Import to Bravo & preview on Bravo Vision 🚀

💾 Resources

👉 Sample Figma file

👉 Sample Adobe XD file