https://github.com/dash-ui/compound
A utility for creating compound/multi-variant styles
https://github.com/dash-ui/compound
Last synced: 3 months ago
JSON representation
A utility for creating compound/multi-variant styles
- Host: GitHub
- URL: https://github.com/dash-ui/compound
- Owner: dash-ui
- License: mit
- Created: 2021-08-23T00:35:28.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-08-18T00:46:42.000Z (almost 4 years ago)
- Last Synced: 2025-10-19T05:44:10.701Z (9 months ago)
- Language: TypeScript
- Size: 352 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
A utility for creating compound styles with Dash
npm i @dash-ui/compound
---
## Quick start
```js
import compound from "@dash-ui/compound";
```
## API
### compound(styles)
#### Arguments
| Name | Type | Default | Required? | Description |
| ------ | -------- | ------- | --------- | ---------------------------------------------------------------- |
| styles | `Styles` | | Yes | Creates a compound styles utility on top of this styles instance |
## LICENSE
MIT