Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 686 Bytes

Readme.md

File metadata and controls

25 lines (18 loc) · 686 Bytes

SVG Textures

Create simple and interesting backgrounds with a single line of code.

Check out the live demo with code examples!

Use the same textures anywhere

The SVG utilities are based on Virtual Elements.

This means that you can create textures in the Browser in real time or you can generate .svg files in Node.

If you have a React app simply do .toReactElement(), eg:

const MyReactComponent = (props) =>
{
    return (
        <div>
            <MyOtherComponent/>
            {svgRectPatternLine().toReactElement()}
        </div>
    );
}