Castle logo

CASTLE UI

Search

K

AppHeader is the component to use for the headers in applications.

Usage

Import

import { AppHeader } from '@passfort/castle'

Copy

It has three different sections:

  • renderLogo, which ingests a logo (SVG preferred)
  • renderEnd, which renders the end of the header, the secondary navigation normally.
  • children, which is the main content of the header, which is usually the primary navigation

Example

Copy

live example

Only navigation elements

Copy

live example

Contents