How to change the width of horizontal stack in code?

Hi, I have a kinda basic question.
How do i change the width of horizontal stack on code? (i just want to make a percentage bar with horizontal stack)

If you’re using the headless API, make sure the hstack is named, then use something like this (try it out in Code > API Explorer):

<PlasmicComponent
  component="MyPageOrComponent"
  componentProps={{
    someNamedHstack: {
      style: { width: "500px" }
    }
  }}
/>