Skip to content
heading / 5.0.31

heading 5.0.31

Install from the command line:
Learn more about npm packages
$ npm install @dusk-network/heading@5.0.31
Install via package.json:
"@dusk-network/heading": "5.0.31"

About this version

Dusk UI Kit - Molecule - Heading

Storybook Docs

Installation

npm i -D @dusk-network/heading

Usage

<script>
  import Heading from "@dusk-network/heading";
  import Button from "@dusk-network/button";
  import Icon from "@dusk-network/icon";

  const icon = "dusk-ticker";
  const heading = "<h1>This is a heading</h1>";
  const button = "Confirm";
</script>

<Heading>
  <svelte:fragment slot="icon">
    {#if icon}
      <Icon name="{icon}" />
    {/if}
  </svelte:fragment>
  {@html heading}
  <svelte:fragment slot="button">
    {#if button}
      <Button>{button}</Button>
    {/if}
  </svelte:fragment>
</Heading>

Details


Assets

  • heading-5.0.31.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0