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.

Button size prop or small/large variations #1671

@bmdalex

Description

@bmdalex

Button size prop or small/large variations

Problem description

We need a proper design term to suggest users they can use the Button component at a smaller size or with a more compact style.

This prop will only impact styling, functionality and accessibility stay the same

Proposed solution

1. string prop size

  • API:
<Button size="small" />

2. boolean prop compact

  • API:
<Button compact />
  • alternative names: small, fitted ?
  • implemented in:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions