1.1.0 • Published 10 months ago
marianowski-bs-react v1.1.0
bootstrap 5 components for React
- This is a simple utility library for using bootstrap 5 components in React.
- I'm using this package to supply my applications with bootstrap 5 components in a simple, quick and reusable way.
Setup
- for this component library to work you need to add bootstrap 5 and bootstrap icons to your project.
- In index.html (inside
<head></head>
):
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css"
/>
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM"
crossorigin="anonymous"
/>
- In index.html (inside at the bottom of the
<body></body>
):
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"
integrity="sha384-geWF76RCwLtnZ8qwWowPQNguL3RmwHVBC9FhGdlKrxdiJJigb/j/68SIy3Te4Bkz"
crossorigin="anonymous"
></script>