Gravity web includes three layout options that you can apply to any view.

1. App Layout

2. Auth Layout

3. Onboarding Layout

Layouts contain the common components to be rendered across all views that utilise that layout, for example: navigation and header.

You can use a layout by passing its name in the route object.

Last updated