react-native-radix-ui-icons
v1.1.1
Published
Radix UI Icons for React Native
Downloads
38
Readme
Introduction
This package provides Radix UI icons for React Native. These icons are designed to be easily customizable in terms of size & color.
Installation
To install the package, run:
npm install react-native-radix-ui-icons
or using Yarn:
yarn add react-native-radix-ui-icons
Usage
To use an icon in your project, simply import it and customize its properties:
import React from 'react'
import { ShadowIcon } from 'react-native-radix-ui-icons'
const App = () => {
return <ShadowIcon color="blue" width={30} height={30} />
}
export default App
Customization
All icons support the following properties:
color
: Set the color of the icon (default:black
).width
andheight
: Adjust the size of the icon (default:24x24
).
<ShadowIcon color="red" width={40} height={40} />
Contributing
We welcome contributions! If you'd like to contribute:
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
License
Copyright © 2022-present WorkOS. See LICENSE for more information.