tldraw icon indicating copy to clipboard operation
tldraw copied to clipboard

[Example Request]: How to hide the frame label of a Frame in custom UI

Open mochizuki-pg opened this issue 1 year ago • 1 comments

What's the example?

Is there any way to hide the frame label of a custom UI frame?

スクリーンショット 2024-05-15 12 15 17

const overrides: CustomTLUiOverrides = {
  frame: (app, frame) => {
    return {
      ...frame,
      
    }
  },
}
editor.createShapes([
    {
	    type: 'frame',
    },
])
```		

### Code of Conduct

- [X] I agree to follow this project's Code of Conduct

mochizuki-pg avatar May 15 '24 03:05 mochizuki-pg

Our SDK API doesn't support that explicitly at the moment but if you never want to show a frame label you should be able to use css

.tl-frame-heading {
  display: none !important;
}

ds300 avatar May 17 '24 14:05 ds300