ZUI

Search documentation

Find a page or a heading.

Icon Media

A small square that holds one glyph, tinted through the caller's className.

tsx

Installation

bash

Usage

tsx
tsx

It carries no meaning of its own, so one serves a model ability, a generation type or any icon the caller picks; give it an aria-label, and compose a tooltip around it when the glyph needs words. For a field's own text label, use Icon Label instead.

API reference

IconMedia

Renders a span and takes every prop a span takes. The design system ships no tint for it; the caller's className supplies the colours. An svg child with no size-* class of its own is drawn at size-3. It sets data-slot="icon-media".