Integrate CoolIcons in your React Native App with no extra efforts.
- Cross-platform: Works on Android, iOS, Web, Expo, Windows, and macOS.
- Customizable: Supports icon size, color, and other props.
- Lightweight: Small bundle size.
- Up-to-date: Uses the latest CoolIcons version.
This library depends on react-native-svg
to render icons. Make sure to install it before installing this library.
npm install react-native-coolicons react-native-svg
yarn add react-native-coolicons react-native-svg
npx expo install react-native-coolicons react-native-svg
Import the CoolIcon
component and use it in your application.
import CoolIcon from 'react-native-coolicons';
<CoolIcon name="laptop" size={24} color="#000" />
Name | Type | Default | Required | Description |
---|---|---|---|---|
name | string | - | true | The name of the Coolicon (e.g., “laptop”) |
size | number | 24 | false | The size of the icon |
color | string | #000 | false | The color of the icon |
... | any | - | false | Additional styles to apply to the icon |
Platform | Supported |
---|---|
Android | ✅ |
iOS | ✅ |
Web | ✅ |
Expo | ✅ |
Windows | ✅ |
macOS | ✅ |
Working on That Part.
react-native-coolicons
is licensed under the MIT License.
Made with ❤️ by GS Rumana
Enjoy using react-native-coolicons
? Please give us a ⭐ on GitHub to show your support!