How to display template variables in Iframe?

When I share the panel using “embed”, I see the chart but don’t see the variables at the top to allow end-user to interact with the chart. Is it by design or am I doing something wrong?