Satin8
Tags: noise
, organic
, flow
Usage
Before you begin, make sure that you've installed Ombré in your project. Then use the <OmbreSatin8 />
component like so:
vue
<script setup>
import { OmbreSatin8 } from '@ombre-ui/vue'
</script>
<template>
<div class="relative h-screen w-screen">
<OmbreSatin8 />
</div>
</template>
tsx
import { OmbreSatin8 } from '@ombre-ui/react'
function MyComponent() {
return (
<div className="relative h-screen w-screen">
<OmbreSatin8 />
</div>
)
}
svelte
<script>
import { OmbreSatin8 } from '@ombre-ui/svelte'
</script>
<div class="relative h-screen w-screen">
<OmbreSatin8 />
</div>
Props
You can configure OmbreSatin8
by passing the following props:
Name | Type | Default | Description |
---|---|---|---|
colorA | String | #ca2727 | The primary color of the effect |
colorB | String | #ff2424 | The highlight color in the top-right |
brightness | Number | 1 | The overall brightness |
contrast | Number | 0.8 | The overall contrast, mostly in the darker areas |
speed | Number | 1 | The speed of the satin surface motion |
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.