Data display

Entity title

@xui/entity-title

The name of a thing, with its supporting detail.

Install

pnpm add @xui/entity-title

Add the barrel to a standalone component's imports:

import { XuiEntityTitleImports } from '@xui/entity-title';

@Component({
  imports: [XuiEntityTitleImports],
  // …
})

Examples

Default

Loading preview…

Title only

Loading preview…

Loading

Loading preview…

Ellipsized

Loading preview…

API

XuiEntityTitle

componentxui-entity-title

The name of a thing, with its supporting detail.

Inputs

NameTypeDefaultclassClassValueThe user-defined classes. Merged last so they win over the base classes.''titlerequiredstringThe entity's name — the primary line.subtitlestring | nullA secondary line under the title, e.g. an identifier or a status.nullellipsizebooleanTruncate the title and subtitle rather than wrapping.falsefillbooleanExpand to fill the container, so a right-aligned sibling is pushed out.falseloadingbooleanMask the text in place while the entity is loading.false

Source

libs/ui/entity-title/xui

xUI 2.0.0 — Apache 2.0 licensed. Built with Angular and Tailwind CSS.