Pearl4
Tags: blobs
, organic
, prism
Usage
Before you begin, make sure that you've installed Ombré in your project. Then use the <OmbrePearl4 />
component like so:
vue
<script setup>
import { OmbrePearl4 } from '@ombre-ui/vue'
</script>
<template>
<div class="relative h-screen w-screen">
<OmbrePearl4 />
</div>
</template>
tsx
import { OmbrePearl4 } from '@ombre-ui/react'
function MyComponent() {
return (
<div className="relative h-screen w-screen">
<OmbrePearl4 />
</div>
)
}
svelte
<script>
import { OmbrePearl4 } from '@ombre-ui/svelte'
</script>
<div class="relative h-screen w-screen">
<OmbrePearl4 />
</div>
Props
You can configure OmbrePearl4
by passing the following props:
Name | Type | Default | Description |
---|---|---|---|
speed | Number | 0.15 | The movement speed of the pearl effect. |
colorA | String | #d59a0f | The first color of the foreground. |
colorB | String | #98c184 | The second color of the foreground. |
backgroundColor | String | #9562a6 | The 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.