Bento, the office suite that fits in a file
TypeScript mit-licenseofficeoffice-365office-suiteoffice-toolsoffice365open-sourcepowerpointself-hostedsingle-page-appslidesslideshareslideshowslideshow-galleryslideshow-makerslideshows
// SPDX-License-Identifier: MIT
// Copyright (c) 2026 The Bento authors
//
// The sample deck behind "Try it with a sample deck": three small slides that
// exercise text, shapes, a table, a chart, an SVG, links, page fields and
// speaker notes. Bento-authored content, first drawn for an earlier
// standalone converter demo; kept as data, so it converts through exactly the
// path a dropped file takes.
export const SAMPLE_DECK_NAME = 'sample-deck.json'
export const SAMPLE_DECK = "{\"format\": \"bento/slides\", \"version\": 1, \"docId\": \"bento-convert-demo-sample\", \"title\": \"A little more portable\", \"modified\": \"2026-09-21T00:00:00Z\", \"size\": {\"width\": 1280, \"height\": 720}, \"theme\": {\"background\": \"#F7F8F2\", \"color\": \"#244835\", \"accent\": \"#40835B\", \"fontFamily\": \"Arial\"}, \"assets\": {}, \"slides\": [{\"id\": \"intro\", \"background\": \"#F7F8F2\", \"transition\": \"morph\", \"elements\": [{\"id\": \"t-mv2r14tn-0gb4c\", \"type\": \"text\", \"x\": 70, \"y\": 60, \"w\": 1140, \"h\": 85, \"rotation\": 0, \"opacity\": 1, \"html\": \"Your ideas can travel.\", \"fontSize\": 48, \"fontFamily\": \"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif\", \"fontWeight\": 650, \"color\": \"#244835\", \"align\": \"center\", \"valign\": \"middle\", \"lineHeight\": 1.25}, {\"id\": \"t-mv2r14tn-1r9md\", \"type\": \"text\", \"x\": 72, \"y\": 167, \"w\": 820, \"h\": 100, \"rotation\": 0, \"opacity\": 1, \"html\": \"One bento/slides deck.<br>One editable PowerPoint copy.\", \"fontSize\": 27, \"fontFamily\": \"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif\", \"fontWeight\": 400, \"color\": \"#627561\", \"align\": \"center\", \"valign\": \"middle\", \"lineHeight\": 1.25}, {\"id\": \"green-card\", \"type\": \"shape\", \"shape\": \"rect\", \"x\": 72, \"y\": 330, \"w\": 340, \"h\": 220, \"rotation\": 0, \"opacity\": 1, \"fill\": \"#DDE9D1\", \"stroke\": \"transparent\", \"strokeWidth\": 0, \"radius\": 18}, {\"id\": \"cream-card\", \"type\": \"shape\", \"shape\": \"rect\", \"x\": 442, \"y\": 330, \"w\": 340, \"h\": 220, \"rotation\": 0, \"opacity\": 1, \"fill\": \"#F0E4CE\", \"stroke\": \"transparent\", \"strokeWidth\": 0, \"radius\": 18}, {\"id\": \"pink-card\", \"type\": \"shape\", \"shape\": \"rect\", \"x\": 812, \"y\": 330, \"w\": 340, \"h\": 220, \"rotation\": 0, \"opacity\": 1, \"fill\": \"#F0DACE\", \"stroke\": \"transparent\", \"strokeWidth\": 0, \"radius\": 18}, {\"id\": \"t-mv2r14tn-5xuvj\", \"type\": \"text\", \"x\": 98, \"y\": 400, \"w\": 292, \"h\": 85, \"rotation\": 0, \"opacity\": 1, \"html\": \"Text you can edit\", \"fontSize\": 29, \"fontFamily\": \"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif\", \"fontWeight\": 600, \"color\": \"#244835\", \"align\": \"center\", \"valign\": \"middle\", \"lineHeight\": 1.25}, {\"id\": \"t-mv2r14tn-6qkuf\", \"type\": \"text\", \"x\": 468, \"y\": 400, \"w\": 292, \"h\": 85, \"rotation\": 0, \"opacity\": 1, \"html\": \"Shapes you can move\", \"fontSize\": 29, \"fontFamily\": \"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif\", \"fontWeight\": 600, \"color\": \"#244835\", \"align\": \"center\", \"valign\": \"middle\", \"lineHeight\": 1.25}, {\"id\": \"t-mv2r14tn-76zxh\", \"type\": \"text\", \"x\": 838, \"y\": 400, \"w\": 292, \"h\": 85, \"rotation\": 0, \"opacity\": 1, \"html\": \"Notes that travel\", \"fontSize\": 29, \"fontFamily\": \"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif\", \"fontWeight\": 600, \"color\": \"#244835\", \"align\": \"center\", \"valign\": \"middle\", \"lineHeight\": 1.25}, {\"id\": \"t-mv2r14tn-8kxv5\", \"type\": \"text\", \"x\": 72, \"y\": 631, \"w\": 1060, \"h\": 35, \"rotation\": 0, \"opacity\": 1, \"html\": \"bento/convert {{page}} / {{pages}}\", \"fontSize\": 17, \"fontFamily\": \"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif\", \"fontWeight\": 400, \"color\": \"#627561\", \"align\": \"center\", \"valign\": \"middle\", \"lineHeight\": 1.25, \"link\": \"data\"}], \"notes\": \"Everything on this slide is editable in PowerPoint. The original bento deck keeps its motion.\"}, {\"id\": \"data\", \"background\": \"#F7F8F2\", \"transition\": \"none\", \"elements\": [{\"id\": \"t-mv2r14tn-aq0ox\", \"type\": \"text\", \"x\": 70, \"y\": 60, \"w\": 1140, \"h\": 85, \"rotation\": 0, \"opacity\": 1, \"html\": \"The numbers stay useful.\", \"fontSize\": 48, \"fontFamily\": \"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif\", \"fontWeight\": 650, \"color\": \"#244835\", \"align\": \"center\", \"valign\": \"middle\", \"lineHeight\": 1.25}, {\"id\": \"tbl-mv2r14to-bqdn1\", \"type\": \"table\", \"x\": 72, \"y\": 215, \"w\": 475, \"h\": 320, \"rotation\": 0, \"opacity\": 1, \"header\": true, \"columns\": [{\"w\": 1}, {\"w\": 1}], \"rows\": [{\"cells\": [{\"html\": \"Quarter\"}, {\"html\": \"Projects\"}]}, {\"cells\": [{\"html\": \"Q1\"}, {\"html\": \"12\"}]}, {\"cells\": [{\"html\": \"Q2\"}, {\"html\": \"20\"}]}, {\"cells\": [{\"html\": \"Q3\"}, {\"html\": \"28\"}]}], \"style\": {\"headerBg\": \"#1E2A3A\", \"headerColor\": \"#FFFFFF\", \"zebra\": \"rgba(30,42,58,0.05)\", \"borderColor\": \"rgba(30,42,58,0.14)\", \"borderWidth\": 1, \"cellPadX\": 16, \"cellPadY\": 11, \"fontSize\": 18, \"color\": \"#1E2A3A\", \"radius\": 10}}, {\"id\": \"c-mv2r14to-cqphz\", \"type\": \"chart\", \"x\": 625, \"y\": 215, \"w\": 520, \"h\": 320, \"rotation\": 0, \"opacity\": 1, \"preset\": \"bar\", \"option\": {\"xAxis\": {\"type\": \"category\", \"data\": [\"Q1\", \"Q2\", \"Q3\"]}, \"yAxis\": {\"type\": \"value\"}, \"color\": [\"#40835B\"], \"series\": [{\"type\": \"bar\", \"name\": \"Projects\", \"data\": [12, 20, 28]}]}}, {\"id\": \"t-mv2r14to-dx986\", \"type\": \"text\", \"x\": 72, \"y\": 612, \"w\": 1100, \"h\": 50, \"rotation\": 0, \"opacity\": 1, \"html\": \"Illustrative data · editable cells and chart values\", \"fontSize\": 20, \"fontFamily\": \"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif\", \"fontWeight\": 400, \"color\": \"#627561\", \"align\": \"center\", \"valign\": \"middle\", \"lineHeight\": 1.25}], \"notes\": \"Illustrative sample data. Both the table and chart are native PowerPoint objects.\"}, {\"id\": \"art\", \"background\": \"#F7F8F2\", \"transition\": \"none\", \"elements\": [{\"id\": \"t-mv2r14to-fq9kr\", \"type\": \"text\", \"x\": 70, \"y\": 60, \"w\": 1140, \"h\": 85, \"rotation\": 0, \"opacity\": 1, \"html\": \"Some things become still.\", \"fontSize\": 48, \"fontFamily\": \"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif\", \"fontWeight\": 650, \"color\": \"#244835\", \"align\": \"center\", \"valign\": \"middle\", \"lineHeight\": 1.25}, {\"id\": \"artwork\", \"type\": \"svg\", \"x\": 72, \"y\": 225, \"w\": 470, \"h\": 275, \"rotation\": 0, \"opacity\": 1, \"markup\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"470\\\" height=\\\"275\\\" viewBox=\\\"0 0 470 275\\\"><rect width=\\\"470\\\" height=\\\"275\\\" rx=\\\"18\\\" fill=\\\"#DFEAD4\\\"/><circle cx=\\\"180\\\" cy=\\\"137\\\" r=\\\"83\\\" fill=\\\"#568663\\\"/><circle cx=\\\"290\\\" cy=\\\"137\\\" r=\\\"83\\\" fill=\\\"#D5AE73\\\" fill-opacity=\\\"0.8\\\"/></svg>\"}, {\"id\": \"t-mv2r14to-g0arg\", \"type\": \"text\", \"x\": 622, \"y\": 230, \"w\": 520, \"h\": 230, \"rotation\": 0, \"opacity\": 1, \"html\": \"Artwork travels as a graphic.<br><br>Animations and interactivity<br>stay in the original bento file.\", \"fontSize\": 30, \"fontFamily\": \"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif\", \"fontWeight\": 400, \"color\": \"#244835\", \"align\": \"center\", \"valign\": \"middle\", \"lineHeight\": 1.25, \"fx\": {\"enter\": \"fade-up\"}}, {\"id\": \"t-mv2r14to-hfl1l\", \"type\": \"text\", \"x\": 72, \"y\": 612, \"w\": 1100, \"h\": 50, \"rotation\": 0, \"opacity\": 1, \"html\": \"A copy for the next conversation. Keep the original for the full experience.\", \"fontSize\": 20, \"fontFamily\": \"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif\", \"fontWeight\": 400, \"color\": \"#627561\", \"align\": \"center\", \"valign\": \"middle\", \"lineHeight\": 1.25}], \"notes\": \"The SVG is a static graphic. The original file is the home for motion and interactive states.\"}]}"