boot-cell
v2.0.0-beta.29
Published
Web Components UI library based on WebCell v3, BootStrap v5, BootStrap Icon v1 & FontAwesome v6
Downloads
65
Maintainers
Readme
BootCell
Web Components UI library based on WebCell v3, BootStrap v5, BootStrap Icon v1 & FontAwesome v6
Usage
Installation
npm install dom-renderer web-cell boot-cell
npm install parcel @parcel/config-default @parcel/transformer-typescript-tsc -D
package.json
{
"scripts": {
"start": "parcel source/index.html --open",
"build": "parcel build source/index.html --public-url ."
}
}
tsconfig.json
{
"compilerOptions": {
"target": "ES6",
"module": "ES2020",
"moduleResolution": "Node",
"useDefineForClassFields": true,
"jsx": "react-jsx",
"jsxImportSource": "dom-renderer"
}
}
.parcelrc
{
"extends": "@parcel/config-default",
"transformers": {
"*.{ts,tsx}": ["@parcel/transformer-typescript-tsc"]
}
}
source/index.html
<link
rel="stylesheet"
href="https://unpkg.com/[email protected]/dist/css/bootstrap.min.css"
/>
<link
rel="stylesheet"
href="https://unpkg.com/[email protected]/font/bootstrap-icons.css"
/>
<link
rel="stylesheet"
href="https://unpkg.com/@fortawesome/[email protected]/css/all.min.css"
/>
<script src="https://polyfill.web-cell.dev/feature/ECMAScript.js"></script>
<script src="https://polyfill.web-cell.dev/feature/WebComponents.js"></script>
<script src="https://polyfill.web-cell.dev/feature/ElementInternals.js"></script>
<script src="https://polyfill.web-cell.dev/feature/Dialog.js"></script>
<script src="https://polyfill.web-cell.dev/feature/Share.js"></script>
Components
Content
- ListItem
- ListGroup
- Table
- TableRow
- InputCell
- Jumbotron
- Card
- CardHeader
- CardFooter
- MediaObject
- EdgeDetector
- SplitView
- AccordionPanel
- Accordion
- CollapseBox
- TabPanel
- TabView
Reminder
Media
Navigator
- BreadCrumb
- Pagination
- NavLink
- Nav
- NavBar
- BannerNavBar
- NavBarToggler
- Step
- Stepper
- DropMenuItem
- DropMenu
- ShareBar
Prompt
Form
- Form
- Button
- ButtonGroup
- Toolbar
- IconButton
- CloseButton
- ToggleField
- ScoreRange
- Field
- FormField
- InputGroup
- FileInput
Calendar
Constants
Theme
Replace BootStrap official CSS file with these 3th-party libraries's directly:
- https://bootswatch.com/
- https://mdbootstrap.github.io/bootstrap-material-design/
- https://daemonite.github.io/material/