百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
R

react-ionicons

> 前端框架
开源

React Ionicon 组件 https://react-ionicons.Netlify.app/

195 stars0 点赞5 次浏览
访问官网GitHub

工具介绍

React Ionicon 组件 https://react-ionicons.Netlify.app/

A React Ionicon Component

Beautiful doc in https://react-ionicons.netlify.app/

Install

bash
$ npm install --save react-ionicons

or

bash
$ yarn add react-ionicons

Usage

javascript
import React from 'react'
import { render } from 'react-dom'
import { LogoNodejs } from 'react-ionicons'

 alert('Hi!')}
/>

Browserify

browserify is supported, but you have to install browserify-css@^0.12.0 manually.

Features

  • SVG Icons.
  • Simple API.
  • Animations.
  • Customizable.
  • Support to Create React App.
  • Typescript support.

API:

Param Type Description Example
height String Icon size. Allow all units (px, em, %, pt...). height="22px"
width String Icon size. Allow all units (px, em, %, pt...). width="22px"
color String Icon color. Allow string (blue, red, cyan...), rgb, rgba and hexadecimal colors. color="#C9C9C9"
title String Tooltip for the icon title="this is a tooltip"
cssClasses String Pass a string with cssClasses cssClasses="myButton"
rotate Boolean Apply rotate animation to icon rotate={true}
shake Boolean Apply shake animation to icon shake={true}
beat Boolean Apply beat animation to icon beat={true}
onClick Function Pass a function to execute onClick onClick={() => console.log('Hi!')}
style Object Pass a style object style={{ verticalAlign: 'middle' }}

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

JavaScripticonsioniconsreactreact-icons

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类前端框架
定价开源

> 相关工具

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架