Skip to content

Release 4 new icons (v15.5.0)

Choose a tag to compare

@simple-icons simple-icons released this 06 Jul 14:44
· 342 commits to develop since this release

API updates

Now the data JSON entry has declarations. We also moved those data JSON related types to the simple-icons.d.ts. (#13510) (@LitoMore)

// Import default only
import icons from 'simple-icons/icons.json' with {type: 'json'};
// Import types only
import type {
	IconData,
	Aliases,
	DuplicateAliases,
	License,
	CustomLicense
} from 'simple-icons/icons.json';
// Import both default and types
import icons, {
	type IconData,
	type Aliases,
	type DuplicateAliases,
	type License,
	type CustomLicense
} from 'simple-icons/icons.json' with {type: 'json'};

4 new icons