Skip to main content

Crate oxblade_icons

Crate oxblade_icons 

Source
Expand description

Inline SVG rendering, following blade-ui-kit/blade-icons 1.11.0.

Icon sources contain trusted SVG markup. Request data can select icon names and supply plain attribute values, but must not supply SVG markup or attribute keys.

Modules§

blade
Register Blade Icons helpers and components with an oxblade environment.

Macros§

icon_set
Convert a generated oxblade-* data crate into a registered icon set.

Structs§

Attributes
An ordered Blade Icons attribute bag.
IconSet
One registered Blade Icons set, with optional class, attributes and fallback.
Icons
A configured icon renderer, equivalent to Blade Icons’ Factory.
IconsBuilder
Build an icon registry with defaults, like Blade Icons’ Factory configuration.
Notice
A notice for an icon set or its upstream wrapper.
Svg
A resolved SVG and its attributes, like Blade Icons’ Svg value.
Trusted
Mark an application-owned value as trusted for exact PHP rendering.

Enums§

AttrValue
A value accepted by the Blade Icons attribute bag.
Error
A failed lookup, invalid icon configuration, or unsupported attribute.

Type Aliases§

Result
The result of an icon operation.