@gits-id/alert
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-beta.3 • Public • Published

GITS Alert

GITS Alert component is a flexible alert component that can be used to display various types of messages to the user.

Installation

Install with your prefered package manager.

With NPM:

npm i @gits-id/alert

With Yarn:

yarn add @gits-id/alert

With PNPM:

pnpm i @gits-id/alert

Usage

To use the component, you can simply include it in your template like this:

<script setup lang="ts">
// import component
import VAlert from '@gits-id/alert';
// import styles (includes dark mode)
import '@gits-id/alert/dist/style.css';
// or import the SASS styles
import '@gits-id/alert/src/VAlert.scss';
// if are using SASS bundle and want to add dark mode support,
// uncomment this line
// import '@gits-id/alert/src/VAlert.dark.scss';
</script>

<template>
  <VAlert color="primary"> Hello World </VAlert>
</template>

Documentation

View full documentation here.

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i @gits-id/alert

Weekly Downloads

5

Version

1.0.0-beta.3

License

MIT

Unpacked Size

63.3 kB

Total Files

30

Last publish

Collaborators

  • gravitano