Designed for developers, optimized for flawless performance. Integrate seamlessly across web and native platforms without changing your workflow.
Run the following command in your terminal to add it to your project:
npm install smooth-iconThe greatest strength of Smooth Icon is its consistency. Whether it's a React (Web) or React Native project, you can use your icons with the exact same import and syntax. No need to refactor your code when switching platforms.
<SmoothIcon
name="heart"
size={24}
/><SmoothIcon
name="heart"
size={24}
/>nameIcon Identifier
Specifies the exact name of the icon you want to display. e.g., "user-outlined"
sizeDimension Control
Sets the width and height of the icon in pixels. Accepts a numeric value (Default: 24).
colorColor & Flexibility
Accepts any valid CSS color value (Hex, RGB, HSL).
Pro Tip: Use the currentColor value to make the icon automatically inherit the text color of its parent element.