# Menu icons (oxblade-adminlte)

> Render Bootstrap Icons or Font Awesome Free SVGs next to your AdminLTE menu labels. The application chooses which sets to register.

- Package: oxblade-adminlte (Rust, alpha), crates: `oxblade-adminlte`
- 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-adminlte), [crates.io](https://crates.io/crates/oxblade-adminlte/0.1.0), [docs.rs](https://docs.rs/oxblade-adminlte/0.1.0), [Changelog](https://oss.bowerbird.si/oxblade-adminlte/docs/changelog/), [Contributing](https://github.com/bowerbird-si/oxblade-adminlte/blob/c4cc5d05f8707b760d95552ef70a05236193a07d/CONTRIBUTING.md), [Security policy](https://github.com/bowerbird-si/oxblade-adminlte/blob/c4cc5d05f8707b760d95552ef70a05236193a07d/SECURITY.md)
- Based on: [jeroennoten/laravel-adminlte](https://github.com/jeroennoten/Laravel-AdminLTE): The PHP package whose dashboard layout, menu, asset and plugin behavior this port follows.; [AdminLTE](https://github.com/ColorlibHQ/AdminLTE): The dashboard frontend used by applications. The crate does not bundle the distribution.
- PHP parity: core (30 covered, 18 diverged, 189 planned of 237 abilities; 30 fixtures; follows jeroennoten/laravel-adminlte v4.1.0; verified 2026-12-05)
- HTML version: https://oss.bowerbird.si/oxblade-adminlte/docs/icons-font-awesome/
- Source: https://github.com/bowerbird-si/oxblade-adminlte/blob/c4cc5d05f8707b760d95552ef70a05236193a07d/docs/icons-font-awesome.md

Render Bootstrap Icons or Font Awesome Free SVGs next to your AdminLTE menu labels. The application chooses which sets to register.

Add `oxblade-icons` with its `laravel` feature, plus the sets you want. The tested set and renderer versions are 0.1.0.

```toml
oxblade-icons = { version = "0.1.0", features = ["laravel"] }
oxblade-bootstrap-icons = "0.1.0"
oxblade-fa = "0.1.0"
```

With the Blade and AdminLTE providers already registered, add the icon provider in the same application:

```rust
use oxblade_icons::{icon_set, laravel::IconsServiceProvider};

providers.add(IconsServiceProvider::new()
    .set(icon_set!(oxblade_bootstrap_icons))
    .set(icon_set!(oxblade_fa::solid))
    .set(icon_set!(oxblade_fa::regular))
    .set(icon_set!(oxblade_fa::brands)));
```

For example, set `"icon": "bi-house"`, `"icon": "fas-house"`, `"icon": "far-calendar"`, or
`"icon": "fab-github"` on a menu entry. Omit the field for a text-only menu. Register the set for
every icon name you supply. These names replace PHP's class lists such as `bi bi-house`; the
inline SVG is decorative and the link text stays visible. Keep Bootstrap Icons CSS if other
widgets or application views still use its font classes.

Bootstrap Icons artwork is MIT-licensed. Font Awesome Free artwork is by Fonticons, Inc. under
CC BY 4.0. The optional set supplies the original attribution comments and its full notice.
Preserve the attribution when redistributing the SVGs, including through minifiers and build tools.

[Full Font Awesome Free notice](https://github.com/bowerbird-si/oxblade-icon-sets/blob/main/crates/oxblade-fa/NOTICE) ·
[CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
