Skip to content

Vapor7

Tags: wave, gradient, colorful

Usage

Before you begin, make sure that you've installed Ombré in your project. Then use the <OmbreVapor7 /> component like so:

vue
<script setup>
  import { OmbreVapor7 } from '@ombre-ui/vue'
</script>

<template>
  <div class="relative h-screen w-screen">
    <OmbreVapor7 />
  </div>
</template>
tsx
import { OmbreVapor7 } from '@ombre-ui/react'

function MyComponent() {
    return (
        <div className="relative h-screen w-screen">
            <OmbreVapor7 />
        </div>
    )
}
svelte
<script>
  import { OmbreVapor7 } from '@ombre-ui/svelte'
</script>

<div class="relative h-screen w-screen">
    <OmbreVapor7 />
</div>

Props

You can configure OmbreVapor7 by passing the following props:

NameTypeDefaultDescription
colorAStringrgba(177,110,216,0.58)The first color of the vapor wave.
colorBString#C0D684The second color of the vapor wave.
speedNumber1The speed of the waves

Deploying to Production

You must have a valid Ombré license before you deploy to production. You can purchase a lifetime license for unlimited personal & commercial projects for only $36.