GitHub

Background Pattern

Animated decorative background patterns

Installation

pnpm add @corew500/ui

Usage

import { BackgroundPattern } from "@corew500/ui/background-pattern"

<BackgroundPattern>Content</BackgroundPattern>

Variants

backgroundPatternVariants

AxisValuesDefault
variant
dotsgridkilalobeams
dots

API Reference

Props

PropTypeDefaultDescription
beamCountnumber6Number of beams for the beams variant (default: 6)
variantenum

Accessibility

Screen Readers

  • - Decorative only; uses `aria-hidden="true"` on SVG elements.

Additional

  • Animation respects `prefers-reduced-motion` via `motion-safe:`.

Localization

Translatable Content

  • - No text content to translate

Additional

  • Pattern styles are purely visual and language-agnostic

Related

Related Components