{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-embeds/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Slider","description":"Build integrations, automate workflows, and manage forms and responses programmatically with the forms.app API.","siteUrl":"https://developers.forms.app","image":"/assets/formsapp-developer-docs.6ffba4f5ff7d394698661bcdb0ed2a8452f27acaf4e82754e5d0f4109563471c.9c1bb791.png","lang":"en-US","projectTitle":"forms.app Developer Docs","llmstxt":{"sections":[{"title":"llmtxt for forms app documents","includeFiles":["**/*"],"excludeFiles":[]}]},"jsonLd":{"@context":"https://schema.org","@type":"Organization","additionalType":"https://en.wikipedia.org/wiki/Software_as_a_service","url":"https://forms.app","name":"forms.app","logo":"https://cdn.forms.app/icons/all/brands/formsapp-logo-dark.svg","description":"forms.app is a free online form builder designed for teams. forms.app offers a modern, easy-to-use form builder and allows unlimited responses and team members.","foundingDate":"2018","sameAs":"https://linkedin.com/company/formsapp","contactPoint":{"@type":"ContactPoint","contactType":"Customer service","email":"support@forms.app","url":"https://forms.app/en/contact-us"}}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"slider","__idx":0},"children":["Slider"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A panel that slides in from the edge of the screen when its trigger button is clicked (or automatically, using the shared ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["autoOpen"]}," settings)."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"embed-code","__idx":1},"children":["Embed code"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"html","header":{"controls":{"copy":{}}},"source":"<button formsappId=\"69d4bd130b443bda40c8f65a\"></button>\n<script src=\"https://cdn.formsapp.io/embed.js\" type=\"text/javascript\" async defer onload=\"new formsapp('69d4bd130b443bda40c8f65a', 'slider', {'overlay':'rgba(45,45,45,0.5)','button':{'color':'#ff9e24','text':'Click me!'},'width':'767px','height':'100vh','align':'right'}, 'https://eu.forms.app');\"></script>\n","lang":"html"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["<button formsappId=\"...\">"]}," element is the visible trigger; the script styles it using the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["button"]}," option and opens the slider when it's clicked."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"options","__idx":2},"children":["Options"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Option"},"children":["Option"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["overlay"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Background dim color behind the panel, as an ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["rgba()"]}," value."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["button.color"]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["button.text"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Styling for the trigger button."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["width"]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["height"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Size of the sliding panel. ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["height: '100vh'"]}," fills the full viewport height."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["align"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Which edge the panel slides in from: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'left'"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'right'"]},"."]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The slider also supports the shared ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["autoOpen"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["openingAnimation"]}," settings described in ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/embeds/embed-options#shared-button-and-auto-open-settings"},"children":["Embed options"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"whats-next","__idx":3},"children":["What's next"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/embeds/embed-options"},"children":["Embed options"]}," for the other layouts."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/embeds/examples"},"children":["Examples"]}," for React, Next.js, Vue, and Kotlin."]}]}]},"headings":[{"value":"Slider","id":"slider","depth":1},{"value":"Embed code","id":"embed-code","depth":2},{"value":"Options","id":"options","depth":2},{"value":"What's next","id":"whats-next","depth":2}],"frontmatter":{"seo":{"title":"Slider"}},"lastModified":"2026-08-18T10:09:54.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/embeds/embed-options/slider","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}