Skip to content
synccn

Background Pattern

Dot or grid backdrop with faded edges.

Dots

Grid

Installation

$ pnpm dlx shadcn@latest add @synccn/pattern

First time in this project? Connect synccn with one command.

Usage

import { Pattern } from "@/components/ui/orbit";<Pattern variant="dots" />

API reference

Generated from the component's TypeScript types, so it always matches the code.

Pattern

Dot or grid backdrop, faded toward the edges.

  • variant
    "dots" | "grid"

    Default "dots"

    Pattern style.

  • fade
    "radial" | "top" | "none"

    Default "radial"

    How the edges fade out.

  • className
    string

    Extra classes for the root element.

Dependencies

Read from the component's imports when the site builds. The CLI installs all of these for you.

Helpers

npm packages

Accessibility

From the source

Read from this component's code when the site builds, so it can't drift.

No ARIA roles, key handling or motion settings in its source. It renders plain elements, so its accessibility comes from the content and labels you give it.