@lfiskr/vue-ui-components
TypeScript icon, indicating that this package has built-in type declarations

0.1.19 • Public • Published

@lfiskr/vue-ui-components NPM version Build Status

A set of UI Components for Vue2. Very much a work in progress - use at own risk

Installation

$ npm install --save @lfiskr/vue-ui-components

Usage

import Vue from "Vue";
import UiComponents from "@lfiskr/vue-ui-components";
Vue.use(UiComponents);

An optional config object can be passed as well. The option definition can be found in the models section.

import Vue from "Vue";
import UiComponents from "@lfiskr/vue-ui-components";

const options = {
  theme: {
    primary: "#245e3b"
  }
};
Vue.use(UiComponents);

Included components

TimelineComponent: The timeline component accepts an array of TimelineItems.

Prop Type
items TimelineItem[]
export interface TimelineItem {
  title: string;
  subtitles?: string[];
  text: string;
  icon?: Icon;
}

Jumbotron: The jumbotron component accepts two named slots, left and right. This is the content that goes in the left and right section respectively.

License

MIT © Lasse Fisker

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.19
    0
    • latest

Version History

Package Sidebar

Install

npm i @lfiskr/vue-ui-components

Weekly Downloads

0

Version

0.1.19

License

none

Unpacked Size

549 kB

Total Files

18

Last publish

Collaborators

  • lfiskr