open-index/open-npm huggingface dataset:
npm package: @smartgift/card-isle-ui
Description: ## Overview
Latest version: 1.1.2

# Card Isle UI

## Overview

The Card Isle UI is a JavaScript library that provides a animation utility system for web applications.

## Features

- Envelope animation
- Card flap and rotate animation
- Easy to integrate and use


## Installation

```bash
npm install @smartgift/card-isle-ui
```

## Usage

```javascript
import { CardIsleAnimation } from '@smartgift/card-isle-ui';

const card = new CardIsleAnimation({
  targetSelector: '#card-container',
  orientation: 'landscape',
  cardImage: 'https://example.com/card-image.jpg',
  onOpenCard: () => {
    console.log('Card opened!');
  }
});
```