1.21.0 • Published 1 year ago

@wix/design-system-illustrations v1.21.0

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Wix Design System Illustrations

Welcome to the @wix/design-system-illustrations library! This package provides a collection of high-quality illustrations.

Installation

To install the @wix/design-system-illustrations package, run the following command in your project directory:

yarn add @wix/design-system-illustrations

Usage

Importing and using illustrations in your React application is straightforward.

Here's an example of how to use an illustration:

import React from 'react';
import { AddingElements } from '@wix/design-system-illustrations';

const MyComponent = () => {
  return (
    <div>
      <h1>Welcome to My Component</h1>
      <AddingElements />
    </div>
  );
};

export default MyComponent;

Here's an example of how to use an illustration for TPA's and Editor Elements team:

import React from 'react';
import { AddingElements } from '@wix/design-system-illustrations';

const MyComponent = (editorType = 'studio') => {
  return (
    <div>
      <h1>Welcome to My Component</h1>
      <AddingElements skin={editorType} />
    </div>
  );
};

export default MyComponent;

Property skin has been exposed for every single illustration component to allow switching from edge to crisp illustrations theme. The default skin is edge.

<AddingElements skin="studio" />
<AddingElements skin="edge" />
1.19.0

1 year ago

1.18.0

1 year ago

1.17.0

1 year ago

1.21.0

1 year ago

1.20.0

1 year ago

1.15.0

1 year ago

1.16.0

1 year ago

1.14.0

1 year ago

1.13.0

1 year ago

1.12.0

1 year ago

1.9.0

1 year ago

1.8.0

1 year ago

1.7.0

1 year ago

1.6.0

1 year ago

1.5.0

1 year ago

1.11.0

1 year ago

1.10.0

1 year ago

1.4.0

1 year ago

1.3.0

1 year ago

1.2.2

1 year ago

1.2.0

1 year ago

1.2.1

1 year ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago