TIcon

type
Data Display

Accepted value for any icon prop across the design system — a string glyph name, a multi-path SVG array, or a Vue component.

TypeScript

Definition

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

typescript

Accepted

Values

Accepted string literal values for this type. Click a value to copy it.

string
(string | [path: string, opacity: number])[]
ComponentOptions<any, any, any, ComputedOptions, MethodOptions, any, any, any, string, {}, {}, string, {}, {}, {}, string, ComponentProvideOptions>
FunctionalComponent<any, {}, any, {}>
ComponentPublicInstanceConstructor<any, any, any, any, ComputedOptions, MethodOptions>

Ecosystem

Used by

Components and props that accept this type as a value.

Usage

Examples

Ready-to-paste code snippets using this type.

String glyph name (MDI)

html

Custom Vue component as icon

vue

Multi-path SVG array with per-path opacity

html