Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bigcommerce/big-design

Design system that powers the BigCommerce ecosystem.
https://github.com/bigcommerce/big-design

bigcommerce design-system react

Last synced: 5 days ago
JSON representation

Design system that powers the BigCommerce ecosystem.

Awesome Lists containing this project

README

        



BigDesign

[![npm version](https://img.shields.io/npm/v/@bigcommerce/big-design.svg?style=flat)](https://www.npmjs.com/package/@bigcommerce/big-design) [![CircleCI](https://circleci.com/gh/bigcommerce/big-design.svg?style=shield)](https://circleci.com/gh/bigcommerce/big-design)

### Documentation

You can find documentation and examples on our [docs page](https://bigcommerce.github.io/big-design).

### Quick start guide

Add BigDesign and styled-components@5 to your project using `npm`:

```
npm install @bigcommerce/big-design styled-components@5
```

or with `pnpm`:

```
pnpm add @bigcommerce/big-design styled-components@5
```

Add the font as a `` in your `index.html`/`` element.

```html



```

Import the `GlobalStyles` component and use it once in your app. This will set a few styles globally
and add [normalize.css](https://github.com/necolas/normalize.css/). We recommend placing it close to
your root component. Then import any component, such as `Button`, to use it anywhere in your app.

```jsx
import { Button, GlobalStyles } from '@bigcommerce/big-design';

...


Click me

```

### Monorepo

This monorepo uses [Turborepo](https://turbo.build/repo/docs) and [pnpm Workspaces](https://pnpmpkg.com/lang/en/docs/workspaces/).

Workspaces are inside the [packages](https://github.com/bigcommerce/big-design/blob/main/packages) directory.

- [big-design](https://github.com/bigcommerce/big-design/blob/main/packages/big-design): React component library.
- [big-design-theme](https://github.com/bigcommerce/big-design/blob/main/packages/big-design-theme): Default Theme.
- [big-design-icons](https://github.com/bigcommerce/big-design/blob/main/packages/big-design-icons): Icons library.
- [big-design-patterns](https://github.com/bigcommerce/big-design/tree/main/packages/big-design-patterns): Pattern library.
- [docs](https://github.com/bigcommerce/big-design/blob/main/packages/docs): Documentation live here.
- [configs](https://github.com/bigcommerce/big-design/blob/main/packages/configs): (internal) Shared configs between packages.

### Changelogs

As this is a monorepo, each package has it's own Changelog. Links for each can be found below

- [big-design](https://github.com/bigcommerce/big-design/blob/main/packages/big-design/CHANGELOG.md)
- [big-design-theme](https://github.com/bigcommerce/big-design/blob/main/packages/big-design-theme/CHANGELOG.md)
- [big-design-icons](https://github.com/bigcommerce/big-design/blob/main/packages/big-design-icons/CHANGELOG.md)
- [big-design-patterns](https://github.com/bigcommerce/big-design/blob/main/packages/big-design-patterns/CHANGELOG.md)
- [configs](https://github.com/bigcommerce/big-design/tree/main/packages/configs)
- [docs](https://github.com/bigcommerce/big-design/blob/main/packages/docs/CHANGELOG.md)

### Contributing

To contribute, please read our [Contributing](https://github.com/bigcommerce/big-design/blob/main/CONTRIBUTING.md) guidelines
and [Code of Conduct](https://github.com/bigcommerce/big-design/blob/main/CODE_OF_CONDUCT.md) first.

### Development

Running the following commands will run `big-design` and `docs` in watch mode.

```
pnpm
pnpm run build:icons
pnpm run start
```

Run tests with:

```
pnpm run test
```

Update snapshots with:

```
pnpm build
cd packages/big-design
pnpm run test --update-snapshot
```

Run linter with:

```
pnpm run lint
```

Optional: If you use VS Code, use the following command to configure VSCode with the project-specific settings:

```shell copy
cp .vscode/settings.example.json .vscode/settings.json
```

### Releasing

Project maintainers should release through the Changesets Pull Request. To do this, go to the Pull Request tab, approve, and merge it. The release will then be automatically published to npm, and the documentation will be deployed.

### License
Big Design is licensed under MIT and CC BY 3.0. See [LICENSE.md](./LICENSE.md) for more details.