@a2000/stack
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

Stack

Renders immediate child components as a vertical stack

Quick Start

  1. Begin by installing with your favourite package manager:

npm install @a2000/stack

  1. Use within your HTML templates as follows:
<!DOCTYPE html>
<html>
  <head>
    <title>Quick Start</title>
    <meta charset="UTF-8" />
  </head>

  <body>
    <!-- Use web components in your HTML like regular built-in elements. -->
    <a2k-stack>
      <p>The stack component</p>
      <p>The stack component</p>
    </a2k-stack>

    <!-- a2k web components use standard JavaScript modules. -->
    <script type="module">
      import "@a2000/progress/a2k-stack.js";
    </script>
  </body>
</html>

Readme

Keywords

none

Package Sidebar

Install

npm i @a2000/stack

Weekly Downloads

3

Version

0.0.3

License

MIT

Unpacked Size

10.3 kB

Total Files

17

Last publish

Collaborators

  • andrico1234