package.README.md Maven / Gradle / Ivy
# qui-alert
Alert component based on Lit that looks like the Bootstrap alert
## Installation
```bash
npm i @qomponent/qui-alert
```
## Usage
```javascript
import '@qomponent/qui-alert';
```
```html
Info alert
Success alert
Warning alert
Error alert
Permanent Info alert
Permanent Success alert
Permanent Warning alert
Permanent Error alert
Center Info alert
Center Success alert
Center Warning alert
Center Error alert
Info alert with icon
Success alert with icon
Warning alert with icon
Error alert with icon
Info alert with custom icon
Success alert with custom icon
Warning alert with custom icon
Error alert with custom icon
Small Info alert with icon
Small Success alert with icon
Small Warning alert with icon
Small Error alert with icon
Info alert
with markup
quarkus.io
Success alert
with markup
quarkus.io
Warning alert
with markup
quarkus.io
Error alert
with markup
quarkus.io
Primary Info alert with icon
Primary Success alert with icon
Primary Warning alert with icon
Primary Error alert with icon
Info alert with title
Success alert with title
Warning alert with title
Error alert with title
Info alert with title and icon
Success alert with title and icon
Warning alert with title and icon
Error alert with title and icon
```
## Example
To run the example:
```bash
npm install
npm start
```
## Contributing
Pull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.
## License
[Apache 2](http://www.apache.org/licenses/LICENSE-2.0)