1.0.6 • Published 4 months ago

q-modern-banner v1.0.6

Weekly downloads
-
License
ISC
Repository
github
Last release
4 months ago

šŸš€ QuasarModernBanner

✨ A clean, modern, and highly customizable banner component for Quasar Framework. Perfect for showcasing announcements, promotions, or alerts in your Vue.js Vite applications.


ā“ Purpose

Quasar's vanilla Banners align with the Google Material Design Guide style, but I have always personally found it boring and uninteresting.

I have created this component to bring a more modern look to the applications I develop in Quasar.

This component will be actively improved over time.


šŸ“¦ Installation

Install the package via npm:

npm i quasar-modern-banner

šŸ› ļø Usage

  1. Import the component into your Vue file:
import { QModernBanner } from 'q-modern-banner'
  1. Use it in your template:
<QModernBanner
    title="Potential Issues Found!"
    subtitle="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor."
    icon="person"
    type="info"
/>

šŸŽØ Props

PropTypeNote
titleString---
subtitleString---
iconStringUses Google Material Icons (Quasar Default)
typeStringEither use info, error, warn or success

šŸ–¼ļø Examples

Image of Banner Examples


šŸ¤ Contributions

Contributions are welcomed. If you'd like to improve this component, please follow these steps: 1. Fork the repo. 2. Create a new branch git checkout -b feature/AmazingFeature. 3. Commit your changes git commit -m 'Add some AmazingFeature'. 4. Pull to the branch git push origin feature/AmazingFeature. 5. Open a pull request.