Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Wrapper Icon

widcardwwidcardw15 downloads

Use locally downloaded Iconify icons with custom inline text.

  • Overview
  • Scorecard
  • Updates3

Render Iconify icons with custom inline text in your notes, using locally downloaded icon sets — no internet connection needed once the icons are saved.

Demo

`/ico mdi:home;Home`

is rendered as an inline Home label with the mdi:home icon in front of it. The icon is fetched from a local Iconify JSON file and wrapped together with your text, so both stay on one line.

Features

  • Inline icon + text wrapper — write `/ico <set>:<icon>;<text>` in any note and it renders as a single inline element.
  • Fully offline — icons are stored as local JSON files inside the plugin folder. Nothing is fetched from the network while reading or editing.
  • Icon set downloader — search Iconify collections from the settings tab or a command and download them as offline JSON.
  • Live Preview support — icons render directly in the editor; click one to jump back to the source and edit it.
  • Reading View support — icons also render in Reading View via a Markdown post-processor.
  • Autocomplete — start typing `/ico and the plugin suggests icons from your downloaded sets.
  • Customizable delimiter — choose the separator between the icon name and the text (default ;).

Installation

Copy main.js, manifest.json, and styles.css to your vault:

<VaultFolder>/.obsidian/plugins/wrapper-icon/

Then enable Wrapper Icon in Settings → Community plugins.

Usage

Use the icon inside a code span with this syntax:

`/ico <icon-set>:<icon-name><delimiter><text>`
  • <icon-set> — the Iconify collection prefix (e.g. mdi, lucide, ph).
  • <icon-name> — an icon name from that collection.
  • <delimiter> — the separator character, ; by default (configurable in settings).
  • <text> — the text shown next to the icon. Can be empty to show only the icon.

Examples:

`/ico mdi:home;Home`
`/ico lucide:user;Profile`
`/ico ph:check-circle`

⚠️ The <icon-set>:<icon-name> prefix is required — the plugin only renders icons that are present in your locally downloaded sets.

Example in GIF:

Demo GIF

In the editor

  • Live Preview: icons are rendered inline as you type. Click a rendered icon to select and edit its source.
  • Source mode: write the raw `/ico ...` text.
  • Autocomplete: type `/ico and pick an icon from the suggestion popup; the delimiter is inserted automatically.

Getting started: download an icon set

Icon sets are downloaded from the official @iconify-json packages (via jsDelivr, falling back to unpkg). This is the only step that needs a network connection.

  1. Run the command Download iconify icon set, or go to Settings → Wrapper Icon → Download icon set.
  2. Search for a collection (by name or prefix), e.g. Material Design Icons.
  3. Select the collection. Optionally enter a comma-separated list of icon names (leave empty to download the whole collection — some collections are large).
  4. Click Download selected collection.

The set is saved to .obsidian/plugins/wrapper-icon/assets/<prefix>.json and is available immediately, offline.

To add icons to an already downloaded set, delete the set from the downloader (or the assets folder) and download it again.

Example in GIF:

Demo GIF

Settings

Setting Description
Delimiter The character between the icon name and the custom text (default ;).
Suggestion debounce The delay (in milliseconds) before the autocomplete suggestions appear.
Download icon set Opens the Iconify collection downloader.
Edit styles.css Opens the plugin stylesheet (desktop only) so you can customize icon size, color, and layout.

Commands

Command Description
Reload local icon sets Re-reads the JSON files in assets/, picking up sets added or changed manually.
Download iconify icon set Opens the collection downloader.

Customizing the style

By default each wrapper is drawn with a thin dashed outline (0.5px dashed, 0.25rem radius) and the icon uses currentColor, sized relative to the surrounding text. To change this, edit styles.css (button in settings) or add your own CSS targeting the .plug-wrap-icon / .plug-wrap-icon-icon classes, e.g. to remove the outline and recolor/resize the icon:

.plug-wrap-icon {
  border: none;
  padding: 0;
}
.plug-wrap-icon-icon {
  color: var(--text-accent);
  width: 1.4em;
  height: 1.4em;
}

Development

This plugin is built with TypeScript and esbuild. Requires Node.js 18+.

npm install       # install dependencies
npm run dev       # compile in watch mode
npm run build     # type-check (tsc) and produce a production build in main.js
npm run lint      # oxlint check
npm run format    # format source files with oxfmt

Release

  • Bump the version in manifest.json (SemVer) and versions.json, or run npm version patch|minor|major.
  • Create a GitHub release tagged with the exact version (no leading v) and attach main.js, manifest.json, and styles.css.

License

MIT

HealthExcellent
ReviewRisks
About
Render Iconify icons inline with custom text using locally saved icon sets so icons display offline and stay on one line with your text. Search and download icon collections for offline use, get live preview and Reading View rendering, click-to-edit from the editor, and autocomplete.
IconsAutocompleteEditing
Details
Current version
0.0.5
Last updated
Last month
Created
Last month
Updates
3 releases
Downloads
15
Compatible with
Obsidian 1.4.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
widcardwwidcardw
widcard.win
GitHubwidcardw
  1. Community
  2. Plugins
  3. Icons
  4. Wrapper Icon

Related plugins

Various Complements

Complete words similar to auto-completion in an IDE.

List Callouts

Create simple callouts in lists.

Inline Callouts

Add inline callouts/badges/icons to notes.

Iconoir Icons

Create and display customized SVG Iconoir icons.

LanguageTool Integration

Advanced grammar and spell checking, powered by LanguageTool.

Meta Bind

Make your notes interactive with inline input fields, metadata displays, and buttons.

Advanced Tables

Improved table navigation, formatting, and manipulation.

Thino

Quickly capture memos and display them in the sidebar with a heatmap. (Closed source)

Editing Toolbar

The Editing Toolbar is modified from cMenu, which provides more powerful customization settings and has many built-in editing commands to be a MS Word-like toolbar editing experience.

Numerals

Turn any code block into an advanced calculator. Evaluate math expressions on each line of a code block, including units, currency, and optional TeX rendering.