# vue-layout-primitives.heading

> Renders a basic heading with the optional ability to clip the height so that the heading sits at the top of its container.

Latest version **0.0.7** (published 2019-11-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install vue-layout-primitives.heading
pnpm add vue-layout-primitives.heading
yarn add vue-layout-primitives.heading
bun add vue-layout-primitives.heading
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.7 |
| Published | 2019-11-12 |
| First published | 2019-11-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 151.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Phillip Curl |
| Maintainers | philcurl |

## Links

- npm: https://www.npmjs.com/package/vue-layout-primitives.heading
- Repository: https://github.com/phillipcurl/vue-layout-primitives
- Homepage: https://www.npmjs.com/package/vue-layout-primitives.heading
- Issues: https://github.com/phillipcurl/vue-layout-primitives/issues
- npm.io page: https://npm.io/package/vue-layout-primitives.heading

## Recent versions

- 0.0.7 (latest) — 2019-11-12
- 0.0.4 — 2019-11-12

## README

# vue-layout-primitives.heading

> Renders a basic heading with the optional ability to clip the height so that the heading sits at the top of its container.

## Installation

### Directly in the browser

Drop the component in with a `<script>` tag alongside Vue:

```html
<div id="app">
<!-- ... use component here ... -->
</div>

<script src="https://unpkg.com/vue"></script>
<script src="https://unpkg.com/vue-layout-primitives.heading"></script>
<script>
new Vue({ el: '#app' })
</script>
```

### In a module system

Install the component with NPM:

```bash
npm install vue-layout-primitives.heading
```

Then import the component:

```js
import Heading from 'vue-layout-primitives.heading'
```

And either globally register it for use in all components:

```js
Vue.component(Heading, 'vue-layout-primitives.heading')
```

or locally register it for use in an individual component:

```js
export default {
components: { Heading }
}
```

## Usage

```html
<!-- No props or content are necessary. -->
<Heading level="2">...</Heading>
```

---
_Source: https://npm.io/package/vue-layout-primitives.heading · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
