Skip to content
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
@dvdzkwsk

Description

@dvdzkwsk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    RFCvstsPaired with ticket in vsts

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions