Skip to content

nylira/vue-page-header

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"

About

Page header component for Vue 2.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published