Generate a reusable SVG pattern tile for a filled shape.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
A pattern tile is defined in a pattern coordinate system and repeatedly painted across a target shape; patternUnits and transforms determine whether the tile scales with the object or uses user-space coordinates. The same tile can fill paths of different sizes without duplicating its geometry.
Pattern: dots Width: 400 Height: 400 Tile size: 20 Color: #333333 Background color: #ffffff Opacity: 0.5
Textures, striped illustrations, and reusable design swatches generate SVG patterns.