element-hq / element-hq/compound
Support primary destructive button type on Web
- Dominant language
- MDX
- Stars
- 24
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
Compound designs differentiate between „primary destructive“ and „secondary destructive“ buttons.

https://www.figma.com/file/rTaQE2nIUSLav4Tg3nozq7/Compound-Web-Components?type=design&node-id=636-4&mode=design&t=RQVCJaX5SNce2GlF-0
---
Current Web implementation only supports one `kind` = `primary`, `secondary`, `tertiary` or `destructive`.

---
I am happy to contribute here. But we should decide about how we do it, e.g.:
- ~Keep the `kind` prop and add an additional `destructive` or `sub-kind` prop~
- Support additional kinds `primary-destructive` and `secondary-destructive` (keep and deprecate `destructive` as alias for `secondary-destructive)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.