sb-react-component-library
v0.1.0
Published
React-Component-Library is a versatile component library designed to simplify web development and elevate your projects. With a carefully curated collection of resuable components. It empowers developers to create beautiful and consistent user interfaces
Downloads
1
Readme
React-Component-Library is a versatile component library designed to simplify web development and elevate your projects. With a carefully curated collection of resuable components. It empowers developers to create beautiful and consistent user interfaces effortlessly
To install React-Component-Library, you can follow these steps:
- Open a Terminal or Command Proompt: Open your terminal or command prompt application. Make sure you have Node.js and npm installed on your system.
- Navigate to Your Directory: Use the
cd
command to navigate to your React project directory where you want to install.
cd path/to/your/project
- Install the library: Use the
npm install s4b-react-component-library
ornpm i s4b-react-component-library
to install.
npm install s4b-react-component-library
Or
npm i s4b-react-component-library
- Import and Use the Library: Once the installation is complete, you can import and use the library in your project.
import React from 'react'
import Avatar from 's4b-react-component-library/dist/Avatar/Avatar'
function App() {
return (
<div className='app'>
<Avatar src="./logo.png" size="avatar sm"/>
</div>
)
}
export default App