Typeform user feedback (Sidetab)-@typeform/embed-react library. | Community
Skip to main content
Answered

Typeform user feedback (Sidetab)-@typeform/embed-react library.


Hello,

I am implementing Typeform user feedback (Sidetab) in React using @typeform/embed-react library as following:


//In React I use the bellow code

<Sidetab
        id={formId}
        hidden={{
          user_id : me.id,
          name: me.first_name,
        }}
        ref={sidetabRef}
        medium="demo-test"
        buttonText="Send us feedback"
        buttonColor="#ffa366"
/>

All looks good so far, the only issue is that I have not found a way to change text colour in Button or the button size. It seems there is no fields/props in Sidetab component to change button text colour/font and button size.

Any help?

 

Best answer by mathio-tf

Hello, the text color is set based on the background color (to make sure it is properly visible and accessible). Button size is also given based on text length.

However feel free to request this new feature by creating a new issue in our Github repository.

View original

3 replies

Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14946 replies
  • May 19, 2023

@mathio might be able to help you with this!


mathio-tf
Typeform
Forum|alt.badge.img+5
  • Typeform
  • 888 replies
  • Answer
  • May 19, 2023

Hello, the text color is set based on the background color (to make sure it is properly visible and accessible). Button size is also given based on text length.

However feel free to request this new feature by creating a new issue in our Github repository.


@Liz @mathio Thank you for your replay. We have created a new issue in GitHub.


Reply