Skip to content

Pearl7

Tags: blobs, organic, prism

Usage

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

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

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

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

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

Props

You can configure OmbrePearl7 by passing the following props:

NameTypeDefaultDescription
speedNumber0.15The movement speed of the pearl effect.
colorAString#ff8f1cThe first color of the foreground.
colorBString#e89f4bThe second color of the foreground.
backgroundColorString#959cc1The background color behind the pearl effect.

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.