{"version":"2.1.265","anchor":"code-added-as-a-recognized-ui-block-component-alongside-bu","canonical_anchor":"code-added-as-a-recognized-ui-block-component-alongside-bu","heading":"\"Code\" added as a recognized UI block component alongside Button\/Input\/Select\/Svg","tier":"use","area":"UI Components","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.265\/e\/code-added-as-a-recognized-ui-block-component-alongside-bu","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.265","markdown":"### \"Code\" added as a recognized UI block component alongside Button\/Input\/Select\/Svg\n\nInteractive dialogs can now render a \"Code\" block component alongside Button, Input, Select and Svg\n\n**What**\n\nThe restricted list of components that interactive dialogs (in both the terminal and desktop app) are allowed to render now includes a `Code` element, treated as a block-level component the same way `Button`, `Input`, `Select`, and `Svg` already are.\n\n**Why**\n\nThis lets interactive dialogs display formatted code blocks directly, rather than being limited to the previous set of form-style elements.\n\n- Area: UI Components\n- Names: `Code`\n- Tier: Use it now\n- Useful: 2\/5\n- Signal: 1\/5"}