New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@ionic/core

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ionic/core

Base components for Ionic


Version published
Weekly downloads
258K
decreased by-11.09%
Maintainers
1
Weekly downloads
 
Created

What is @ionic/core?

@ionic/core is a library of web components that allows developers to build high-quality mobile and desktop apps using web technologies like HTML, CSS, and JavaScript. It provides a comprehensive set of UI components and utilities that are designed to work seamlessly across different platforms.

What are @ionic/core's main functionalities?

UI Components

Ionic Core provides a wide range of UI components such as buttons, cards, forms, and more. These components are designed to be highly customizable and work across different platforms.

<ion-button>Click Me</ion-button>

Navigation

Ionic Core includes a powerful routing system that allows developers to define navigation paths and manage the app's state. This makes it easy to create complex navigation flows.

<ion-router><ion-route url="/home" component="home-page"></ion-route></ion-router>

Theming

Ionic Core allows developers to easily customize the look and feel of their app using CSS variables. This makes it simple to apply consistent theming across the entire application.

:root { --ion-color-primary: #3880ff; }

Gestures

Ionic Core provides a gesture system that allows developers to add custom touch interactions to their components. This is useful for creating interactive and responsive user interfaces.

const gesture = createGesture({ el: myElement, gestureName: 'my-gesture', onMove: ev => console.log(ev) }); gesture.enable();

Other packages similar to @ionic/core

FAQs

Package last updated on 07 Nov 2024

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