@sigveh/basic-ui
v1.2.2
Published
A collection of basic but polished components made with Vue 3 and TypeScript.
Downloads
6
Readme
Installation
npm install @sigveh/basic-ui
Usage
To use the components, simply import them where needed.
<!-- myComponent.vue -->
<script setup lang="ts">
import { Button, Input, Form } from '@sigveh/basic-ui'
import '@sigveh/basic-ui/dist/style.css' // should be imported globally, in main.ts
</script>
<template>
<Form>
<Input label="Email" placeholder="[email protected]" />
<Button type="submit">Submit</Button>
</Form>
</template>
Currently included components
Here is a simple overview of all components currently included in the library.
Development
To run the documentation site, run this command
npm run docs:dev