Glossary of @olddevs/ui
Kit terms. One concept, one word: a synonym from a neighboring system (plugin, service, node, library) introduces a second meaning, and the two drift apart silently. If a word has two meanings, both get compound names ("palette primitive", "overlay layer"), and the bare word stays with one of them.
A concept that came from the industry is called by the word of its origin: the Tiptap engine, WAI-ARIA, React Aria, Radix, Material 3, Storybook, Node.js. The English term is taken from there, and the Russian one is translated from the English, not the other way around: translating back from Russian returns a different word, and the reader cannot find the concept by searching. The kit coins its own name only for a concept that the industry has no name for.
Every table has two columns for this rule. "Source" is where the English word comes from: the origin, "common" (an ordinary industry word with no single owner) or "own" (the kit's name). "Also searched as" lists the words other systems use for the same concept: they help a search find the row, and they are not used in prose.
A public name (a prop, a function, a type) comes from the English term. Renaming follows semver
(the "Versions" section of the kit's AGENTS.md): the new name arrives as an alias in a minor
version, and the old one is marked @deprecated and removed in the next major version.
Origins: Tiptap, ProseMirror, WAI-ARIA APG, React Aria, Radix, M3, DTCG (the W3C token format), Storybook, Chromatic, Node.js, MDN, BlockNote, Carbon, MUI, Polaris, Apple HIG, CKEditor, Astro, text-mask, Ben Kamens (menu aim).
General terms are written in prose as ordinary words, lowercase: "consumer", "role", "showcase". Editor terms are capitalized ("Block", "Toolbar"): they are easy to confuse with an everyday word, and the capital letter shows that the word means exactly what the table says.
A new term enters this glossary in the same change in which it appears. The glossary lives in the package, not in the documentation repository, because it changes together with the code; the documentation site shows it from the pinned kit version.
Prop names are a separate vocabulary: semantic prop vocabulary.
Conversation presentation
| Term | Meaning | Source | Also searched as |
|---|---|---|---|
| Conversation | Consumer-owned ordered history that can continue across voice sessions. | common | thread |
| Voice session | A period of voice interaction within a conversation; ending it does not delete the conversation. | common | voice call |
| Draft | Controlled editable text before the consumer accepts submission. | common | composer value |
Speaker (speaker) | The presentation role of a message: user or assistant; independent of the displayed author. | own | message role |
Group position (groupPosition) | Consumer-computed single/first/middle/last position in an adjacent same-author group with valid nonnegative gaps of at most five minutes. Controls bubble corners/tail, not history. | own | bubble group, continuation |
Input method (inputMethod) | Whether presented text came from typing or voice. It does not connect media. | common | origin |
Message state (state) | Complete, streaming, provisional or interrupted presentation, supplied by the consumer. | own | message status |
| Interim transcript | Temporary recognized speech that the consumer replaces with one canonical message. | common | partial transcript |
| Following | Viewport behavior that keeps the latest growing content visible until manual reading pauses it. | own | autoscroll |
Markdown presentation
| Term | Meaning | Source | Also searched as |
|---|---|---|---|
| Semantic code | Plain code string parsed from a Markdown block, without fences or the presentation newline; copying uses it independently of highlighted nodes. | own | raw code, copy source |
| Streaming Markdown | The latest accumulated Markdown string of a growing answer; unfinished syntax can remain literal. | common | partial Markdown |
Kit and consumer
| Term | Meaning | Not to be confused with | Source | Also searched as |
|---|---|---|---|---|
| kit | The @olddevs/ui design system: tokens, themes, accessible components and their documentation | The package: that is how the kit is delivered. A library: the kit is not called that, the word is taken by third-party dependencies (react-aria, Radix, Tiptap) | common | UI kit, design system, component library |
| package | The @olddevs/ui npm artifact with entry points and styles.css; published to npm | The kit: one kit has one package, but the kit is also its decisions, the showcase and the design mockup | npm | — |
| entry point | An import path that the package declares in exports: @olddevs/ui, /icons, /color, /markdown, /editor, /editor/schema, /editor/highlight, /locales/ru, /locales/en. Anything that is not an entry point is not public API | A path in src/: it can change in any version | Node.js | subpath export |
| public contract | The exports of the entry points, their types, the documented behavior and styles.css | The sources: they prove behavior, but cannot be imported | semver | public API |
| consumer | An application that installs the package and builds its screens from the kit | A user: they work with a screen, not with the API | common | library user |
| peer dependency | A third-party library the consumer installs next to the package: the application must have exactly one copy of it and picks its version. For the kit this is only React (ADR-0072); the package brings every other library itself | An external dependency: that is what the size measurement calls everything it leaves out of the number, the package's own dependencies included | npm | peer dep |
| screen | A page or form of the consumer's application. Domain texts, requests, status vocabularies and the screen layout belong to it, not to the kit | A kit component | own | page, view |
| requesting screen | A consumer screen that needs the component now. A component without one is not taken on, except where ADR-0048 allows it | The consumer: that is the whole application, while the requesting screen is one of its screens | own | — |
| primitive | A kit component that other components and consumer screens are built from: Toolbar is the primitive of the Editor's Toolbar. Not replaced by hand-written markup | A palette primitive: a color token of layer 1 | Radix | building block |
| component family | Components with one purpose and shared exports (MobileTabBar and MobileTabBarItem), described on one Reference page | A color scale: a row of palette primitives of one hue | own | compound component |
| category | A section of the Reference and a source folder: actions, app-shell, content, date-time, inputs, navigation, overlays, table. A component lives in the same category in docs/components/ and in src/components/ | A component family: a category groups several families | own | — |
| core | Components that require the full set of checks: behavioral tests, class coverage, axe, snapshots (ADR-0014) | The periphery | own | — |
| periphery | Wrappers over the ready-made behavior of react-aria-components: a reduced set of checks is enough for them | The core | own | — |
| message catalog | The kit's interface strings that UiProvider passes to components: the ready-made catalogs are the locales/ru and locales/en entry points; without the provider, an English fallback in code applies. A component prop overrides a string individually (i18n.md) | The component catalog. Screen texts: the kit does not translate them | common | locale messages, translations |
| component catalog | An index of all public components by category — components/index.md | The message catalog | own | component index |
Documentation and checks
| Term | Meaning | Not to be confused with | Source | Also searched as |
|---|---|---|---|---|
| the Reference | Markdown in the package's docs/: component, API and convention pages — the source of truth about the public contract. Ships in the package and is shown on the site as is | The wiki: it retells the Reference for people and is wrong when they disagree. ADRs: they explain why a decision was made | common | API reference |
| showcase | The kit's Storybook: stories, snapshots and accessibility checks; published to GitHub Pages | The documentation site: the showcase is a workshop, not text for a reader. The flyout of a mega menu | Storybook | Storybook, workshop |
| snapshot | A reference image of a showcase story in tests-visual/; taken and compared only locally (ADR-0013) | A screenshot for documentation: it checks nothing | Chromatic | visual regression test |
| gate | One automatic check that fails the run: the contrast gate (npm run contrast), the i18n gate, format:check | The release checklist: a gate is one check from its list | common | quality gate, required check |
| release checklist | The full list of checks before a merge and a release — the "Checks" section of AGENTS.md. Run locally: CI does not check pushes | A GitHub Actions workflow: it publishes the showcase and the package, but checks nothing | own | — |
| mirror | The Figma file Olddevs UI DS: mirrors the kit but is not the source of truth; when they differ, Figma is changed (ADR-0015) | A mockup that code is written from: the only exception is a component that does not exist in code yet | own | Figma library |
| wave | A set of changes that was planned and released together; ADRs and comments refer to the wave number | A package version: the wave number is unrelated to the release number | own | milestone |
Tokens and themes
| Term | Meaning | Not to be confused with | Source | Also searched as |
|---|---|---|---|---|
| token layer | One of the four steps of the color chain: palette primitives → roles → component tokens → brand. A lower layer knows nothing about a higher one (theming.md) | An overlay layer: a z-index step | DTCG | token tier |
| palette primitive | A layer 1 token --od-<family>-<step>: a color as a value, with no role and no theme. The consumer does not override it | A primitive: a kit component | DTCG | primitive token, base token |
| color scale | A row of palette primitives of one hue: the neutrals slate, cloud, navy and seven hue scales. Within a scale the step number increases with lightness; 1 is the darkest | A component family | Radix | color family, color ramp |
| role | A layer 2 token: what is painted with what — --surface-*, --text-*, --accent*, tones. A theme changes only roles | A Tailwind class: it is built on a role, not the other way round | M3 | color role, semantic token |
| component token | A layer 3 token — how one component family differs from the shared role (--overlay-scrim, --topbar-bg). The list is closed | A role | DTCG | — |
| theme | A set of role values on <html data-theme>: dark (default), light, dim | An accent: it is an independent axis. The Editor's Paper | common | color scheme, appearance (Radix) |
| accent | The color of action and highlight on <html data-accent>: blue (default), violet | The accent tone: it takes the accent's value, but it is a component axis | Radix | accent color |
| brand | Layer 4: a brand block [data-brand] on top of roles and component tokens — the consumer's own palette as a single CSS block | A theme: a brand works in any theme | own | — |
| surface | A background role: --surface-app, --surface-panel, --surface-elevated and the related roles; in components, the aliases --bg-0…4 | The Editor's surface prop: it chooses the Paper | M3 | — |
| inverse surface | A group of roles for a pill placed directly on a Document that differs from it by polarity, not by a single step: light in dark and dim, dark in light (--surface-inverse, --text-on-inverse) | The --surface-contrast surface: it is a step of the same theme | M3 | — |
| tone | A semantic color from the Tone vocabulary: neutral, accent, success, warning, danger. A tone has two roles: --<tone> is the fill under text, --<tone>-strong is text and border on a background | A variant (variant): it controls how prominent the tone is | Polaris | status color, intent |
| density | The default vertical rhythm of tables through UiProvider: comfortable or compact; a table prop overrides it | A size (size): it is the axis of one component | MUI | compact mode |
| radius | The corner-shape preset on <html data-radius>: none, small, medium (default), large. Works on any element, so a subtree can have its own. Every step of the radius scale (rounded-2xs … rounded-xl, rounded-control) and the pill (rounded-pill) follow the preset: the pill is full in medium and large, a plain corner in small, square in none. Circles (rounded-full) stay circles in any preset (theming.md) | A theme: radius is shape, a theme is color; the axes are independent | Radix | border radius, roundness, corner |
| motion scale | Closed duration steps (--duration-fast … --duration-slow) and three curves (--ease-standard, -enter, -exit). Names by role, not by value (ADR-0047) | A step of a color scale | M3 | motion tokens, duration, easing |
Prop axes
| Term | Meaning | Not to be confused with | Source | Also searched as |
|---|---|---|---|---|
| axis | An independent prop with a closed set of values shared across the whole kit: size, tone, variant. An axis is turned on by an explicit prop | A state (selected, disabled, loading): it is boolean and named positively | own | — |
| variant | The variant axis: how prominent the tone is — solid, soft, outline, ghost, one set across the kit | The appearance (appearance) | Radix | — |
| appearance | The appearance prop, outside the axes: a different form of the same component — appearance="card" adds a border, an indicator and a description inside the label | The variant: it changes how prominent the tone is, not the form | own | — |
The meaning of each axis and the props outside the axes (appearance, active, level) are in the
semantic prop vocabulary.
Interaction
The words pages use to describe how a component is operated with a mouse, a finger and the keyboard.
| Term | Meaning | Not to be confused with | Source | Also searched as |
|---|---|---|---|---|
| hit area | The area that accepts a press; it can be larger than the visible control. The lower bound is WCAG 2.5.8, 24 × 24 px | Size (size): it changes the look, while the hit area can stay the same | common | touch target, target size |
| drag handle | A separate button on a row that moves the row with a mouse, a finger or the keyboard: SortableList, EditableList | The Editor's Block handle and the resize handle | common | grip |
| resize handle | The strip along the bottom edge of a field with resizable that changes its height; from the keyboard it works like a slider | The drag handle | common | — |
| mask guide | The mask that an empty MaskedInput shows in full (__.__.____) and that input replaces character by character. Decorative: aria-hidden | The Editor's Skeleton: the look of the field before Readiness | text-mask | mask placeholder |
| item | One entry of items in a collection component: a menu item, a list row, a tree node | A DOM element: write "element" only for markup | React Aria | — |
| disabled | The disabled state: the action cannot be performed now, the control is dimmed and presses do nothing | Read-only (readOnly): the value is visible and can be copied, but not changed | MDN | — |
| filtered rows | The records left after the filters; the consumer computes it | The selection | common | result set, filtered results |
| selection | The records the user has checked (selectedKeys) | The filtered rows: a filter narrows the filtered rows, the selection is what is checked inside it | React Aria | — |
Layers on top
| Term | Meaning | Not to be confused with | Source | Also searched as |
|---|---|---|---|---|
| overlay | A kit element on top of the page: dialog, drawer, menu, popover, tooltip, suggestion list | A portal: an overlay can also sit in the owner's DOM, like the Editor's floating Toolbar | common | — |
| overlay layer | A named z-index step from OVERLAY_LAYER: modal — scrim and dialog, alert — a confirmation above a dialog, popover — menus, popovers, lists. Do not write z-index numbers outside this scale (ADR-0041) | A token layer | own | z-index scale |
| Escape stack | The stack of open kit overlays (src/lib/overlay-layer.ts), shared by Radix and react-aria overlays: only the top one handles Escape, nested ones close one at a time | An overlay layer: the top of the stack is determined by position in the document, not by z-index | own | dismissable layer (Radix) |
Components in prose
How a component is named in prose. Do not use the words listed after "Do not write:": readers search for a single word.
| Term | Meaning | Not to be confused with | Source | Also searched as |
|---|---|---|---|---|
| dialog | Dialog: a modal surface with a scrim | A drawer. A browser window, which is simply called a "browser window". Do not write: "a modal" as a noun ("modal dialog" is fine) | WAI-ARIA | modal |
| drawer | Drawer: a modal panel that slides in from an edge | A dialog. Do not write: sheet, slide-out panel | MUI | sheet, side panel |
| popover | Popover: a non-modal panel next to the button that opened it | A tooltip: it has no interactivity. Do not write: popup | Radix | — |
| tooltip | Tooltip: short text on hover and focus | A popover | WAI-ARIA | — |
| hint | hint on FormField and neighboring fields: text under the field that helps to fill it in | A tooltip and a placeholder | common | helper text, description |
| placeholder | placeholder: an example value shown in an empty field that disappears on input | A hint and a tooltip | MDN | — |
| toast | A global notification toast() in Toaster | The Editor's Field notice: it is tied to a field | React Aria | snackbar |
| checkbox | Checkbox: a yes/no choice within a set | The Toggle switch (role="switch"): one boolean property, not a choice within a set | WAI-ARIA | — |
| table toolbar | The toolbar slot of DataTable, usually TableToolbar | The Editor's Toolbar and the Toolbar primitive. Do not write a bare toolbar | Carbon | table bar, batch actions bar |
| menu button | The button that opens a menu: the right part of SplitButton, the Menu button | A popover: that is the panel that opened. Do not write: disclosure | WAI-ARIA | menu trigger |
| segmented control | Segmented: a row of buttons of which exactly one is selected | Tabs (they switch panels) and ToggleGroup (zero or more selected) | Apple HIG | segmented button, toggle group |
| tag | Tag in TagGroup and TagInput: a compact element with text and an optional remove button | The Editor's Mark and a field label. A chip: that one is toggled, not removed | React Aria | removable chip |
| chip | Chip: a compact filter button that is switched on and off (selected, aria-pressed), with an optional count | A tag: a tag is removed, while a chip is toggled. A segmented control: that one picks one option out of several | M3 | filter chip, toggle button |
| close button | The button with an "×" that closes a dialog, drawer, popover or notification; in a search field it is the clear button | A "Cancel" button. Do not write: cross | WAI-ARIA | — |
| keyboard shortcuts dialog | ShortcutsHelp: a dialog with a list of keyboard shortcuts | The Editor's Keyboard shortcuts popover: that one opens from the Toolbar and describes the Editor's shortcuts | common | shortcut list, cheat sheet |
| mega menu | MegaMenu: a category column and the flyout of the hovered category, an Amazon-style catalog | Menu: that one is for commands, not navigation. Do not write: mega dropdown | common | — |
| category | MegaMenuCategory: a row of the category column with a label, an icon and its own flyout | A menu item (MenuItem) | own | department |
| category column | The vertical list of categories in a mega menu | SideNav: that one expands branches in place | own | — |
| flyout | The area next to the category column with the open category's content: link columns, promos. Before 4.3.0 it was called the showcase; the width prop is still showcaseWidth | The showcase: that is the kit's Storybook. The Editor toolbar, a popover | common | — |
| menu aim | Deferring the category switch while the pointer cuts diagonally toward the open flyout | An opening delay: menu aim never slows down a direct hover | Ben Kamens | aim, safe triangle |
Editor
Terms of RichTextEditor and RichTextView (the @olddevs/ui/editor entry point). Here it is
especially easy to borrow a word from a neighboring editor (plugin, service, node) — and that
introduces a second meaning.
| Term | Meaning | Not to be confused with | Source | Also searched as |
|---|---|---|---|---|
| Editor | RichTextEditor — a rich text input field | A code editor: the kit has none, code is displayed with CodeView | Tiptap | rich text editor, WYSIWYG |
| View | RichTextView — read-only display of a saved Document | The Editor's readOnly mode: that one carries the engine, the View does not | own | renderer |
| Table of contents | RichTextToc: the list of a Document's headings next to the View or the Editor. Collapsed, it is a strip of strokes; expanded, a list; a click on an item goes to the heading | The kit's Heading and the navigation of the documentation site | common | TOC, outline |
| Document | The Editor's value: an HTML string constrained by the Schema | The ProseMirror JSON tree in the engine — it is internal; it comes out only as a JSON envelope | ProseMirror | doc, content |
| JSON envelope | A Document as JSON for a file and a template: { format: "olddevs-rich-text", version, doc } (getJSON(), setJSON(), defaultValue), lossless and through the Schema | The Editor's value — the value stays HTML; the bare tree editor.getJSON() without an envelope | own | getJSON |
| Schema | An allowlist of Blocks, Marks and attributes that the Editor accepts and returns | Server-side sanitization — the consumer does it (sanitizeRichText) | ProseMirror | allowlist |
| Block | A structural element of a Document: paragraph, heading, list, table, image… | A Mark | ProseMirror | block node |
| Mark | Inline formatting inside a Block: bold, link, color… | A Block | ProseMirror | — |
| Atom | A Block or inline element that is selected, moved and deleted as a whole: an image (the caption inside it is editable), a horizontal rule, a hard break, a mention. Always makes the field non-empty | An empty Block: a paragraph without text is not an Atom and does not count as content | ProseMirror | atom node |
| Atom text | The string that represents an Atom in the Document's text: getText and getSelectedText return it, its length counts toward maxLength, and it is how the Atom is exported to Markdown without rules of its own. For an image it is the caption text, for a horizontal rule an empty string | A Block attribute | Tiptap | renderText, leafText |
| Column layout | A Block of columns (the layout Tool): six variants — from one to four equal columns, 60/40 and 40/60. Top level only, does not nest into itself; a column for its Blocks is the same as a Document | A table: it has data rows and cells, while the columns of a Column layout are the Document's page structure. The kit's Grid: a screen grid, not a Block | BlockNote | columns, layout |
| Wrapper | A Block that gathers a group of Blocks (the wrapper Tool, a div with data-block="wrapper"): they are moved, duplicated and deleted as one Block. Without a Callout tone it has no look of its own — the dashed outline exists only in the Editor. Neither a Wrapper nor a Column layout nests into a Wrapper | A quote: it has its own look and meaning in the Document, while a Wrapper without a tone is only grouping | own | container, group |
| Callout tone | The styling of a Wrapper as a note (data-tone): a background and a stripe on the left in one of five tones of the Tone vocabulary — "Note", "Tip", "Important", "Warning", "Caution". Chosen in the "Tone ›" item of the Block handle, the same in the Editor and the View, exported to Markdown as a GitHub alert (what GitHub and Notion call a callout) | The tone of a Field notice (status or error). Meaning: the tone carries no roles or aria-*; the meaning of a note is written as a word in the text | GitHub | callout, alert, admonition |
| Details | A Block made of a title and content that the reader opens and closes (the details Tool, the Details extension from Tiptap; the details and summary tags). The content is Blocks; there are no Column layouts or Wrappers in it. Only the persist option writes the open state into the Document. The Slash menu item is labeled "Collapsible block" | A Wrapper: it groups Blocks and hides nothing. The kit's Accordion: that is a screen component, not a Block of the Document | Tiptap | collapsible block, toggle block, accordion |
| Horizontal rule | A Block that is a line between parts of a Document (the horizontalRule Tool, the hr tag). An Atom: selected and deleted as a whole. The menu item is labeled "Divider" | The kit's Separator: it separates parts of a screen, not of a Document | Tiptap | divider, hr, horizontal line |
| Task list | A list whose items each have a checkbox (the taskList Tool, the TaskList extension from Tiptap; ul[data-type=taskList]). The menu item is labeled "Checklist" | A plain list: its items have no checkboxes | Tiptap | checklist, todo list |
| Formula | A LaTeX formula in the Document (the mathematics Tool): inline is a span, block a div, with data-type and the source in data-latex. KaTeX draws it: a node view in the Editor, an Island in RichTextView. Edited in a Popover; in Markdown $…$ and $$…$$ | A math character in the text: a formula is an Atom, not Unicode. A picture: it has a source and MathML for the screen reader | Tiptap | math, equation, LaTeX |
| Date mention | A date inside a line of text (the date Tool): an inline Atom, the time[datetime] element, chosen in the Calendar, with an optional time. The value is YYYY-MM-DD or YYYY-MM-DDTHH:MM±HH:MM (the author's offset, only with a time); the text is written in the author's locale on insert or edit. Slash menu "Date"; in Markdown, only its text remains | A mention in the plain sense: an Atom of the consumer's Tool, opened by a Trigger character (@). A Date mention is built in and has no Trigger character. A date typed as text: it never turns into a mention by itself | Notion | date chip, Date (Plate) |
| Footnote | The text of a note at the foot of a Document: one paragraph with Marks and links, an item of the Footnote list (the footnotes Tool, a list item li with the key in id). It exists while its Footnote reference does: deleting the reference deletes the footnote in the same edit. Markdown is a GFM definition [^1]: text. The Slash menu and "…" item is labeled "Footnote" | A Wrapper with a Callout tone: that is a note Block in the middle of the text. The Word and Google Docs footnote, where the text lives inside the reference and the list is only drawn | Plate, GFM | endnote, note |
| Footnote reference | The number in the text that links to its Footnote (the footnotes Tool, sup[data-footnote-ref] with an anchor inside): an inline Atom, numbered by the order of the references in the text and renumbered after every edit. Its Atom text is the number in square brackets ([1]). A click or Enter on it goes to the Footnote | The superscript Mark: that is formatting, and this is a link with a key | GFM | footnote mark, noteref |
| Footnote list | The last Block of a Document, holding the Footnotes (the footnotes Tool, section[data-block="footnotes"] with an ol). The kit keeps it: one list, always at the end, in the order of the references, and absent when there are no Footnotes. It is not a Block unit: no Block handle, no Block selection, and no Slash menu inside it. A short rule above it, small text, no visible heading; its name is in the HTML (aria-label) | A numbered list (orderedList): that is the author's Block, and this one is kept by the kit | GFM | notes list, endnotes |
| Typography | Replacements while typing (the typography Tool, the Typography extension from Tiptap): " becomes a quotation mark of the message catalog language (guillemets for ru, curly quotes for en), -- a dash. Input rules only: value gets plain characters, and Backspace undoes a replacement | The styling of the Document's text (prose): that sets the look, while the Tool changes the characters being typed | Tiptap | typography, smart quotes |
| Paste cleanup | The pasteCleanup Tool: before the Schema reads a paste from Word, Excel, Google Docs, Google Sheets or SharePoint, it turns that HTML into markup the Schema understands (Word lists into lists, a background into the nearest marker, Excel cell classes into cell formatting). HTML from other sources is not touched | Parsing a paste through the Schema: that cuts off what the Schema does not know, while the cleanup keeps the meaning before the cut. A Paste rule: that turns matched text into a node or a Mark | own | Paste from Office, paste handler |
| Text part language | A Mark that sets the language of a piece of text, <span lang="en"> (the language Tool, WCAG 3.1.2 Language of Parts): a screen reader, spell checking and hyphenation use it. Any BCP 47 tag passes the Schema; the "Language ›" submenu offers the languages option. The page's own language is never a mark | A language of a Block (there is none), or the interface locale, which only picks the catalog's words | CKEditor | Language of Parts, lang |
| Image alignment | Where an image sits among the text: left, centre or right (the image Tool, figure[data-align]). Left and right put it at the edge and the text of the next Blocks wraps around it; the centre, the default, is a line of its own. Only for an image narrower than its container, and only from 30 rem of Document width. Part of the image Tool, with no Tool or Option of its own | Block alignment of text (the align Tool): there left is the default and is never written; for an image left means wrapping and is written | CKEditor | image style, text wrapping, float |
| Video by link | The video Block (the youtube and twitch Tools, modelled on the Tiptap Youtube and Twitch extensions): the Document holds a link to a video, and the kit draws the player at display time: at once; with autoload: false a Play placeholder, no request until a click. There is never an iframe in the Document | The player node of the Tiptap extensions: that one stores an iframe with the player URL, while the kit stores only the link to the video | Tiptap | youtube, twitch, embed |
| Toolbar | A set of formatting buttons; its look is set by toolbar. Fixed (fixed, the default) — above the field, sticks on scroll; floating (floating) — the same buttons above a non-empty selection. With bubble there is no Toolbar — the Bubble menu takes its place, with none there is neither. On a touch screen the Toolbar is always fixed | The kit's Toolbar — the primitive that the Toolbar is built from | common | formatting toolbar, fixed menu |
| Slash menu | The "Insert" and "Turn into" list: opens on / in the text and on the "+" button | The browser context menu | BlockNote | insert menu, slash command |
| Bubble menu | A compact pill on an inverse surface above a non-empty selection: "¶", lists, bold, italic, underline, color, "…", link, emoji; its contents are fixed by the kit. Appears in place of the Toolbar with toolbar="bubble" and on top of the fixed Toolbar — there selectionMenu={false} turns it off. Absent on a touch screen | The floating Toolbar: it has the full set of buttons | Tiptap | selection menu, BubbleMenu |
| Block handle | The "⋮" on the Block that holds the caret, and its menu of actions on the whole Block: "Add ›", "Format ›", "Move up", "Move down", "Duplicate", "Delete" | The Toolbar: it works with the selection, not with a Block. The grip that moves a Block: Tiptap and BlockNote call it a drag handle, while ours opens a menu | BlockNote | side menu |
| Insert item | A row of the Slash menu: inserts a Block or turns the current one into another. One item is visible on /, on "+" and in the Block handle | A Toolbar button | BlockNote | suggestion item |
| Block action | An item of the Block handle menu that works with the whole Block, for example "Duplicate" | A button: it works with the selection | own | block menu |
| Block selection | Blocks selected whole (a row of one container, or a set of rows from different places), with no caret in the text: the Blocks are highlighted, and the keys and the clipboard act on them. Entered with Esc in the text, Shift+↑/↓ or Shift+click; Cmd/Ctrl+click adds Blocks from different places to a set. The unit is the Block of its container (in a list, the item). The blockSelection Tool, state { count } | A text selection (a caret or a range in the text) and the selection of an Atom (an image, a formula). Cell selection in a table | Notion | NodeRange (Tiptap), multi-block selection |
| Fullscreen mode | The Editor field expanded over the whole window as a layer of the kit, above the page and a Dialog; the same engine and history. The Document is a 60rem column, or the whole window with Full width. The fullscreen Tool, state { open, fullWidth } | The browser's Fullscreen API (the kit does not use it) | CKEditor 5 | Fullscreen API, expand |
| Full width | In Fullscreen mode, the Document spread across the whole window with side margins, instead of the 60rem column; a view preference that outlives collapsing. The fullscreen Tool, option and state fullWidth | The field's width on the page (the page sets it) | Notion | wide mode, full-width layout |
| Focus mode | A view that shows everything outside the Block with the caret faint (40% opacity); display only. The unit is the Block of Block selection. The focus Tool, state { enabled } | Typewriter mode (the kit has none) and Block selection | iA Writer | Focus (Tiptap), dim |
| Keyboard shortcuts popover | A read-only "command — shortcut" popover behind the last button of the fixed Toolbar. The rows are the commands of the enabled Tools, including custom ones; on a phone there is no button | The kit's CommandPalette: the rows of the Keyboard shortcuts popover are not clickable. The kit's ShortcutsHelp: it lists screen shortcuts, not Editor ones | common | shortcuts reference, cheat sheet |
| Source mode | The source Tool opens the Document as HTML or Markdown on the fixed Toolbar. The Schema parses the source into the Document in one edit on exit, blur, form submission and reads through the Handle | The HTML convention: that is the form of custom content in a Document, not a mode. CodeView: it displays code, while the Source field is editable | CKEditor | HTML mode, source editing |
| Glass | A semi-transparent background that blurs what is behind it on everything the Editor shows above the Document: the floating Toolbar, the Bubble menu, menus, popovers, the Text card. The color is the token of its own surface; with prefers-reduced-transparency, prefers-contrast: more and on iOS the background is solid | The kit's Menu and Popover outside the Editor: they stay solid | common | glassmorphism, frosted glass |
| UI contribution | A UI element of a custom Tool, described as data: a button, an Insert item, a Block action or a Text card. The kit renders it in a Slot; a disabled Tool removes its UI contributions as well | A React node in the interface: arbitrary React is allowed only inside the content of a button popover and a Text card | own | — |
| Slot | One place on a surface where the UI contributions of custom Tools appear, in tools order: the Toolbar group before "Undo", the end of a Slash menu section, the Block handle section before "Delete" | A position relative to a built-in button: the ids of built-ins are not public API | own | — |
| Preset | A ready-made set of built-in Tools: full or basic (RICH_TEXT_PRESETS). Not a frozen list: a new built-in arrives in it in a minor version | An exact tools list: only the screen changes its composition | Tiptap | StarterKit |
| Tool | One capability of the Editor: its Blocks and Marks, their rules in the Schema and their place in the UI, for example table. A built-in one is set by name, a custom one by a description | A button: disabling a Tool also removes its Block from the Schema. A Redactor plugin: that is a class of behavior over the DOM without a Schema | own | extension, plugin |
| custom Tool | A Tool that the consumer describes (CustomTool): Schema rules as data, Extensions and UI contributions. It is passed in tools mixed in with the kit's names | The kit's internal description: that is a superset of the public shape for built-ins and is not exported | own | custom extension |
| Tool options | What the screen sets on a Tool before the engine is created: the starting flags of Find, offsetVar, levels and listWidth of the Table of contents, the defaults of a custom Tool (defineTool). The screen sets them with a tool(…) entry and the kit reads them once, when the engine is created | options of a Tiptap extension: the extension's author sets those and the extension itself reads them, while Tool options are set by the screen and read by the kit. The Editor's props (preset, maxHeight): those configure the field, not a Tool | Tiptap | options, configure |
| Configured Tool | An entry of tools returned by tool(name, options) or tool(definition, options): a Tool together with its options. It switches a Tool on without the name in tools and wins over a bare name from a Preset | A defineTool definition: that describes a Tool, while a Configured Tool is its activation with options. The description of a built-in Tool: it is not exported, and the entry only names the Tool and carries the options | Tiptap | configure |
| Tool state | A data snapshot the screen reads with the useRichTextToolState(ref, name) hook: for Find, whether the panel is open, the query, the number of matches and the current one; for the Table of contents, the headings and the current section. The screen re-renders only when the snapshot changes | storage of a Tiptap extension: that is a mutable store inside the engine, while Tool state is read-only. useRichTextEditorState: that takes a slice of the live Tiptap editor, not a Tool's contract | Tiptap | storage |
| Tool commands | What the screen calls on a Tool through handle.tool(name): tool("search")?.open(), tool("toc")?.jumpTo(2). Each returns a boolean; null instead of the commands object means the Tool is not in the set, has no commands, or the engine has not been created yet | Handle methods (insertHTML, focus): those are common to any tools, while Tool commands exist only while the Tool is enabled. editor.commands and commands in Tiptap: those are engine commands and follow its major | Tiptap | commands |
| Consumer prefix | The start of the name of everything custom — a Tool, its Blocks, Marks and attributes — up to the underscore: acme_mergeTag, data-acme_size. Kit names have no underscore, so custom names and built-in ones never collide, either in a set or in a Document | A Preset: that is a set of built-in Tools, not a namespace | own | namespace |
| HTML convention | The form of custom content in a Document: a Block is a div or span with data-block, a Mark is a span with data-mark, attributes are data-<prefix>_<name>. Frozen: extended only by adding | The kit's Schema tags (p, table, img): a custom Block cannot take them | own | parseHTML, renderHTML |
| Block trait | A Block property that only the kit understands, not the engine: "container" (children get their own handle), "can be turned into", "Atom without a formatting menu" | A Block attribute: that one is stored in the Document | own | NodeSpec |
| Extensions | The Tiptap extensions in a Tool description (the engine field): Node, Mark, Extension, ProseMirror plugins and NodeView. Supplied directly or through a Loader | Schema rules: those are data, read by the server and the View without an engine. "Engine part": the former name (ADR-0058 uses it) | Tiptap | extensions |
| Loader | A function with a dynamic import in place of the Extensions themselves: engine: () => import(…). The heavy built-ins outside basic load the same way — the code Block, the table and the footnotes | Preloading (modulepreload): the kit does not publish it, the consumer sets it up | own | lazy loading, dynamic import |
| Handle | Imperative access from screen code to the Editor through ref: insert at the caret, read, focus, history, the commands of Tools (tool(name)) | Redactor services: those are engine internals, not screen API | React | imperative handle, ref |
| Readiness | The moment when the engine is created and the Loaders of all enabled Tools, custom and built-in, have finished: from then on Handle methods take effect instead of doing nothing. Happens once per mount; onReady reports it | Hydration: after it the engine may still be waiting for Loaders | own | onCreate |
| Field focus | Focus inside the Editor as a whole: the Document, the Toolbar, the kit's popovers, the Source field. Moving between them does not lose Field focus; onFocus and onBlur are about it | Document focus (the engine's focus and blur): a click in the Toolbar removes it | common | focus within |
| User edit | A change to the Document equal to typing on a keyboard: a history step, onChange after a delay, the character limit applies. This also covers insert, undo and redo from the Handle | A Programmatic replacement | own | — |
| Programmatic replacement | Replacing the whole Document (value, clear(), setMarkdown(), setJSON()): the character limit does not truncate it; onChange fires immediately for clear(), setMarkdown() and setJSON(), but not for a new value | A User edit | Tiptap | setContent |
| Skeleton | The Editor's look before Readiness: the field frame, a placeholder for the Toolbar and a Document: sanitized by the Schema, it is rendered as static HTML with the same class and rhythm as the engine's Document, without input. On the server — the frame without a Document. A Loader failure turns the Skeleton into a field error with "Retry" | The View: that is a separate read-only component, while the Skeleton is a state of the Editor that the engine replaces. The kit's Skeleton component: a loading placeholder | common | skeleton screen, loading placeholder |
| Status bar | A line inside the field frame under the Document: on the left the screen's content (status: word count, "Saved", co-author), on the right the kit's character counter | A Field notice: the line shows a lasting state of the screen, not an event | common | status line, footer |
| Field notice | One event tied to the field (showNotice): tone status (only announced) or error (a visible line under the field until the next User edit). A new one replaces the previous one | The kit's toast: that one is global and not tied to a field | own | field message, error message |
| Text card | A non-modal card under a range of the Document, declared by a custom Tool (textCards): a comment, a hint from checking the text. Opens when the caret enters it or on click, focus stays in the text | A button popover: a button opens that one, while a Text card is opened by a place in the Document | own | comment, annotation |
| Trigger character | A character of a custom Tool (trigger) that opens a list of items at the caret when typed at the start of a Block or after a space, like /: @ for mentions, # for tags. Picking an item replaces the typed @query with a custom node | The Slash menu on /: that one is built in, while a custom character is set by a Tool | Tiptap | suggestion char, mention |
| Paper | A light area of the Document in any app theme (surface="paper") — for text that leaves the app on a light background: an email, print, PDF. The Toolbar, menus and field frame stay in the app theme; the View with the same surface shows the same Paper | The light theme: it changes the whole app, the Paper only the Document | own | page, canvas |
| Island | A client-side piece of the View that, after mounting, brings a Block in already rendered HTML to life: the "Copy" button on a code Block, the island of a custom Block | A node view: it lives only in the Editor engine | Astro | islands architecture |
| Mount point | A place in already rendered HTML where an Island mounts a live element: the code Block header that receives the "Copy" button | A Slot: that is a place in the Editor UI for the UI contributions of Tools | React | — |
Tiptap
Words of the Tiptap engine that the Editor is built on. They are kept as they are in Tiptap's documentation: a synonym from another editor (plugin, service) would introduce a second meaning next to Block and Tool. The author of a custom Tool writes Extensions in Tiptap and reads Tiptap's documentation — the table connects the engine's word to the kit's. In the "Meaning" column, first what the word means in Tiptap, then what corresponds to it in the kit.
| Term | Meaning | Not to be confused with | Source | Also searched as |
|---|---|---|---|---|
| Extension | A unit of the Tiptap engine: nodes, Marks, commands, keyboard shortcuts and ProseMirror plugins in one class (Extension.create; Node and Mark are its kinds). The kit uses the same word: the Extensions of a Tool are its Tiptap extensions, and a capability as a whole is a Tool. An Extension without a Schema is a Tool without a Block (search, toc) | A Tool: that one also carries Schema rules, Markdown, the View and UI contributions, while an Extension is only the engine. A Tiptap extension is not passed in tools: it goes into the Extensions of a custom Tool | Tiptap | — |
| Node | A node type in the Tiptap Schema: paragraph, heading, table, image; block or inline. In the kit a block node corresponds to a Block, and an inline node without content to an inline Atom (a mention) | A Block as a whole: a Block is Schema rules as data plus Block traits, which the server and the View read, while a Node is only one of its Extensions | Tiptap | — |
| Mark | Inline formatting in the Tiptap Schema: bold, link, color. In the kit it is a Mark: Schema rules as data and a Mark in the Extensions | The mark tag: only the highlight Mark renders it. Tiptap's Text Style (an empty span for styles) is the base of the color Mark, not a Tool of its own | Tiptap | — |
| StarterKit, Kit | A set of Tiptap extensions in one package: StarterKit, ListKit, TableKit, TextStyleKit; each extension of the set is configured or switched off by a key in configure. In the kit StarterKit is an internal detail of the engine build: the description of each built-in Tool contributes its share of keys (starterKit), the shares are merged into one StarterKit.configure, and a key with no share is switched off. What comes out to the screen is a Preset | A Preset (full, basic): that one is a set of Tools, not of engine extensions, and it is not frozen. The kit of this glossary — the @olddevs/ui design system: the word Kit in Tiptap's names has nothing to do with it. StarterKit cannot be enabled through tools | Tiptap | bundle |
options (configure) | Settings of a Tiptap extension: its author declares them in addOptions, the consumer changes them with configure({…}). In the kit these are Tool options: tool(name, options) for search and toc, defaults and tool(definition, options) for a custom Tool (defineTool). Merging works as in Tiptap v3's configure: nested objects are merged, arrays and functions are replaced | The options of Tiptap extensions inside the Extensions: the kit assembles built-in ones itself and does not open them to the screen. The Editor's props (preset, maxHeight): those configure the field, not a Tool | Tiptap | — |
| storage | A mutable store of an extension inside the engine (editor.storage.<name>): search results, the character count. In the kit it is Tool state: a snapshot that the screen reads with the useRichTextToolState(ref, name) hook; a custom Tool declares it with the state function in defineTool | editor.storage: Tool state is read-only, while storage is changed by the extension itself. Storage is part of the engine and follows its major | Tiptap | — |
| commands | The commands of a Tiptap extension (addCommands): editor.commands, the editor.chain() chain, the editor.can() check. In the kit these are Tool commands: handle.tool(name), each returns a boolean; a custom Tool declares them with the commands function in defineTool | editor.commands and chain(): those are engine commands and follow its major. Handle methods (insertHTML, focus): those are common to any tools, while Tool commands exist only while the Tool is enabled | Tiptap | — |
extend | The way to change an existing Tiptap extension: Bold.extend({…}). The kit has no counterpart: a built-in Tool is not replaced (ADR-0058, item 1.5). If you need other behavior, switch the built-in one off and add your own under a name with the Consumer prefix | configure: that one changes options, not behavior; the kit has its counterpart — Tool options. A custom Tool "instead of" a built-in one: it has its own name, its own Blocks and Marks | Tiptap | — |
priority | A number on a Tiptap extension: the larger it is, the earlier the extension stands in the queue and the earlier its plugins are asked. The kit has no number: the order of built-in Tools is set by the kit itself (the rank of Marks, and with it their nesting in HTML, paste and keys depend on it), and custom ones follow the built-in ones in tools order, so their paste and drop handlers are asked before the built-in ones | The order of entries in the Toolbar and the Slash menu: the kit sets it, while the UI contributions of custom Tools stand in a Slot in tools order. priority of a parseHTML rule: that one is the order of parse rules of a single node | Tiptap | — |
| NodeView | A custom look of a node in the Editor: instead of renderHTML, the node is drawn by JavaScript or React code. In the kit it is the node view in the Extensions; in the View, where there is no engine, an Island is its counterpart | An Island: that one brings a Block in already rendered HTML to life without an engine, while a NodeView lives only in the Editor. renderHTML: it produces the Document's HTML, while a NodeView is only the look on screen | Tiptap | — |
| MarkView | The same for a Mark: a custom look of a Mark in the Editor. In the kit it is the Mark's view in the Extensions; a Mark has no Island, and in the View it stays sanitized HTML | NodeView: that one draws a whole node, while a MarkView draws a stretch of text with a Mark. An Island: an Island exists only for a Block | Tiptap | — |
| Decoration | Styling on top of the Document that does not change it: a highlight, a class on a node, a widget (ProseMirror's Decoration). The kit uses the same word: a Decoration lives in the Extensions and does not enter the Document — this is how code highlighting, Find matches and the image upload marker work | A Mark: a Mark is stored in the Document and goes into value, a Decoration does not. A Block attribute | ProseMirror | — |
| Input rule | An input rule: typed text matching a pattern is replaced with a node or a Mark (# — a heading, **…** — bold). The kit has no separate term: the rule lives in the Extensions of a Block or Mark, and the author of the text sees it as a Markdown shortcut while typing | Markdown export (getMarkdown, setMarkdown): that converts the whole Document, while an input rule fires on the typed fragment. An Insert item | Tiptap | — |
| Paste rule | A paste rule: on paste or drop, text matching a pattern (most often a link) becomes a node or a Mark. The kit has the same: a rule in the Extensions of a Tool | Parsing a paste through the Schema: that cuts off what the Schema does not know, while a Paste rule turns matched text into a node. A parseHTML rule: that one is about HTML, not text | Tiptap | — |
| Schema | A description of the nodes and Marks allowed in ProseMirror: which exist and what goes inside what; Tiptap assembles it from extensions. In the kit the Schema has the same meaning plus the allowlist for the sanitizer and the View: the rules lie in a Tool's description as data, and the server and the View read them without an engine, while the engine's Schema is assembled from Extensions | Server-side sanitization: the consumer does it (sanitizeRichText). The ProseMirror JSON tree: it is internal | ProseMirror | — |
| Transaction | One change of the ProseMirror engine state: steps over the Document, the selection and metadata; the chain().run() chain is one transaction. The kit has no word for it: Tool state is recomputed on every transaction, and an edit made by the run of a Block action is one transaction, that is, one undo | A User edit: that is a change to the Document equal to typing, while a transaction can also happen without changing the Document (selection, metadata). Re-rendering: Tool state re-renders the screen only when the snapshot changed, not on every transaction | ProseMirror | — |
| BubbleMenu | A Tiptap menu above selected text (the Bubble Menu extension). The kit builds the Bubble menu (toolbar="bubble") and the floating Toolbar (toolbar="floating") on it: they share the condition for showing and the position | FloatingMenu: that menu appears at an empty line. The kit's floating value is the floating Toolbar above a selection, not Tiptap's FloatingMenu | Tiptap | — |
| FloatingMenu | A Tiptap menu at an empty line: it appears when the caret is in an empty Block (the Floating Menu extension). The kit has no such menu: the Slash menu opens on / and from the "+" button of the Toolbar | The floating Toolbar (toolbar="floating"): that one appears above a selection and is built on BubbleMenu | Tiptap | — |
| Suggestion | The Tiptap utility for a list opened by a character (@tiptap/suggestion): a typed char opens a list at the caret, and picking an item replaces what was typed. The kit's Slash menu on / and the Trigger character of a custom Tool are built on it | The Slash menu as a whole: the "+" button opens it too, without a character | Tiptap | — |