You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can we consider adding a "boxed" variant to the Testimonial component to support these use cases?
The Single Testimonial page examples have a somewhat transparent background with a blur which should probably exist at the implementation level. However, it would be nice to have the spacing defined in the PB library to have future testimonials share the same spacing.
Thanks for opening this feature request @seangolo ❤
A couple of options here:
Add a Storybook example for your team to reference as the design can be achieved using the Box component today
Add a variant prop to the Testimonial component to add first-class support
My preference would be the latter (option 2) assuming Site Design plan to continue using this design approach in future.
There's a lot of detail here that would be difficult to expect users to implement on their own each time. E.g. responsive paddings, responsive filter effects, etc.
I think it's reasonable to add first-class support to Testimonial for this using the variant prop.
Like the Card component, 'minimal' would be the correspond to the current version of the Testimonial and be made default to avoid a breaking change. 'default' value would be inclusive of a background color and padded, and frost being the same with a background filter applied.
Final API will likely differ, but I'll bring this to other maintainers and provide an update here when that's available.
Depending on the priority of this issue for the SWP team, we may build this internally and potentially port over to the PB API if/when it becomes available.
For full transparency, this feature request is to support the flex template. In an ideal world, the flex template leverages the built in features from PB and has as few bespoke features built as possible. This should make the template easier to adopt and should make the communication around feature support more clear.
Hi PB Team!
I have noticed a few pages that have testimonials that have a boxed wrapper around them:
Single Testimonial:
https://github.com/features/actions
https://github.com/features/issues
Two Testimonials:
https://github.com/features/codespaces
https://github.com/features/code-search
Can we consider adding a "boxed" variant to the Testimonial component to support these use cases?
The Single Testimonial page examples have a somewhat transparent background with a blur which should probably exist at the implementation level. However, it would be nice to have the spacing defined in the PB library to have future testimonials share the same spacing.
CC @simmonsjenna CC @jesussandreas
Thank you for your help!
The text was updated successfully, but these errors were encountered: