# Hero Geometric

> A dithered geometric gradient hero section powered by Three.js shaders with simplex noise and Bayer dithering.

<demo-hero-geometric>



</demo-hero-geometric>

## Installation

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

## Usage

```vue
<script setup lang="ts">
  import HeroGeometric from '~/components/ui/hero-geometric/HeroGeometric.vue';
</script>

<template>
  <HeroGeometric title1="Elevate" title2="Your Brand" />
</template>
```

## Props

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

<tbody>
  <tr>
    <td>
      <code>
        title1
      </code>
    </td>
    
    <td>
      <code>
        string
      </code>
    </td>
    
    <td>
      —
    </td>
    
    <td>
      First line of the headline
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        title2
      </code>
    </td>
    
    <td>
      <code>
        string
      </code>
    </td>
    
    <td>
      —
    </td>
    
    <td>
      Second line of the headline
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        description
      </code>
    </td>
    
    <td>
      <code>
        string
      </code>
    </td>
    
    <td>
      —
    </td>
    
    <td>
      Supporting text below the headline
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        color1
      </code>
    </td>
    
    <td>
      <code>
        string
      </code>
    </td>
    
    <td>
      <code>
        '#3B82F6'
      </code>
    </td>
    
    <td>
      Primary gradient color (deep tone)
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        color2
      </code>
    </td>
    
    <td>
      <code>
        string
      </code>
    </td>
    
    <td>
      <code>
        '#F0F9FF'
      </code>
    </td>
    
    <td>
      Secondary gradient color (pale tone)
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        speed
      </code>
    </td>
    
    <td>
      <code>
        number
      </code>
    </td>
    
    <td>
      <code>
        1
      </code>
    </td>
    
    <td>
      Animation speed multiplier
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        class
      </code>
    </td>
    
    <td>
      <code>
        string
      </code>
    </td>
    
    <td>
      <code>
        ''
      </code>
    </td>
    
    <td>
      Additional CSS classes
    </td>
  </tr>
</tbody>
</table>
