Krizaka
Documentation

Contact page

Reaching the team: the public channels as cards beside the form, then what happens after sending.

WebBetaTemplates

Web only — React, from @krizaka/ui/contact-page. Beta: its API may still change in a minor version.

When to use

  • Contact, support, a request for a demo.
  • Any page whose action is a message.

When not to use

Installation

Install

npm install @krizaka/ui @krizaka/tailwind @krizaka/tokens tailwindcss

Styles

@import "tailwindcss";
@import "@krizaka/tailwind";
@import "@krizaka/ui/tailwind.css";

Import

import { ContactPage } from "@krizaka/ui/contact-page";

Examples

Talk to the team

Channels, the form and what happens next.

Contact

Talk to the people who build it

A person answers within two working days, in English or in French.

What happens next

  1. We read itThe same day, on working days.
  2. We answerWithin two working days.

Props

A contact page: hero, the channels beside the form, then what happens next.

PropTypeDefaultDescription
channelsrequiredReactNode—The ways to reach us: LinkCards (discussions, issues, email).
formrequiredReactNode—The form (fields, the cut primary action).
titlerequiredReactNode—The page's h1.
asideReactNode—Beside the hero: the bird that answers (the flamingo).
eyebrowReactNode—A mono line above the title.
leadReactNode—One or two sentences: who answers, how fast.
linkAsLinkComponent—The app's link component (Next's Link).
next{ title: ReactNode; steps: readonly { title: ReactNode; text: ReactNode; }[]; }—What happens after sending: steps with a title and a sentence.

Accessibility

  • The form is yours: label every field, say errors in words.
  • What happens next is an ordered list.

Best practices

  • Say who answers and how fast.
  • The form in its own panel, its primary action cut.
  • Words and content arrive as props; the motion is the platform's ([data-reveal], still under reduced motion).

Generated from the code of @krizaka/ui 2.10.0: its meta.ts, its examples and its types.Edit this documentation on GitHub

On this page