Skip to content

Walidoux/react-ios-icons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

50 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

๐Ÿข Getting started

Preview background library

โœจ Features

  • ๐Ÿ“ฅ Supports 115 out of 6,000 SF icons
  • โœ๏ธ Editor Mode โ€” Dynamically changes position of path icons

๐Ÿš€ Quick Start

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} />
}

๐ŸŒฑ Contributing

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.

Where do I start?

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.

๐Ÿ“ Roadmap

  • 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

About

๐Ÿข A React Component Library of iOS icons with high-level props & types.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages