{"templateId":"markdown","versions":[{"version":"shipstation-v2","label":"ShipStation V2 API","link":"/apis/shipstation-v2/docs/elements/account-settings/select-label-layout","default":true,"active":false,"folderId":"58c9a61d"},{"version":"shipengine","label":"ShipStation API (formerly ShipEngine)","link":"/apis/shipengine/docs/elements/account-settings/select-label-layout","default":false,"active":true,"folderId":"58c9a61d"},{"version":"shipstation-v1","label":"ShipStation V1 API","link":"/apis/shipstation-v1/docs/elements/account-settings/select-label-layout","default":false,"active":false,"folderId":"58c9a61d"}],"sharedDataIds":{"sidebar":"sidebar-apis/@shipengine/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Select Label Layout Element","keywords":"shipping, labels, shipstation, documentation, api","siteUrl":"https://docs.shipstation.com","lang":"en-US","llmstxt":{"hide":false,"title":"ShipStation API LLM Docs","description":"Find links and references to all markdown documentation for use with LLMs","excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"select-label-layout-element","__idx":0},"children":["Select Label Layout Element"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The Select Label Layout Element allows users to easily change and update the format and layout of their purchased shipping labels. This Element gives users the flexibility to choose the format that best suits their needs and preferences."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Users can choose between letter (8.5 x 11 inches) or thermal (4 x 6 inches) formats."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This can be used as a stand-alone Element and/or utilized within the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/apis/shipengine/docs/elements/account-settings/account-settings"},"children":["Account Settings Element"]}," via the Shipping Label Layout section."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"create-a-select-label-layout-element","__idx":1},"children":["Create a Select Label Layout Element"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"jsx","header":{"controls":{"copy":{}}},"source":"import { SelectLabelLayout, ElementsProvider } from '@shipengine/elements';\nimport { themeConfig } from '../themeConfig';\n\nconst tokenPath = '/path/to/token/endpoint';\n\nconst Foo = () => {\n  const getToken = useCallback(() => {\n    return fetch(tokenPath).then((res) => res.text());\n  }, []);\n\n  return (\n    <ElementsProvider\n      getToken={getToken}\n      themeConfig={themeConfig}\n      onError={handleError}\n    >\n      <SelectLabelLayout.Element />\n    </ElementsProvider>\n  );\n};\n","lang":"jsx"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"sdk","__idx":2},"children":["SDK"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"js","header":{"controls":{"copy":{}}},"source":"// Creates a new instance of the Elements SDK.\nconst elements = new ElementsSDK(getToken, {\n  onError: (err: Error) => console.error(err),\n  themeConfig: themeConfig,\n  locale: 'en-US',\n});\n\nconst selectLabelLayout = elements.create('selectLabelLayout');\n","lang":"js"},"children":[]}]},"headings":[{"value":"Select Label Layout Element","id":"select-label-layout-element","depth":1},{"value":"Create a Select Label Layout Element","id":"create-a-select-label-layout-element","depth":2},{"value":"SDK","id":"sdk","depth":2}],"frontmatter":{"seo":{"title":"Select Label Layout Element"}},"lastModified":"2026-04-08T10:47:45.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/apis/shipengine/docs/elements/account-settings/select-label-layout","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}