IListItemProps

interface
Data Display

Props for <OrigamListItem> — a single item row inside a list. Covers activation state, disabled state, link navigation, density, dimension, elevation, multiline lines, and the full adjacent (prepend/append) surface.

TypeScript

Définition

La définition TypeScript de l'interface telle que trouvée dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.

typescript

Héritage

Hérite de

Interfaces parentes dont celle-ci hérite. Leurs propriétés sont disponibles pour tout consommateur de cette interface.

API

Propriétés

Chaque propriété déclarée par cette interface, avec son type, son caractère optionnel et sa valeur par défaut.

active
boolean
Forces the item into its active / selected visual state.
activeClass
string
CSS class applied when the item is in its active state.
disabled
boolean
Makes the item non-interactive and visually muted.
lines
TLines
Controls the number of title/subtitle lines before text truncation.
link
boolean
Renders the item as an anchor if true, even when no href is provided.
nav
boolean
Applies navigation-specific styling (compact density, rounded corners).
slim
boolean
Reduces the item padding for denser navigation contexts.
subtitle
string | number
Secondary text rendered below the title.
title
string | number
Primary text label rendered in the item.
value
any
Value registered with the parent ItemGroup for selection tracking.

Écosystème

Utilisé par

Composants et composables qui étendent ou consomment cette interface.

Usage

Exemples

Extraits de code prêts à coller utilisant cette interface.

List item with icon prepend and subtitle

vue