- ๐ฅ Supports 115 out of 6,000 SF icons
- โ๏ธ Editor Mode โ Dynamically changes position of path icons
Depdending on your package manager (we use bun), install the package :
bun install react-ios-icons
And the icon into your code like that :
import { Battery } from 'react-ios-icons'
// Fills three-fourths of the battery's capacity
export const DummyComponent: React.FC = () => {
return <Battery progression={75} />
}
If you would like to contribute and improve our project, we've set certain rules to maintain a better scoial and development environment, almost everything is mentioned in the CONTRIBUTING.md file.
In order to create an icon, you need to generate one by executing:
bun run generate:icon <component_name>
You will be prompted with a few questions to help generate starter code for your icon.
- markdown : display the number of icons out of total of SF symbols total icons
- example : add debug mode to display icon contraints for visual consistency following Apple's icon design best practices
- icons : add categories like this :
<Health.Heart filled />
- docs : add themed doc with basic search bar
- example : add editor mode to dynamically adjust path attribute value
- docs : infer icon count variants from tsx files
- example : draw symetrical alignements lines for x/y axis inside contraints