huntkit

0.3.2 • Public • Published

UI-кит для околомаркетинговых штук

Компоненты

  • base-button
  • base-heading
  • base-text
  • base-link
  • base-loader
  • base-stack — комонент для раскладки элементов и настройки отступов между ними
  • base-input
  • base-textarea
  • base-select
  • form-divider
  • form-label
  • form-error
  • form-footer
  • form-row
  • nps-rating

Пример использования

<template>
<form>
  <form-field>
    <template #default="{ id }" label="Field 1">
      <base-input :id="id" />
    </template>
  </form-field>
  <form-field>
    <template #default="{ id }" label="Field 2">
      <base-textarea :id="id" />
    </template>
  </form-field>
  <form-footer>
    <base-button type="submit">Submit form</base-button>
  </form-footer>
</form>
</template>

<script>
import 'huntkit/hunt-kit.css';

import { BaseInput, BaseTextarea, BaseButton, FormField, FormFooter } from 'huntkit';

export default {
  components: {
    BaseInput,
    BaseTextarea,
    BaseButton,
    FormField,
    FormFooter
  }
}
</script>

Readme

Keywords

none

Package Sidebar

Install

npm i huntkit

Weekly Downloads

24

Version

0.3.2

License

none

Unpacked Size

244 kB

Total Files

6

Last publish

Collaborators

  • developer.huntflow