@morpheme/primitives
v1.0.0-rc.7
Published
Unstyled Vue 3 UI Component Library
Downloads
331
Readme
Morpheme Primivites
Completely unstyled Vue component library.
Installation
Install with your prefered package manager:
With NPM:
npm i @morpheme/primivites
With Yarn:
yarn add @morpheme/primivites
With PNPM:
pnpm add @morpheme/primivites
Quick Usage
<script setup lang="ts">
import {Alert} from '@morpheme/primitives';
</script>
<template>
<transition name="fade">
<Alert
v-bind="args"
v-slot="{hide}"
class="bg-red-500 text-white text-sm p-4 rounded-lg flex justify-between items-center"
>
This is the title
<button @click="hide">Close</button>
</Alert>
</transition>
</template>
Documentation
View full documentation here
License
MIT