# Pulsating Button

> Vue port of the pulsating-button component from componentry.fun.

<demo-pulsating-button>



</demo-pulsating-button>

## Installation

```bash
npx shadcn-vue@latest add "https://nxui.geoql.in/r/pulsating-button.json"
```

## Usage

```vue
<script setup lang="ts">
  import PulsatingButton from '~/components/ui/pulsating-button/PulsatingButton.vue';
</script>

<template>
  <PulsatingButton>Click Me</PulsatingButton>
</template>
```

## Props

<table>
<thead>
  <tr>
    <th>
      Prop
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Default
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        pulse-color
      </code>
    </td>
    
    <td>
      <code>
        string
      </code>
    </td>
    
    <td>
      <code>
        '#0096ff'
      </code>
    </td>
    
    <td>
      Color of the pulse ring animation
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        duration
      </code>
    </td>
    
    <td>
      <code>
        string
      </code>
    </td>
    
    <td>
      <code>
        '1.5s'
      </code>
    </td>
    
    <td>
      Duration of one pulse cycle
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        class
      </code>
    </td>
    
    <td>
      <code>
        string
      </code>
    </td>
    
    <td>
      <code>
        ''
      </code>
    </td>
    
    <td>
      Additional CSS classes for styling
    </td>
  </tr>
</tbody>
</table>
