@nylira/vue-page-header

2.3.0 • Public • Published

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"

Readme

Keywords

Package Sidebar

Install

npm i @nylira/vue-page-header

Weekly Downloads

1

Version

2.3.0

License

MIT

Last publish

Collaborators

  • nylira