Socket
Book a DemoInstallSign in
Socket

@gits-id/alert

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gits-id/alert

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

latest
npmnpm
Version
1.0.0-beta.3
Version published
Weekly downloads
6
-99.35%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

alert

FAQs

Package last updated on 08 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts