0.0.9 • Published 4 months ago

quiettomato-ui v0.0.9

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

QuietTomato UI

Simple UI-kit that uses vee-validate and maska packages.

ui_kit_1 ui_kit_2 ui_kit_3 ui_kit_4

Features

  • Toasts
  • Modal window
  • Light and dark themes
  • Button ripple effect as vue directive

Installation

npm i quiettomato-ui

Usage

import components and needed directive/composables:

<script setup lang="ts">
    import {
    BaseInput,
    BaseButton,
    useToasts,
    useTheme,
    BaseToaster,
} from "quiettomato-ui";
    const { addToast } = useToasts();
    const { initTheme, changeTheme } = useTheme();
    initTheme("body");
    function addToasts() {
        addToast({ title: "Hello", message: "How are you?", variant: "warning" });
    }
</script>

template:

<template>
  <div class="container">
    <BaseToaster />
    <BaseInput shape="black"></BaseInput>
    <BaseButton @click="addToasts"> Add Toast! </BaseButton>
    <BaseButton @click="changeTheme"> Change Theme </BaseButton>
  </div>
</template>
0.0.9

4 months ago

0.0.8

4 months ago

0.0.7

4 months ago

0.0.6

4 months ago

0.0.5

4 months ago

0.0.4

4 months ago

0.0.3

4 months ago

0.0.2

4 months ago

0.0.1

4 months ago