All Projects â†’ ionic-team â†’ stencil-helmet

ionic-team / stencil-helmet

Licence: MIT license
Declaratively update the <head> from a Stencil app.

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to stencil-helmet

Ant Ux
🎸 A sitemap template for ux design
Stars: ✭ 1,077 (+4795.45%)
Mutual labels:  stencil
Stencil Router
A simple router for Stencil apps and sites
Stars: ✭ 157 (+613.64%)
Mutual labels:  stencil
capacitor-site
Capacitor website
Stars: ✭ 0 (-100%)
Mutual labels:  stencil
Aarkay Archived
AarKay is a language independent code generation framework. This project has been deprecated and is no longer maintained.
Stars: ✭ 69 (+213.64%)
Mutual labels:  stencil
Stencil Store
Store is a lightweight shared state library by the StencilJS core team. Implements a simple key/value map that efficiently re-renders components when necessary.
Stars: ✭ 107 (+386.36%)
Mutual labels:  stencil
gatsby-remark-highlight-code
Adds stylish cards and syntax highlighting to code blocks in markdown files
Stars: ✭ 63 (+186.36%)
Mutual labels:  stencil
Stencils
Major stencil collections for Pencil
Stars: ✭ 46 (+109.09%)
Mutual labels:  stencil
d3-stencil
Charts built with D3 and Stencil. Framework-agnostic, simple.
Stars: ✭ 65 (+195.45%)
Mutual labels:  stencil
Atoms
Atoms for Blaze UI
Stars: ✭ 1,505 (+6740.91%)
Mutual labels:  stencil
stencil-boilerplate
A Stencil app boilerplate including routing, Redux etc.
Stars: ✭ 51 (+131.82%)
Mutual labels:  stencil
Nx Extensions
Nrwl Nx Extension for StencilJS
Stars: ✭ 71 (+222.73%)
Mutual labels:  stencil
Ionic Framework
A powerful cross-platform UI toolkit for building native-quality iOS, Android, and Progressive Web Apps with HTML, CSS, and JavaScript.
Stars: ✭ 45,802 (+208090.91%)
Mutual labels:  stencil
block-photos
A photos app built with Ionic and Blockstack as backend.
Stars: ✭ 24 (+9.09%)
Mutual labels:  stencil
Deckdeckgo
The web open source editor for presentations
Stars: ✭ 1,117 (+4977.27%)
Mutual labels:  stencil
cncf-stencils
Graffles stencils for CNCF projects.
Stars: ✭ 74 (+236.36%)
Mutual labels:  stencil
Bruit.io
bruit.io is a brilliant✨ easy to use feedback tool
Stars: ✭ 54 (+145.45%)
Mutual labels:  stencil
Animatable Component
Animate once, use Everywhere! 💫
Stars: ✭ 188 (+754.55%)
Mutual labels:  stencil
open-earth-compiler
development repository for the open earth compiler
Stars: ✭ 50 (+127.27%)
Mutual labels:  stencil
web-photo-filter
A Web Component to apply Instagram-like WebGL filters to photos
Stars: ✭ 105 (+377.27%)
Mutual labels:  stencil
activiti-examples
Alfresco Process Services powered by Activiti Examples.
Stars: ✭ 58 (+163.64%)
Mutual labels:  stencil

CircleCI @stencil/helmet

Stencil Helmet

Declaratively update the <head> from a Stencil app.


This is a Stencil component meant to be used within Stencil apps to declaratively update the document <head>. You pass it elements that you'd normally place in <head>, and it updates <head> accordingly. Each instance will override duplicate tags from preceding instances.

Note that, because it uses virtual DOM as input, stencil-helmet can only be used within Stencil apps and not as a standalone web component.

Installation

npm install @stencil/helmet

Usage

import Helmet from '@stencil/helmet';

//...
export class MyComponent {
  render() {
    return (
      <div>
        <Helmet>
          <title>{this.title}</title>
          <meta name="description" content={this.description}/>
          <link rel="stylesheet" href="/styles.css"/>
        </Helmet>
      </div>
    );
  }
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].