Skip to content

Layout

Page header

The head of a page: eyebrow, title, lede and actions; hero size for a first screen.

Studio

Releases

Every release of your games, newest first.

Installation

Terminal
pnpm add @elsikora/keystone-ui-kit

Usage

Import
import { PageHeader } from "@elsikora/keystone-ui-kit";
docs/page-header/default.example.tsx
import { Button, PageHeader } from "@elsikora/keystone-ui-kit";
export default function PageHeaderDefaultExample() {  return (    <PageHeader eyebrow="Studio" title="Releases" actions={<Button>Upload a release</Button>}>      Every release of your games, newest first.    </PageHeader>  );}

Examples

Default

Studio

Releases

Every release of your games, newest first.

Hero

Engine

Six layers, one direction.

A slot is data on a mechanic.

API reference

PageHeader

PropTypeDefaultDescription
titlestring-The page's h1.
eyebrowReactNode-A short line above the title.
childrenReactNode-The lede.
actionsReactNode-The page's actions.
size"default" | "hero""default"Hero: the first screen of a site page, over the grid lines.