Skip to content

sifferhans/basic-ui

Repository files navigation

Basic UI cover

Basic UI
A collection of basic but polished components for Vue 3.

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="john@doe.com" />
    <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

Stats

Alt

License

Basic UI is licensed under the MIT license.