All products

Full-width layoutOfficial

A frame for BitaKit apps that gives the page the whole width: one bar, the navigation behind its menu button.

bitakit · Plugin for every BitaKit app

Type
Package
Needs a build
Kind
Plugin
BitaKit
Version
0.3.0
Latest
Works with
Any app
Every BitaKit app
Contains
1
part
Publisher
bitakit
Official

Preview

4 pictures

Full-width layout, picture 1 of 4
Full-width layout, picture 2 of 4
Full-width layout, picture 3 of 4
Full-width layout, picture 4 of 4

About

A frame for BitaKit apps that gives the page the whole width. One bar across the top holds the product mark, the header places and the toolbar; the navigation, the workspace switcher and the account menu wait behind the bar's menu button. For apps where people stay on one page for a long time: an editor, a board, a report.

The Full-width layout at a desktop width

npm install @bitakit/full-width-layout

The package is a BitaKit plugin (ID full-width) and needs @bitakit/shell. It brings one frame, full-width:default. When it is the only frame package of the app, it renders as soon as it is installed. Beside another one, choose it:

npx bitakit shell use @bitakit/full-width-layout

npx bitakit shell reset returns to Shell's own frame.

What it shows where

  • The bar: the menu button, the shell.brand slot, the header places, what the app hands to <AppShell header> and the toolbar.
  • Behind the menu button, in a drawer from the start side: the app's brand, every navigation entry and the account menu. The drawer closes when a link is followed.
  • The page, with the places around it and the footer, as in every frame.

The frame is the same at every width; on a phone the bar wraps onto more lines. Features change nothing: their navigation Actions, toolbar Actions and header widgets appear as they do in Shell's own frame. The Layout settings that describe Shell's own sidebar and navigation bar are not offered while the Full-width layout renders; content width, density, corners and themes apply as usual.

Good to know

  • Navigation takes two steps here (open the menu, then the entry). Put what people need on every page into the toolbar or a header place.
  • An app without navigation entries, brand and account gets no menu button.
  • The frame's texts are Shell's own ("Main navigation"), so it ships no catalogs.

What's inside

App frames
1

Requirements

  • shell

Permissions

It adds and checks no permissions.

Information

Publisher
bitakit · Official
Type
PackageNeeds installation: add it to the app's code and build the app.
Kind
Plugin
Works with
Every BitaKit app
Categories
Shells
Full-width layout · BitaKit Marketplace