Skip to content

Synthesis4 ​

Tags: wave, gradient

Usage ​

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

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

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

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

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

Props ​

You can configure OmbreSynthesis4 by passing the following props:

NameTypeDefaultDescription
colorAString#14ea26The left color of the first wave
colorBString#391ac3The right color of the first wave
colorCString#6d33ffThe left color of the second wave
colorDString#a66eccThe right color of the second wave
backgroundColorString#0a1029The background color
frequencyNumber1The frequency of the waves
speedNumber1The speed of the waves
amplitudeNumber0.07The amplitude of the waves
smoothnessNumber0.3How soft the edges of the waves are

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.