fndn/ui

Components

Page Header

Beta

The strip at the top of a screen's content: a title, a description, a back link and the actions.

Details

The strip at the top of a screen's content (not the app's top bar): a title that is a real heading, an optional description, an optional back link above it, and the actions at the end of the title's line. Nothing is cut: the title and the description wrap, and when the actions do not fit beside 10rem of text (8rem in a pane) they drop to their own line under it (on a phone). size="page" is a page's one title (20px/600); size="pane" is the one-row header of a pane above a list (13px/600, the description beside the title, a hairline under the row). Static: nothing moves but the back link's colour.