MDI

const
Icons

The Material Design Icons icon set adapter for Origam. Implements IIconSet by rendering OrigamClassIcon with the mdi CSS class. Normalises bare icon names (magnify) and already-prefixed names (mdi-magnify) to always emit mdi-{name}. Pass this constant to the icons option when installing Origam.

TypeScript

Definition

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

typescript

Entries

Values

All entries in this constant. Click a value to copy it to clipboard.

component: (props: any) => h(OrigamClassIcon, { ...props, icon: typeof props.icon === 'string' && !props.icon.startsWith('mdi-') ? `mdi-${props.icon}` : props.icon, class: 'mdi' })

Ecosystem

Used by

Composables and components that consume this constant.

  • OrigamIcon

Usage

Examples

Ready-to-paste code snippets using this constant.

Registering the MDI icon set

typescript