IAdjacentProps

interface
Layout & Sizing

Props for icons and avatars placed OUTSIDE the component chrome (prepend, append) — used by buttons, list items, cards and similar surface components.

TypeScript

Definition

The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

API

Properties

Every property declared by this interface, with its type, optionality and default.

appendAvatar
string
URL of an avatar image rendered at the trailing edge of the component.
appendIcon
TIcon
Icon rendered at the trailing edge of the component.
prependAvatar
string
URL of an avatar image rendered at the leading edge of the component.
prependIcon
TIcon
Icon rendered at the leading edge of the component.
prependAriaLabel
string
appendAriaLabel
string

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Button with prepend and append icons

vue