0.0.18-sg • Published 1 year ago
sg208-button v0.0.18-sg
sg208-button
This is a small NPM package for a simple Vue 3 components library with only two components available at this time, SgButton
and SgButtonText
.
Installation
npm i sg208-button
Use it in Vue3 component
<script setup>
// import the style at the app level
import "sg208-button/style.css";
// import sg208-button component(s) here
import { SgButton, SgButtonText } from "sg208-button"
</script>
<template>
<SgButton>Button Text Here</SgButton>
<SgButton ariaLabel="Your label here"><SomeIconHere /></SgButton>
<SgButtonText text="Button text with prop" />
<SgButtonText>This is SgButtonText</SgButtonText>
<SgButtonText ariaLabel="Your label here"><SomeIconHere /></SgButtonText>
</template>
Thank you
Thank you for visiting and checking out this package, hope it works out for you. I may update this in the near future.