# oxblade-icons documentation

> Render inline SVG icons in Rust and oxblade with the same class and attribute rules as Blade Icons.

- Package: oxblade-icons (Rust, alpha), crates: `oxblade-icons`
- Maintenance: active; Latest release: 0.1.0 (2026-12-05); MSRV: Rust 1.99 or later; Licence: MIT
- Links: [Repository](https://github.com/bowerbird-si/oxblade-icons), [crates.io](https://crates.io/crates/oxblade-icons/0.1.0), [docs.rs](https://docs.rs/oxblade-icons/0.1.0), [Changelog](https://oss.bowerbird.si/oxblade-icons/docs/changelog/), [Contributing](https://github.com/bowerbird-si/oxblade-icons/blob/c7e0252d5f06a12c2c4687fa63a4aa97d51b0e4c/CONTRIBUTING.md), [Security policy](https://github.com/bowerbird-si/oxblade-icons/blob/c7e0252d5f06a12c2c4687fa63a4aa97d51b0e4c/SECURITY.md)
- Based on: [blade-ui-kit/blade-icons](https://github.com/driesvints/blade-icons): The PHP renderer and template behavior this package ports.
- PHP parity: core (4 covered, 4 diverged, 3 planned of 11 abilities; 14 fixtures; follows blade-ui-kit/blade-icons 1.11.0; verified 2026-12-05)
- HTML version: https://oss.bowerbird.si/oxblade-icons/docs/
- Source: https://github.com/bowerbird-si/oxblade-icons/blob/c7e0252d5f06a12c2c4687fa63a4aa97d51b0e4c/docs/index.md

Render inline SVG icons in Rust and oxblade with the same class and attribute rules as Blade Icons.

The renderer ports [`blade-ui-kit/blade-icons`](https://github.com/driesvints/blade-icons). It resolves an icon name such as `heroicon-o-home` to an SVG, merges default and per-call classes
and attributes the way Blade Icons does, and returns the `<svg>` markup. It works from plain Rust, from
[oxblade](https://github.com/bowerbird-si/oxblade) templates, and from a Laravel for Rust application.
Icon artwork comes from separate crates, such as the Heroicons and Lucide sets in
[oxblade-icon-sets](https://github.com/bowerbird-si/oxblade-icon-sets), or from your own SVGs.

Install the renderer with `cargo add oxblade-icons`.

| If you want to… | Read |
| --- | --- |
| Install the package and render a first icon | [Getting started](https://oss.bowerbird.si/oxblade-icons/docs/getting-started/) |
| Register generated sets, your own SVGs, defaults and fallbacks | [Icon sets](https://oss.bowerbird.si/oxblade-icons/docs/icon-sets/) |
| Pass classes and attributes, add titles and labels, handle errors | [Rendering icons](https://oss.bowerbird.si/oxblade-icons/docs/rendering/) |
| Use `svg()`, `@svg`, `<x-icon>` and `<x-heroicon-o-home />` in templates | [Blade templates](https://oss.bowerbird.si/oxblade-icons/docs/blade/) |
| Register icons in a Laravel for Rust application | [Laravel](https://oss.bowerbird.si/oxblade-icons/docs/laravel/) |
| Find the Rust equivalent of a PHP call | [Migrating from PHP](https://oss.bowerbird.si/oxblade-icons/docs/migrating-from-php/) |
