@lfiskr/vue-ui-components

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

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@lfiskr/vue-ui-components
0.1.196 years ago6 years agoMinified + gzip package size for @lfiskr/vue-ui-components in KB

Readme

@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()