Skip to content

Spiral9

Tags: two-tone, spiral

Usage

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

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

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

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

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

Props

You can configure OmbreSpiral9 by passing the following props:

NameTypeDefaultDescription
colorAString#fbcec4The first color of the spiral
colorBString#ef729aThe second color of the spiral
speedNumber1.0The speed of the spiral
intensityNumber1.0The intensity of bands in the spiral
clockwiseBooleanfalseWhether the spiral should spin clockwise or not

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.