Component

LetterCensus

It transforms the actual supplied text into a first-seen ledger of unique letters and their frequencies. The bar lengths reflect the real counts, and restoring the label reverses the transformation.

Possible use

It could let a reviewer audit which letters dominate a handoff sentence, or let a presenter turn one agenda phrase into a tiny linguistic report before putting it back.

Reasonable alternative

A reasonable local alternative is the original label or a one-off utility near the content. Publishing a census machine makes an observation about a sentence feel like a reusable UI primitive.

01 / Preview

Try it yourself.

Preview Ready

02 / Usage

Put it somewhere.

example.tsxTSX
import { LetterCensus } from "gra-ui";
import "gra-ui/styles.css";

export function AuditedLabel() {
  return <LetterCensus label="Ready for another review" />;
}

03 / API

Small surface area.

PropTypeDescription
labelstringThe text converted into a visible frequency ledger.