The arrk-poc-button
library provides a customizable button component with various configurations.
You can install the arrk-poc-button
library via npm:
npm install arrk-poc-button
To use the arrk-button
component in your HTML, follow these steps:
- Include the necessary CSS and JavaScript files in your project:
<head>
<link rel="stylesheet" href="path/to/arrk-button.css">
</head>
<body>
<script src="path/to/arrk-button.js"></script>
</body>
- Insert the button element in your HTML:
<arrk-button label="Submit"></arrk-button>
Customize the button appearance using the available attributes. For example:
<arrk-button size="large" label="Submit" primary="true"></arrk-button>