Edit blocks, parameters, the shell, versions, and publishing from the library editor
The library editor is where a library’s blocks, parameters, and settings are built and maintained. Open it by clicking Libraries in the sidebar, then clicking any library.The editor has two parts: a preview of the library’s blocks rendered with their example values, and a sidebar with four tabs — Chat, Edit, Versions, and Options.
Click any block in the preview to jump straight to it in the sidebar. If the selection overlays get in your way, open the library menu and turn on Disable overlays to click elements in the rendered preview directly.
Chat tab
The Chat tab works like project chat, but for the library itself: describe blocks you want, ask Denada to restyle existing ones, or have it define parameters — and it edits the library directly. You can keep multiple chats, including private chats only you can see.The chat list also offers Edit with external tools, which walks you through connecting an AI agent like Claude Code or Codex to work on the library from outside Denada. See Working with AI agents.
Edit tab
The Edit tab lists the library’s blocks. Click New to add one:
New empty block… — start a fresh block and write or paste its HTML.
Paste block… — paste a block copied from another library.
Click a block to open its settings:
Published — whether the block is available for building projects. Keep a block unpublished while it’s a work in progress.
Category — groups related blocks (headers, content, footers); choose New category… to create one.
Block HTML — opens the block’s HTML editor. Block HTML is written with Eta syntax, so it can reference the block’s parameter values.
Appearance — a short written description of what the block looks like, since Denada cannot “see” the rendered result.
Chat instructions — guidance for Denada on how to fill out this block when building projects.
Parameters
Below the block’s settings is its parameter list. Click New parameter… to add one, or click an existing parameter to edit its type, default value, and instructions. Parameters can be of type Text, Link, Image, Boolean, Enum, Color, Insets, or List (a repeating group of content within a block) — see the libraries overview for what each is for.
Versions tab
The Versions tab is the library’s history:
Checkpoint versions are created automatically after 30 minutes of inactivity.
Click Save current version to record a named version at a meaningful milestone.
Changes committed by connected AI agents appear here too, with the message the agent supplied.
Each version’s menu lets you Rename version, Restore this version, create a New library from this version, or Set as current version. Setting a current version marks a stable release: projects that adopt the library use that version instead of the latest draft.Selecting a version shows the library as it was at that point, so you can review before restoring.
Options tab
The Options tab holds library-wide settings:
Published — makes the library available to Denada and your team for building projects.
Type — Email or Site (landing pages).
Scripting language — enables dynamic content for personalization, wrapped in this syntax on export: Liquid (Braze, Mailchimp, Shopify) or Django (Klaviyo). Leave it on None to disable dynamic content for this library.
Thumbnail — an optional image that replaces the full library rendering in tiles.
Shell HTML — opens the editor for the library’s shell (see below).
Chat instructions — guidance for Denada on how to use the library as a whole. For example, you might explain to include one header block, up to five body blocks, then a standard footer.
Theme — the library-level parameters, shared by every block.
The shell
The shell is the outer HTML document that wraps the assembled blocks in every rendered project: the <head>, font loading (hosted fonts give you permanent @font-face URLs), CSS resets, and page frame. Edit it from Options → Shell HTML. Parameters you define at the shell level appear in the Theme panel and are available to every block — ideal for shared values like a brand color.
Publishing
Publishing happens at two levels:
The library — the Published toggle in Options controls whether the library is available at all.
Individual blocks — each block’s Published toggle controls whether that block is offered when building projects. You can also publish or unpublish a block directly from its tile in the block list.
Undo and redo
Every change in the library editor is undoable. Use the library menu’s undo and redo items, or press Cmd+Z and Shift+Cmd+Z (Ctrl+Z / Ctrl+Y on Windows).
The library menu
The menu in the editor’s header collects library-wide actions:
Rename — rename the library.
Edit combined HTML — edit all of the library’s block HTML in a single document.
Edit library file — edit the library’s portable text format directly, like a virtual export and re-import.
Export library — download a .library file that can be imported into another team.
Import library — replace this library’s contents with an uploaded .library file. A checkpoint of the current version is saved first.
Delete library — delete the library.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Denada Docs","description":"Documentation for Denada, the AI-powered marketing creative platform","colors":{"primary":"#FFBA00","light":"#FFBA00","dark":"#e18f01"},"logo":{"light":"https://mintcdn.com/denada/OHnn3DAhofG_z9GR/logo/light.svg?fit=max\u0026auto=format\u0026n=OHnn3DAhofG_z9GR\u0026q=85\u0026s=c4ef6c0e54bc7de58b25f6d8ae13ddc1","dark":"https://mintcdn.com/denada/OHnn3DAhofG_z9GR/logo/dark.svg?fit=max\u0026auto=format\u0026n=OHnn3DAhofG_z9GR\u0026q=85\u0026s=2583d7b00441333dc96e1201c0ff6779"},"favicon":"https://mintcdn.com/denada/OHnn3DAhofG_z9GR/favicon.svg?fit=max\u0026auto=format\u0026n=OHnn3DAhofG_z9GR\u0026q=85\u0026s=44a563fb2585fd4e9e2beb0f26b8b9a7","navbar":{"links":[{"href":"mailto:support@heydenada.com","label":"Support"}],"primary":{"type":"button","label":"Go to app","href":"https://app.heydenada.com"}},"footer":{"socials":{"x":"https://x.com/heydenada","github":"https://github.com/heydenada","linkedin":"https://linkedin.com/company/heydenada"}},"contextual":{"options":["copy","chatgpt","claude","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Community","icon":"slack","href":"https://join.slack.com/t/denadacommunity/shared_invite/zt-33ermqnvl-kU9677V0eloK5Jf2SSNO5g"},{"anchor":"Blog","icon":"newspaper","href":"https://heydenada.com/blog"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"denada","hasAudioNarration":false,"actualSubdomain":"denada","customDomains":["help.heydenada.com"],"gitSource":{"type":"github","owner":"heydenada","repo":"denada-web","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b00ea87851bdb15eef1452a","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"default","tag":"Guides","count":56},{"language":"default","tag":"Integrations","count":13},{"language":"default","tag":"The editor","count":9},{"language":"default","tag":"Team settings","count":6},{"language":"default","tag":"Legal \u0026 compliance","count":5},{"language":"default","tag":"Libraries","count":5},{"language":"default","tag":"Get started","count":4},{"language":"default","tag":"AI agents \u0026 API","count":3},{"language":"default","tag":"Creating projects","count":3},{"language":"default","tag":"Publishing \u0026 exporting","count":3}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"img.screenshot{border:1px solid rgba(0, 0, 0, 0.12);border-radius:12px;box-shadow:0 2px 10px rgba(0, 0, 0, 0.05)}.dark img.screenshot{border-color:rgba(255, 255, 255, 0.15);box-shadow:none}"}]}
{"page":{"pagePath":"libraries/library-editor","slug":"/libraries/library-editor","pageMetadata":{"title":"The library editor","description":"Edit blocks, parameters, the shell, versions, and publishing from the library editor","sources":["packages/app/libraries/editor/**"],"href":"/libraries/library-editor"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Edit blocks, parameters, the shell, versions, and publishing from the library editor\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,OptimizedImage,Tip}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`The library editor is where a library’s blocks, parameters, and settings are built and maintained. Open it by clicking `,_jsx(_components.strong,{children:`Libraries`}),` in the sidebar, then clicking any library.`]}),`\n`,_jsx(OptimizedImage,{className:`screenshot`,width:`700`,src:`https://mintcdn.com/denada/xjX7XM-d7P3k40as/images/generated/library-editor.png?fit=max\u0026auto=format\u0026n=xjX7XM-d7P3k40as\u0026q=85\u0026s=f04d96dcbf6182692e7a2a89f8de8f57`,alt:`The library editor with the library's blocks rendered in the preview and the sidebar showing the block list grouped by category`,\"data-og-width\":`2880`,\"data-og-height\":`1800`,\"data-path\":`images/generated/library-editor.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/denada/xjX7XM-d7P3k40as/images/generated/library-editor.png?w=280\u0026fit=max\u0026auto=format\u0026n=xjX7XM-d7P3k40as\u0026q=85\u0026s=0636de8cbb7852b1d1799a2b96118ac5 280w, https://mintcdn.com/denada/xjX7XM-d7P3k40as/images/generated/library-editor.png?w=560\u0026fit=max\u0026auto=format\u0026n=xjX7XM-d7P3k40as\u0026q=85\u0026s=d9c33498dfb5d9343a74feca7e2439fe 560w, https://mintcdn.com/denada/xjX7XM-d7P3k40as/images/generated/library-editor.png?w=840\u0026fit=max\u0026auto=format\u0026n=xjX7XM-d7P3k40as\u0026q=85\u0026s=bc2f6aa24e1b9f8a77a37898abf75b8c 840w, https://mintcdn.com/denada/xjX7XM-d7P3k40as/images/generated/library-editor.png?w=1100\u0026fit=max\u0026auto=format\u0026n=xjX7XM-d7P3k40as\u0026q=85\u0026s=8b8678352113d0f6d1bcc07b64d2a0ee 1100w, https://mintcdn.com/denada/xjX7XM-d7P3k40as/images/generated/library-editor.png?w=1650\u0026fit=max\u0026auto=format\u0026n=xjX7XM-d7P3k40as\u0026q=85\u0026s=8e038fdc651c914a5299727e759ea325 1650w, https://mintcdn.com/denada/xjX7XM-d7P3k40as/images/generated/library-editor.png?w=2500\u0026fit=max\u0026auto=format\u0026n=xjX7XM-d7P3k40as\u0026q=85\u0026s=2da6c7ecf291acda90e290c508d5765c 2500w`}),`\n`,_jsxs(_components.p,{children:[`The editor has two parts: a preview of the library’s blocks rendered with their example values, and a sidebar with four tabs — `,_jsx(_components.strong,{children:`Chat`}),`, `,_jsx(_components.strong,{children:`Edit`}),`, `,_jsx(_components.strong,{children:`Versions`}),`, and `,_jsx(_components.strong,{children:`Options`}),`.`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Click any block in the preview to jump straight to it in the sidebar. If the selection overlays get in your way, open the library menu and turn on `,_jsx(_components.strong,{children:`Disable overlays`}),` to click elements in the rendered preview directly.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`chat-tab`,children:`Chat tab`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`Chat`}),` tab works like project chat, but for the library itself: describe blocks you want, ask Denada to restyle existing ones, or have it define parameters — and it edits the library directly. You can keep multiple chats, including private chats only you can see.`]}),`\n`,_jsxs(_components.p,{children:[`The chat list also offers `,_jsx(_components.strong,{children:`Edit with external tools`}),`, which walks you through connecting an AI agent like Claude Code or Codex to work on the library from outside Denada. See `,_jsx(_components.a,{href:`/agents/overview`,children:`Working with AI agents`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`edit-tab`,children:`Edit tab`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`Edit`}),` tab lists the library’s blocks. Click `,_jsx(_components.strong,{children:`New`}),` to add one:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`New empty block…`}),` — start a fresh block and write or paste its HTML.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Paste block…`}),` — paste a block copied from another library.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Click a block to open its settings:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Published`}),` — whether the block is available for building projects. Keep a block unpublished while it’s a work in progress.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Category`}),` — groups related blocks (headers, content, footers); choose `,_jsx(_components.strong,{children:`New category…`}),` to create one.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Block HTML`}),` — opens the block’s HTML editor. Block HTML is written with `,_jsx(_components.a,{href:`https://eta.js.org`,children:`Eta`}),` syntax, so it can reference the block’s parameter values.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Appearance`}),` — a short written description of what the block looks like, since Denada cannot “see” the rendered result.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Chat instructions`}),` — guidance for Denada on how to fill out this block when building projects.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`parameters`,children:`Parameters`}),`\n`,_jsxs(_components.p,{children:[`Below the block’s settings is its parameter list. Click `,_jsx(_components.strong,{children:`New parameter…`}),` to add one, or click an existing parameter to edit its type, default value, and instructions. Parameters can be of type `,_jsx(_components.strong,{children:`Text`}),`, `,_jsx(_components.strong,{children:`Link`}),`, `,_jsx(_components.strong,{children:`Image`}),`, `,_jsx(_components.strong,{children:`Boolean`}),`, `,_jsx(_components.strong,{children:`Enum`}),`, `,_jsx(_components.strong,{children:`Color`}),`, `,_jsx(_components.strong,{children:`Insets`}),`, or `,_jsx(_components.strong,{children:`List`}),` (a repeating group of content within a block) — see the `,_jsx(_components.a,{href:`/libraries/libraries-overview#parameter-types`,children:`libraries overview`}),` for what each is for.`]}),`\n`,_jsx(OptimizedImage,{className:`screenshot`,width:`700`,src:`https://mintcdn.com/denada/xjX7XM-d7P3k40as/images/generated/library-block-parameters.png?fit=max\u0026auto=format\u0026n=xjX7XM-d7P3k40as\u0026q=85\u0026s=d2d78c2367a027e7a2438c04894efc75`,alt:`The Photo Hero block open in the library editor sidebar, with its appearance, chat instructions, and parameter list`,\"data-og-width\":`2560`,\"data-og-height\":`1600`,\"data-path\":`images/generated/library-block-parameters.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/denada/xjX7XM-d7P3k40as/images/generated/library-block-parameters.png?w=280\u0026fit=max\u0026auto=format\u0026n=xjX7XM-d7P3k40as\u0026q=85\u0026s=861ab776c6eb48b129eb1424d688fe41 280w, https://mintcdn.com/denada/xjX7XM-d7P3k40as/images/generated/library-block-parameters.png?w=560\u0026fit=max\u0026auto=format\u0026n=xjX7XM-d7P3k40as\u0026q=85\u0026s=83f109b25098efc7b26faf937d968761 560w, https://mintcdn.com/denada/xjX7XM-d7P3k40as/images/generated/library-block-parameters.png?w=840\u0026fit=max\u0026auto=format\u0026n=xjX7XM-d7P3k40as\u0026q=85\u0026s=4ce5c44c9bf4c69c055a51658b56febd 840w, https://mintcdn.com/denada/xjX7XM-d7P3k40as/images/generated/library-block-parameters.png?w=1100\u0026fit=max\u0026auto=format\u0026n=xjX7XM-d7P3k40as\u0026q=85\u0026s=e9a5c87ea5c3f7cd0b788fa577b18f16 1100w, https://mintcdn.com/denada/xjX7XM-d7P3k40as/images/generated/library-block-parameters.png?w=1650\u0026fit=max\u0026auto=format\u0026n=xjX7XM-d7P3k40as\u0026q=85\u0026s=a79461e2015a709633d5f1dc0d84fad5 1650w, https://mintcdn.com/denada/xjX7XM-d7P3k40as/images/generated/library-block-parameters.png?w=2500\u0026fit=max\u0026auto=format\u0026n=xjX7XM-d7P3k40as\u0026q=85\u0026s=9d1d33a1ca6a7adaa630a2640c9c86d6 2500w`}),`\n`,_jsx(Heading,{level:`2`,id:`versions-tab`,children:`Versions tab`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`Versions`}),` tab is the library’s history:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Checkpoint versions are created automatically after 30 minutes of inactivity.`}),`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.strong,{children:`Save current version`}),` to record a named version at a meaningful milestone.`]}),`\n`,_jsx(_components.li,{children:`Changes committed by connected AI agents appear here too, with the message the agent supplied.`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Each version’s menu lets you `,_jsx(_components.strong,{children:`Rename version`}),`, `,_jsx(_components.strong,{children:`Restore this version`}),`, create a `,_jsx(_components.strong,{children:`New library from this version`}),`, or `,_jsx(_components.strong,{children:`Set as current version`}),`. Setting a current version marks a stable release: projects that adopt the library use that version instead of the latest draft.`]}),`\n`,_jsx(_components.p,{children:`Selecting a version shows the library as it was at that point, so you can review before restoring.`}),`\n`,_jsx(Heading,{level:`2`,id:`options-tab`,children:`Options tab`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`Options`}),` tab holds library-wide settings:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Published`}),` — makes the library available to Denada and your team for building projects.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Type`}),` — `,_jsx(_components.strong,{children:`Email`}),` or `,_jsx(_components.strong,{children:`Site`}),` (landing pages).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Scripting language`}),` — enables dynamic content for `,_jsx(_components.a,{href:`/editor/personalization`,children:`personalization`}),`, wrapped in this syntax on export: `,_jsx(_components.strong,{children:`Liquid`}),` (Braze, Mailchimp, Shopify) or `,_jsx(_components.strong,{children:`Django`}),` (Klaviyo). Leave it on `,_jsx(_components.strong,{children:`None`}),` to disable dynamic content for this library.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Thumbnail`}),` — an optional image that replaces the full library rendering in tiles.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Shell HTML`}),` — opens the editor for the library’s shell (see below).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Chat instructions`}),` — guidance for Denada on how to use the library as a whole. For example, you might explain to include one header block, up to five body blocks, then a standard footer.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Theme`}),` — the library-level parameters, shared by every block.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`the-shell`,children:`The shell`}),`\n`,_jsxs(_components.p,{children:[`The shell is the outer HTML document that wraps the assembled blocks in every rendered project: the `,_jsx(_components.code,{children:`\u003chead>`}),`, font loading (`,_jsx(_components.a,{href:`/libraries/fonts`,children:`hosted fonts`}),` give you permanent `,_jsx(_components.code,{children:`@font-face`}),` URLs), CSS resets, and page frame. Edit it from `,_jsx(_components.strong,{children:`Options`}),` → `,_jsx(_components.strong,{children:`Shell HTML`}),`. Parameters you define at the shell level appear in the `,_jsx(_components.strong,{children:`Theme`}),` panel and are available to every block — ideal for shared values like a brand color.`]}),`\n`,_jsx(Heading,{level:`2`,id:`publishing`,children:`Publishing`}),`\n`,_jsx(_components.p,{children:`Publishing happens at two levels:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`The library`}),` — the `,_jsx(_components.strong,{children:`Published`}),` toggle in `,_jsx(_components.strong,{children:`Options`}),` controls whether the library is available at all.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Individual blocks`}),` — each block’s `,_jsx(_components.strong,{children:`Published`}),` toggle controls whether that block is offered when building projects. You can also publish or unpublish a block directly from its tile in the block list.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`undo-and-redo`,children:`Undo and redo`}),`\n`,_jsxs(_components.p,{children:[`Every change in the library editor is undoable. Use the library menu’s undo and redo items, or press `,_jsx(`kbd`,{children:`Cmd`}),`+`,_jsx(`kbd`,{children:`Z`}),` and `,_jsx(`kbd`,{children:`Shift`}),`+`,_jsx(`kbd`,{children:`Cmd`}),`+`,_jsx(`kbd`,{children:`Z`}),` (`,_jsx(`kbd`,{children:`Ctrl`}),`+`,_jsx(`kbd`,{children:`Z`}),` / `,_jsx(`kbd`,{children:`Ctrl`}),`+`,_jsx(`kbd`,{children:`Y`}),` on Windows).`]}),`\n`,_jsx(Heading,{level:`2`,id:`the-library-menu`,children:`The library menu`}),`\n`,_jsx(_components.p,{children:`The menu in the editor’s header collects library-wide actions:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Rename`}),` — rename the library.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Edit combined HTML`}),` — edit all of the library’s block HTML in a single document.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Edit library file`}),` — edit the library’s portable text format directly, like a virtual export and re-import.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Export library`}),` — download a `,_jsx(_components.code,{children:`.library`}),` file that can be imported into another team.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Import library`}),` — replace this library’s contents with an uploaded `,_jsx(_components.code,{children:`.library`}),` file. A checkpoint of the current version is saved first.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Delete library`}),` — delete the library.`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"The library editor","description":"Edit blocks, parameters, the shell, versions, and publishing from the library editor","sources":["packages/app/libraries/editor/**"],"href":"/libraries/library-editor"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Chat tab","slug":"chat-tab","depth":2,"children":[]},{"title":"Edit tab","slug":"edit-tab","depth":2,"children":[{"title":"Parameters","slug":"parameters","depth":3,"children":[]}]},{"title":"Versions tab","slug":"versions-tab","depth":2,"children":[]},{"title":"Options tab","slug":"options-tab","depth":2,"children":[]},{"title":"The shell","slug":"the-shell","depth":2,"children":[]},{"title":"Publishing","slug":"publishing","depth":2,"children":[]},{"title":"Undo and redo","slug":"undo-and-redo","depth":2,"children":[]},{"title":"The library menu","slug":"the-library-menu","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"denada","siteName":"Denada Docs","title":"The library editor - Denada Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-14T20:15:02.694Z","originalFileLocation":"libraries/library-editor.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Edit blocks, parameters, the shell, versions, and publishing from the library editor\">\u003cmeta data-mint-head name=\"application-name\" content=\"Denada Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/denada/LeoyP7ehqdY3tXO7/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/denada/LeoyP7ehqdY3tXO7/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/denada/LeoyP7ehqdY3tXO7/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/denada/LeoyP7ehqdY3tXO7/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/denada/LeoyP7ehqdY3tXO7/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/denada/LeoyP7ehqdY3tXO7/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/denada/LeoyP7ehqdY3tXO7/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/denada/LeoyP7ehqdY3tXO7/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/denada/LeoyP7ehqdY3tXO7/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"The library editor - Denada Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Edit blocks, parameters, the shell, versions, and publishing from the library editor\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Denada Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://help.heydenada.com/libraries/library-editor\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://denada.mintlify.site/_mintlify/api/og/v2?division=Libraries\u0026amp;title=The+library+editor\u0026amp;description=Edit+blocks%2C+parameters%2C+the+shell%2C+versions%2C+and+publishing+from+the+library+editor\u0026amp;theme=8deb49754d66862b97e6aa0a\u0026amp;signature=df0aebf53c48524c4f262f9e613b60abe85016320d76955edf9cafa05f57208e\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"The library editor - Denada Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Edit blocks, parameters, the shell, versions, and publishing from the library editor\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://denada.mintlify.site/_mintlify/api/og/v2?division=Libraries\u0026amp;title=The+library+editor\u0026amp;description=Edit+blocks%2C+parameters%2C+the+shell%2C+versions%2C+and+publishing+from+the+library+editor\u0026amp;theme=8deb49754d66862b97e6aa0a\u0026amp;signature=df0aebf53c48524c4f262f9e613b60abe85016320d76955edf9cafa05f57208e\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/denada/LeoyP7ehqdY3tXO7/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Denada Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FFBA00\">\u003clink data-mint-head rel=\"canonical\" href=\"https://help.heydenada.com/libraries/library-editor\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/libraries/library-editor.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://help.heydenada.com/#organization\",\"name\":\"Denada Docs\",\"url\":\"https://help.heydenada.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/denada/OHnn3DAhofG_z9GR/logo/light.svg?fit=max\u0026auto=format\u0026n=OHnn3DAhofG_z9GR\u0026q=85\u0026s=c4ef6c0e54bc7de58b25f6d8ae13ddc1\"}},{\"@type\":\"WebSite\",\"@id\":\"https://help.heydenada.com#website\",\"name\":\"Denada Docs\",\"url\":\"https://help.heydenada.com\",\"publisher\":{\"@id\":\"https://help.heydenada.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://help.heydenada.com/libraries/library-editor#webpage\",\"url\":\"https://help.heydenada.com/libraries/library-editor\",\"name\":\"The library editor\",\"description\":\"Edit blocks, parameters, the shell, versions, and publishing from the library editor\",\"dateModified\":\"2026-07-14T20:15:02.694Z\",\"isPartOf\":{\"@id\":\"https://help.heydenada.com#website\"},\"breadcrumb\":{\"@id\":\"https://help.heydenada.com/libraries/library-editor#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://help.heydenada.com/libraries/library-editor#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Libraries\",\"item\":\"https://help.heydenada.com/libraries/libraries-overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"The library editor\",\"item\":\"https://help.heydenada.com/libraries/library-editor\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://help.heydenada.com/libraries/library-editor#article\",\"headline\":\"The library editor\",\"name\":\"The library editor\",\"description\":\"Edit blocks, parameters, the shell, versions, and publishing from the library editor\",\"url\":\"https://help.heydenada.com/libraries/library-editor\",\"mainEntityOfPage\":{\"@id\":\"https://help.heydenada.com/libraries/library-editor#webpage\"},\"dateModified\":\"2026-07-14T20:15:02.694Z\",\"publisher\":{\"@id\":\"https://help.heydenada.com/#organization\"},\"isPartOf\":{\"@id\":\"https://help.heydenada.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Denada Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Denada Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/libraries/library-editor.md","siteName":"Denada Docs","nav":{"global":{"anchors":[{"anchor":"Community","icon":"slack","href":"https://join.slack.com/t/denadacommunity/shared_invite/zt-33ermqnvl-kU9677V0eloK5Jf2SSNO5g"},{"anchor":"Blog","icon":"newspaper","href":"https://heydenada.com/blog"}]},"tabs":[{"tab":"Guides","groups":[{"group":"Get started","pages":[{"title":"Welcome","href":"/welcome"},{"title":"Getting started","href":"/getting-started"},{"title":"How Denada works","href":"/concepts/how-denada-works"},{"title":"Interface overview","href":"/concepts/interface-overview"}]},{"group":"Creating projects","pages":[{"title":"Creating projects","href":"/creating/new-projects"},{"title":"Chat interface","href":"/creating/chat-interface"},{"title":"Landing pages","href":"/creating/landing-pages"}]},{"group":"The editor","pages":[{"title":"Editor interface","href":"/editor/editor-interface"},{"title":"Working with blocks","href":"/editor/working-with-blocks"},{"title":"Using images in projects","href":"/editor/using-images"},{"title":"Personalization \u0026 dynamic content","href":"/editor/personalization"},{"title":"Variations","href":"/editor/variations"},{"title":"Comments and collaboration","href":"/editor/comments-and-collaboration"},{"title":"Project statuses","href":"/editor/project-statuses"},{"title":"Version history","href":"/editor/version-history"},{"title":"Project options","href":"/editor/project-options"}]},{"group":"Publishing \u0026 exporting","pages":[{"title":"Publishing to the web","href":"/exporting/publish-to-web"},{"title":"Exporting projects","href":"/exporting/export-formats"},{"title":"Proofs \u0026 QA","href":"/exporting/proofs-and-qa"}]},{"group":"Images","pages":[{"title":"Image library","href":"/image-library/collections"},{"title":"AI image generation","href":"/image-library/ai-images"}]},{"group":"Organizing your work","pages":[{"title":"Folders","href":"/organizing/folders"},{"title":"Canvases","href":"/organizing/canvases"},{"title":"Team docs","href":"/organizing/docs"}]},{"group":"Libraries","pages":[{"title":"Libraries overview","href":"/libraries/libraries-overview"},{"title":"Creating libraries","description":"Create a library from scratch, build its blocks with chat, or import a .library file","href":"/libraries/creating-libraries"},{"title":"The library editor","href":"/libraries/library-editor"},{"title":"Using libraries in projects","description":"Select a library for a project, add its blocks, and control which library version the project uses","href":"/libraries/using-libraries"},{"title":"Fonts","href":"/libraries/fonts"}]},{"group":"AI agents \u0026 API","pages":[{"title":"Working with AI agents","href":"/agents/overview"},{"title":"Connecting your agent","href":"/agents/connecting"},{"title":"What agents can do","href":"/agents/capabilities"}]},{"group":"Integrations","pages":[{"title":"Integrations overview","href":"/integrations/integrations-overview"},{"title":"Iterable","href":"/integrations/iterable"},{"title":"Braze","href":"/integrations/braze"},{"title":"HubSpot","href":"/integrations/hubspot"},{"title":"Klaviyo","href":"/integrations/klaviyo"},{"title":"Mailchimp","href":"/integrations/mailchimp"},{"title":"Salesforce Marketing Cloud","href":"/integrations/salesforce"},{"title":"Campaign Monitor","href":"/integrations/campaign-monitor"},{"title":"Acoustic","href":"/integrations/acoustic"},{"title":"Cheetah Digital","href":"/integrations/cheetah"},{"title":"Zeta","href":"/integrations/zeta"},{"title":"Figma","href":"/integrations/figma"},{"title":"Jasper","href":"/integrations/jasper"}]},{"group":"Team settings","pages":[{"title":"Team management","href":"/team/team-management"},{"title":"Workspace settings","href":"/team/workspace-settings"},{"title":"Billing and plans","href":"/team/billing-and-plans"},{"title":"Single sign-on (SSO)","href":"/team/sso-setup"},{"title":"Custom domains","href":"/team/custom-domains"},{"title":"API tokens","href":"/team/api-tokens"}]},{"group":"Legal \u0026 compliance","pages":[{"title":"Privacy Policy","href":"/legal/privacy-policy"},{"title":"Data Processing Agreement","href":"/legal/data-processing-agreement"},{"title":"Sub-processors","href":"/legal/sub-processors"},{"title":"GDPR Compliance Statement","href":"/legal/gdpr-statement"},{"title":"CCPA Notice","href":"/legal/ccpa-notice"}]}]}]},"basePath":"","title":"The library editor - Denada Docs","deploymentId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","buildId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-BQ4tbj_9.js","lightbox-handle-r17bVUz3.js"]}