novatrix-background-demo

PreviousNext

Example showing a novatrix-background-demo component.

Docs
eldorauiexample

Preview

Loading preview…
registry/example/novatrix-background-demo.tsx
"use client"

import Novatrix from "@/registry/eldoraui/novatrix-background"

export default function NovatrixbgDemo() {
  return (
    <div className="bg-background relative z-10 h-[500px] w-full overflow-hidden rounded-lg border">
      <Novatrix color={[1, 1, 1]} amplitude={0.1} speed={1.0} />
    </div>
  )
}

Installation

npx shadcn@latest add @eldoraui/novatrix-background-demo

Usage

import { NovatrixBackgroundDemo } from "@/components/novatrix-background-demo"
<NovatrixBackgroundDemo />