IColorProps

interface
Color & Intent

Foreground-only color contract — extended by components whose only colour concern is the text/icon (color).

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.

color
TColor
Foreground (text / icon) color — an intent name, raw CSS color, gradient string or structured gradient object.

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Extending the interface on a component

typescript