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.
API
Properties
Every property declared by this interface, with its type, optionality and default.
- appendAvatarstring
- URL of an avatar image rendered at the trailing edge of the component.
- appendIconTIcon
- Icon rendered at the trailing edge of the component.
- prependAvatarstring
- URL of an avatar image rendered at the leading edge of the component.
- prependIconTIcon
- Icon rendered at the leading edge of the component.
- prependAriaLabelstring
- appendAriaLabelstring
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