# @lovebowls/customElements

A collection of custom web elements for LoveBowls applications.

## Installation

```bash
npm install @lovebowls/customElements
```

## Usage

```javascript
import { LinkElement } from '@lovebowls/customElements';

// The element will be automatically registered as 'subscribe-button'
// Use it in your HTML:
<subscribe-button url="https://example.com"></subscribe-button>
```

## Development

```bash
# Install dependencies
npm install

# Run tests
npm test

# Build the project
npm run build

# Development mode with watch
npm run dev
```

## Available Elements

### Subscribe Button

A customizable subscription button element that can be used across LoveBowls applications.

```html
<subscribe-button url="https://example.com"></subscribe-button>
```

Attributes:
- `url`: The URL to navigate to when clicked (defaults to 'https://lovebowls.co.uk/')

## License

MIT 