Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/adamjarling/zuma-blocks

React components for music / promo websites
https://github.com/adamjarling/zuma-blocks

Last synced: 6 days ago
JSON representation

React components for music / promo websites

Awesome Lists containing this project

README

        

# Zuma Blocks

Blocks which are used for building music websites.

## Usage

```shell
# pnpm install
pnpm add zuma-blocks
# npm install
npm install zuma-blocks
# yarn install
yarn add zuma-blocks
```

### TailwindCSS

To carry through TailwindCSS styles in a consuming project, you'll need to update the consuming project's `tailwind.config.js` to recognize the zuma-blocks `./node_modules/zuma-blocks/dist/**/*.{js,ts,jsx,tsx}` folder. For example, your `tailwind.config.js` might look something like this:

```js
module.exports = {
content: [
"./app/**/*.{js,ts,jsx,tsx}",
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
"./node_modules/zuma-blocks/dist/**/*.{js,ts,jsx,tsx}",
],
theme: {},
plugins: [],
};
```

## Development

```shell

# Start dev server
pnpm dev

# Build for production
pnpm build

# Build in watch mode (for testing in other projects)
pnpm build --watch
```

## License

ISC - free to use and modify