This repository contains a library for custom button components, providing a simple interface for creating and customizing buttons in your HTML projects.
You can install the customer-a-library
library via npm:
npm install customer-a-library
To use the arrk-button
component in your HTML, follow these steps:
-
Include CSS and JavaScript:
Add the necessary CSS and JavaScript files to 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
To include the
arrk-button
component, insert the following element into your HTML:<arrk-button></arrk-button>
Customize the button's appearance using the available attributes. For example, to create a large primary button with a "Submit" label, insert the following into your HTML:
```html
<arrk-button [style]="'primary'"></arrk-button>
```