Icon Tests

Select a test category to view the icon component tests.

Accessibility

ARIA labels and accessible icon patterns

Basic

Default SVG icons, modes, colors, sizes, and custom SVGs

Cheatsheet

Visual reference of all available ionicons

Content Security Policy

SVG content loading with Content Security Policy

Dynamic Type

Font size scaling and dynamic text sizing behavior

RTL

Right-to-left text direction and icon flipping behavior

Sanitization

SVG content sanitization and security

Size

Size prop with small and large variants for native and slotted icons

Slotted Content

Font Awesome, Material, Phosphor, Bootstrap, and custom SVGs