Skip to content
#

primer

Here are 119 public repositories matching this topic...

react
emplums
emplums commented Dec 2, 2020

(moved over from https://github.com/github/design-systems/issues/860, thanks @smockle 👋 !)

Problem

Occasionally it’s useful to add an interactive element with the semantics of button (correctly represented in the AT)—but without its visual styles.

Solution

Other teams at GitHub spread the following object in sx props to destyle Buttons:

// Removes most of 'button'’s visual appearanc

joelhawksley
joelhawksley commented Oct 13, 2021

Problem

In reviewing our uses of the FlashComponent, our existing actions slot is nearly always used with a button.

Proposed solution

I'm wondering if we could move to having a button slot instead that wraps ButtonComponent, allowing for finer-grained control over how the button is rendered.

Improve this page

Add a description, image, and links to the primer topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the primer topic, visit your repo's landing page and select "manage topics."

Learn more