🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

ionicons

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
i

ionicons

Premium icons for Ionic.

8.0.8
latest
100

Supply Chain Security

100

Vulnerability

100

Quality

95

Maintenance

100

License

Network access

Supply chain risk

This module accesses the network.

Found 1 instance in 1 package

Version published
Weekly downloads
321K
3.31%
Maintainers
3
Weekly downloads
 
Created
Issues
40

What is ionicons?

The ionicons npm package provides a collection of premium icons for use in web, iOS, Android, and desktop apps. These icons are designed to be used with Ionic Framework but can also be used in any web project. The package includes a variety of icons for different purposes such as user interface design, branding, and visual indicators.

What are ionicons's main functionalities?

Using Ionicons in a Web Project

This code sample demonstrates how to include an Ionicon in your HTML. The 'name' attribute specifies which icon to display.

<ion-icon name="heart"></ion-icon>

Styling Ionicons with CSS

This CSS code sets the size and color of all Ionicons in a web page. You can customize the icons further using standard CSS properties.

ion-icon {
  font-size: 50px;
  color: blue;
}

Using Ionicons in JavaScript Frameworks

This code sample shows how to import an Ionicon into a JavaScript framework like Vue or React and use it within the framework's template syntax.

import { heart } from 'ionicons/icons';

<ion-icon :icon="heart"></ion-icon>

Other packages similar to ionicons

FAQs

Package last updated on 06 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts