Noise texture
A fine grain to lay over flat colour.
Add it to your project
With the Magic UI commandTerminal
npx shadcn@latest add @magicui/noise-texture
First time with Magic UI? Set it up once.
The code
"use client"
import { useId, type ComponentProps } from "react"
import { cn } from "@/lib/utils"
export interface NoiseTextureProps extends ComponentProps<"svg"> {
/** Extra classes merged onto the root `svg` element. */
className?: string
/**
* `baseFrequency` for `feTurbulence`; higher values yield finer-grained noise.
* @default 0.4This comes with paid plans
The code for every component comes with paid plans, along with the rest of the AI toolkit. The first component under each heading is free.