This package provides Radix UI icons for React Native. These icons are designed to be easily customizable in terms of size & color.
To install the package, run:
npm install react-native-radix-ui-icons
or using Yarn:
yarn add react-native-radix-ui-icons
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
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} />
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
Copyright © 2022-present WorkOS. See LICENSE for more information.