initials-placeholder-react
v1.1.4
Published
A react package that uses parsed initials as placeholders. Can be used as a substitute for absent user profile photo
Readme
INITIALS PLACEHOLDER
A react package that uses parsed initials as placeholders. Can be used as a substitute for absent user profile photo

npm i initials-placeholder-react
# OR
yarn add initials-placeholder-react
Example
import React from "react";
import InitialsPlaceholder from "initials-placeholder-react";
function App() {
return (
<>
<InitialsPlaceholder value="Ize Ozorku" />
</>
);
}
export default App;
Props
- value: Holds the value name e.g Adavize Ozorku
- bgColor: Background color e.g #0366D6 OR blue
- textColor: Text color
- size: Size of placeholder
- fontSize: Size of font
How to contribute ✨
- Fork it!
- Create your feature branch:
git checkout -b feature-name - Commit your changes:
git commit -am 'Some commit message' - Push to the branch:
git push origin feature-name - Submit a pull request 😉😉
License
This project is licensed under the MIT License - see the LICENSE.md file for details
