Every icon behind one `Icon` component chosen by name, for the places where the name is data (a toolbar built from config). It depends on every icon package, so importing it loads the whole set.
Examples of v0.1.0 are shown as code; only the latest version runs live. Open the live examples →
Every icon, chosen by name: the list is whatever icon packages exist.
Every Icon By Name
1const EveryIconByName = () => (2 <>3 {iconNames.map((name) => (4 <Icon key={name} name={name} />5 ))}6 </>7);89render(<EveryIconByName />);
An icon chosen by name, at two sizes.
Icon By Name
1const IconByName = () => (2 <>3 <Icon name="trash" />4 <Icon name="trash" size="lg" />5 </>6);78render(<IconByName />);