[**@fungi.computer/caps**](../README.md) --- [@fungi.computer/caps](../README.md) / components/monogram # components/monogram ## Type Aliases ### MonogramTone ```ts type MonogramTone = "primary" | "secondary" | "accent" | "info" | "success" | "warning"; ``` Theme tones a Monogram may take; the current Stipe theme supplies each color. --- ### MonogramSize ```ts type MonogramSize = "default" | "lg" | "xl"; ``` Monogram scales: `default` sits inline with text; larger sizes stand alone as an identity mark. --- ### MonogramSubject ```ts type MonogramSubject = "actor" | "app"; ``` Who the Monogram marks: people and Agents get a disc, Apps a rounded tile. --- ### MonogramProps ```ts type MonogramProps = object & Omit, "children">; ``` Props accepted by Monogram. #### Type Declaration | Name | Type | Description | | ---------- | ------------------------------------- | ---------------------------------------------------------- | | `name` | `string` | The name whose first letter is shown. | | `seed?` | `string` | Stable identity that picks the tone; defaults to the name. | | `size?` | [`MonogramSize`](#monogramsize) | - | | `subject?` | [`MonogramSubject`](#monogramsubject) | - | | `variant?` | `"initial"` \| `"specimen"` | - | ## Variables ### Monogram ```ts const Monogram: ForwardRefExoticComponent< object & Omit, "children"> & RefAttributes >; ``` A small decorative identity mark: the name's first letter on a quiet tinted disc. The enclosing control owns the accessible name. ## Functions ### monogramTone() ```ts function monogramTone(seed): MonogramTone; ``` A stable tone for an identity: the same seed always gets the same tone. #### Parameters | Parameter | Type | | --------- | -------- | | `seed` | `string` | #### Returns [`MonogramTone`](#monogramtone)