Fine Grain

Fine Grain: Micro dot grain for a film-paper feel — hero backgrounds that need texture without competing with content. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.

Install Fine Grain

npx motion-ui-skill add fine-grain-pattern

Components install as source into your project. The interactive page also includes preview, code, documentation and install tabs.

Dependencies

  • clsx
  • react
  • tailwind-merge

Source files

Fine Grain

Micro dot grain for a film-paper feel — hero backgrounds that need texture without competing with content.

Install

npx motion-ui-skill add fine-grain-pattern

Dependencies

  • clsx
  • react
  • tailwind-merge

Usage

"use client";

import { FineGrainPattern } from "@/components/background-pattern/fine-grain-pattern";

export function FineGrainPatternDemo() {
  return (
    <div className="flex items-center justify-center p-6">
      <FineGrainPattern />
    </div>
  );
}

API Reference

FineGrainPattern

Prop Type Default Required Description
className string — No Additional CSS classes

Browse this category