@nylira/vue-page-header

Page header component for Vue 2.

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
00Nov 9, 2017Jan 17, 2017Minified + gzip package size for @nylira/vue-page-header in KB

Readme

vue-page-header

Page header component for Vue 2.

Installation

npm install @nylira/vue-page-header

Usage

<template>
  <page-header title="Cool Article" subtitle="Why you should read this now."></btn>
</template>

<script>
  import PageHeader from '@nylira/vue-page-header'
  export default {
    components: {
      PageHeader
    }
  }
</script>

<style>
  .ni-page-header {
    background: #f00;
  }
</style>

Props

title=""
// The label of the button
// Options: Any valid string

subtitle=""
// If you're using FontAwesome, places an icon to the left of the label
// Options: Any valid string

theme="tendermint"
// Adds a custom button theme
// Options: "tendermint"

type="default
// Page header alignment type
// Options: "default", "center", "split"

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.