Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ionicons

Package Overview
Dependencies
Maintainers
3
Versions
177
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ionicons

Premium icons for Ionic.

  • 7.2.2-dev.11699021910.19a0f06d
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.8M
decreased by-15.69%
Maintainers
3
Weekly downloads
 
Created

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

Keywords

FAQs

Package last updated on 03 Nov 2023

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc