masc-vue

(WIP) Vue3 UI components based on daisyui.
4,808 10
Install
npm install masc-vue
Latest Version:0.4.7
Vue:3
License:MIT
Last Updated:Jul 14, 2025
Links: GitHub  ·  npm
Maintainer: siddiquipro

masc-vue

(WIP) Vue3 UI components based on daisyui.

Usage

Install:

$ pnpm add masc-vue
# or
$ npm add masc-vue
# or
$ yarn add masc-vue

Import all(❌ not recommended):

// main.ts
import masc from "masc-vue";
import { createApp } from "vue";
import App from "./App.vue";

// import custom css used in the components
import "masc-vue/style.css";

const app = createApp(App);
app.use(masc); // register all components

Importing individual components (Globally)

import { SCard } from "masc-vue";
app.component("card", SCard);

Importing components locally

<template>
  <SCard title="Card Title">
   <p>This is card body</p>
   <SBtn @click="openToast" class="btn-primary">Alert User</SBtn>
  </SCard>
</template>
<script setup lang="ts">
import { SCard, SBtn , useNotify} from "masc-vue";

//notify comes with alert, confirm as modals promises
//and info, success, warning, error as toast messages
const notify = useNotify();

function openToast(){
  notify.info('This is a random message' , {});
}

</script>

Related Packages

vue-daisyui-theme-manager

A plugin that allows you to change DaisyUI themes during runtime. As well as, se...

842 11
li-daisy

基于 DaisyUI 和 Tailwind CSS 的 Vue 3 组件库

8,783 3
cornet-ui

Cornet — Vue 3 component library built on DaisyUI 5 and Tailwind CSS 4. Usable a...

3,735
@rc-component/async-validator

Validate form asynchronous

99,929,287 16

Version History

Version Released Vue License
0.4.7 ^3.5.16 MIT
0.4.6 ^3.5.16 MIT
0.4.5 ^3.5.16 MIT
0.4.4 ^3.3.4 MIT
0.4.3 ^3.3.4 MIT