Line Grid

Line Grid: Horizontal ruled lines with a soft paper gradient — editorial layouts, docs, and notebook-style sections. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.

Install Line Grid

npx motion-ui-skill add line-grid-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

Line Grid

Horizontal ruled lines with a soft paper gradient — editorial layouts, docs, and notebook-style sections.

Install

npx motion-ui-skill add line-grid-pattern

Dependencies

  • clsx
  • react
  • tailwind-merge

Usage

"use client";

import { LineGridPattern } from "@/components/background-pattern/line-grid-pattern";

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

API Reference

LineGridPattern

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

Browse this category