Skip to content
Klarhimmel UI

Operations, daily summary

Operations, daily summary previewOperations, daily summary preview

Install

npx shadcn add @klarhimmel/app-operations-summary
DetailsAbout, usage, props and more

A daily operational count line with an explicit attention message and source provenance. No counts are inferred.

Import

Import

import Block from '@/components/klarhimmel/blocks/app-operations-summary';
Also called
  • app/operations-summary
Category
Interface sections for signed-in products. New project? Set it up once: /get-started/installation.

Notes

When to use it

Start a reception or operations screen with the counts people need before opening individual records. Use app-dashboard-stats for measured changes over time rather than a daily readiness line.

Writing for it

- Use short count labels that separate arrivals, departures and records requiring attention. The host must provide the values from one stated scope; the block never reconciles mismatched sources. - Write the sourceNote with the synchronization time and the limitation of a cached copy. Keep the attention sentence specific enough to tell the operator which check to perform next.

Watch out for

A calm layout is not proof of a healthy system. If counts cannot be confirmed, supply that uncertainty in the attention and provenance copy instead of converting missing data into zero.

Usage

The block in a page, with its default content (long lists shortened). Every prop is in the table below.

section.tsx
import { Theme } from '@/components/klarhimmel/theme/style';
import { BlockSurface } from '@/components/klarhimmel/blocks/surface';
import AppOperationsSummary from '@/components/klarhimmel/blocks/app-operations-summary';

export default function Section() {
  return (
    <Theme theme="brand">
      <BlockSurface>
        <AppOperationsSummary props={{
          "eyebrow": "Today",
          "title": "Name the overview",
          "description": "Say who the overview is for.",
          "items": [
            {
              "label": "Name a count",
              "value": "0"
            },
            {
              "label": "Name a ready count",
              "value": "0"
            },
            {
              "label": "Name an open count",
              "value": "0"
            },
            {
              "label": "Name an end count",
              "value": "0"
            }
          ],
          "attention": "Say what needs attention and what to check first.",
          "source": "Name the source",
          "sourceNote": "Say when it last synced and what changes made elsewhere may be missing."
        }} />
      </BlockSurface>
    </Theme>
  );
}

Props

The type, default and text limit of every prop. On a real page, over-limit text is kept and checkSections flags it (Installation, Check a page before you ship); this live preview shows the default until it fits. The panel above edits all props.

PropTypeDefaultDescription
eyebrowstring'Today'Text, up to 60 characters.
titlestring'Name the overview'Text, up to 120 characters.
descriptionstring'Say who the overview is for.'Text, up to 300 characters.
items{ label, value }[]4 itemsList of 1 to 5. Each item: label, value.
attentionstring'Say what needs attention and what t…'Text, up to 160 characters.
sourcestring'Name the source'Text, up to 100 characters.
sourceNotestring'Say when it last synced and what ch…'Text, up to 200 characters.
headingLevel'1' | '2'-One of '1', '2'. Optional; empty is not rendered.