This repository was archived by the owner on Mar 4, 2020. It is now read-only.
This repository was archived by the owner on Mar 4, 2020. It is now read-only.
[RFC] Alternatives to Awkward Variant Modifiers #2
Closed
Description
Linked from stardust-ui/react-old#2.
Feature Request
Problem description
In Semantic UI V1 we supported modifiers/variants such as:
<Button basic /> // this is cool
<Button basic="very" /> // this is not
The problem with this is that it's extremely unintuitive, reads awkwardly, and overloads what should be a boolean or otherwise mutually exclusive property (basic
).
Proposed solution
This issue is designed to encourage conversation around alternatives to this problem. One simple idea would be to support something like:
<Button basic />
<Button veryBasic />
Better ideas are encouraged.