@wix/design-system
Version:
@wix/design-system
61 lines (36 loc) • 953 B
Markdown
## Feature Examples
### Fills
- description: Add any number of fill options inside of a palette.
- example:
```jsx
```
### Type
- description: Accepts following `fill types`:<br/>
 - `solid color` <br/>
 - `gradient` <br/>
 - `image`
- example:
```jsx
```
### Dimensions
- description: Control component dimensions with a parent container.
Component have no dimensions of its own - It inherits the width and height of a container it is wrapped to.
- example:
```jsx
```
## Common Use Case Examples
### Form Field
- description: Use `<FormField/>` to give the palette a label.
- example:
```jsx
```
### Thumbnail
- description: Create a selection of palette using `<Thumbnail/>` component.
- example:
```jsx
```
### Composer
- description: Use a palette in a variety of composer side panels to allow users to select themes for their designs.
- example:
```jsx
```