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.
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.
- activeboolean
- Forces the item into its active / selected visual state.
- activeClassstring
- CSS class applied when the item is in its active state.
- disabledboolean
- Makes the item non-interactive and visually muted.
- linesTLines
- Controls the number of title/subtitle lines before text truncation.
- linkboolean
- Renders the item as an anchor if true, even when no href is provided.
- navboolean
- Applies navigation-specific styling (compact density, rounded corners).
- slimboolean
- Reduces the item padding for denser navigation contexts.
- subtitlestring | number
- Secondary text rendered below the title.
- titlestring | number
- Primary text label rendered in the item.
- valueany
- 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