@a2000/panel
v0.0.4
Published
A2K Panel
Downloads
22
Readme
Panel
A container component with styles applied. It's used to create sections with the MS2000 border and background style.
Quick Start
- Begin by installing with your favourite package manager:
npm install @a2000/panel
- 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-panel>
<h2>Section title</h2>
<p>Section content</p>
</a2k-panel>
<!-- a2k web components use standard JavaScript modules. -->
<script type="module">
import "@a2000/panel/a2k-panel.js";
</script>
</body>
</html>