-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feedback] PricingOptions
#569
Comments
cc. @danielguillan, @jesussandreas and @simmonsjenna for initial feedback on how much of this should upstreamed to the core library. |
Considering the context agnostic nature of the Primer Brand component most of the above seem to be edge case that shouldn't be baked in the component.
I think these last two should be upstreamed but the rest should be customized via CSS |
I would say that although it shouldn't be upstream immediately, we should explore what these variants look like in design and then come back to it to upstream it. There are things to consider such as the spacing between discount and price as well as labels. |
Agree with @jesussandreas here on delaying an upstream. We can see it live on GitHubuniverse.com now though for reference. In addition to what @nsolerieu suggested upstreaming, any reason why we wouldn't push these forward?
|
This makes sense to me too. We can make the component handle this automatically instead of having a dedicated property to configure the visibility. |
Here some feedback from using the component in an upcoming project:
Make divider line optional
Feedback
This is probably meant to add some balance when there are not the same amount of buttons, but maybe wouldn't really be needed if both sides only have a single button.
Make "What's included" optional
Feedback
Decrease font-weight of price
Feedback
I think it's already "normal". But it would be from
450
to400
.Increase space between prices
Feedback
I think in addition to the current
12px
gap, have another8px
margin, so20px
in total?Add an "extra" variant
Currently there is an
included
andexcluded
variant. Another variant could beextra
oraddon
with a+
icon.Feedback
Smaller fonts on mobile
Feedback
Reduced font sizes on mobile (👈 left Primer Brand, 👉 right Design)
This project also has an additional description for each
FeatureListItem
, but not sure how common that will be.I haven't tried to customize any of the above, but some might can be considered in Primer Brand.
/cc @natalie-iv @nsolerieu @jesussandreas
The text was updated successfully, but these errors were encountered: