Skip to content
Mesh
7.1.0

Error Template

Error Template defines the layout and styling of an error page, but not the content.

Installation

bash
npm install @nib-components/error-template

Usage

jsx
import ErrorTemplate from '@nib-components/error-template';

Interactive demo

Skip to content
nibnib logo
[404]

[404]

It looks like the page you're looking for cannot be found.

jsx

Props

PropTypeDefaultDescription
title (required)stringThe error page title.
description (required)stringThe error page description.
showSmallHeaderMenubooleanfalseA pass-through prop to the showMenu prop in the SmallHeader component to be used in conjunction with smallLayout. By default the small header footer layout shows no menu in the header. Set to true to use the config provided by the variation.
variationstringarhiWhich version of the header/footer to use. One of arhi, nz, shareholders, international, foundation.
childrennodePlace any relevant content like buttons here. Since version 3.0.1 there is no max-width set on the element wrapping the children.