Settings control the appearance, behavior, and functionality of your Forms.md pages and forms. You can pass settings to theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/formsmd/formsmd/llms.txt
Use this file to discover all available pages before exploring further.
Composer constructor or define them in your Markdown files using the #! prefix.
Usage
Many visual settings support dual values for light and dark modes. Learn more about dual-value settings.
Page structure
Determines the layout of the page.Options:
"form-slides"- Multi-slide form layout (default)"slides"- Presentation-style slides without form functionality"single"- Single-page layout with all content visible
Specifies where new slides are created. Used when
page is "form-slides" or "slides".If set to
"start", content is aligned to the top of the page vertically.Options:"start"- Align content to top
Branding and metadata
The title of the page. Appears in browser tabs and search results.
Identifier for the page or form. Must be a valid HTML id.
An image of your logo added to the header of the page in the top-left corner. Must be valid Markdown image syntax. Supports dual values.
The favicon of the page. Provide a path or URL to the favicon file.
Adds a call to action link styled as a button on the header. Must be valid Markdown link syntax.
Meta tags
Sets the author metadata.
Sets the description metadata. Important for SEO.
Sets the keywords metadata. Provide comma-separated values.
Sets the Open Graph image. Used when sharing on social media.
Sets the Open Graph type.
Sets the Open Graph URL.
Colors and theming
The default or initial color scheme of the page.Options:
"light"- Light mode (default)"dark"- Dark mode
Determines how color scheme preference is saved and applied.Options:
"domain-wide"- Preference applies across all pages on the domain (default)"isolate"- Preference is isolated to this page only
If set to
"show", a toggle button will be available in the footer.Options:"show"- Display color scheme toggle
The primary color used on buttons, form fields, etc. Must be HTML name, hex code, or RGB. Supports dual values.
The text color used on
accent background (e.g., text on buttons). Must be HTML name, hex code, or RGB. Supports dual values.The text color of the page. Must be HTML name, hex code, or RGB. Supports dual values.
The background color of the page. Must be HTML name, hex code, or RGB. Supports dual values.
The background image of the page. Provide valid CSS for
background-image. Supports dual values.Sets an overlay of the
background-color on top of the background image. Accepts a number or percentage. Supports dual values.Typography
The font family used on the page. Provide valid CSS font family value.
URL to import custom fonts. Must be valid CSS for the
@import property.Makes the font size of everything on the page smaller or larger.Options:
"sm"- Smaller font size"lg"- Larger font size
If set to
"anchored", all headings will contain an anchor link.Options:"anchored"- Add anchor links to headings
Layout and UI controls
Controls header visibility and alignment.Options:
"hide"- Hide the header"show"- Show the header"align"- Show header with special alignment
Controls visibility of the footer.Options:
"hide"- Hide the footer"show"- Show the footer
Controls visibility of the Forms.md branding.Options:
"hide"- Hide Forms.md branding"show"- Show Forms.md branding
Controls visibility and function of the page progress indicator.Options:
"hide"- Hide progress indicator"show"- Show functional progress indicator"decorative"- Show decorative-only progress indicator
Controls visibility of next and previous buttons.Options:
"hide"- Hide slide controls"show"- Show slide controls
If set to
"show", the restart button will be visible.Options:"show"- Display restart button
Controls rounding of buttons and UI elements.Options:
"none"- No rounding"pill"- Full pill-shaped rounding
Set the alignment of the slide CTA buttons.Options:
"center"- Center alignment"end"- Right/end alignment"stretch"- Full-width buttons
Custom text for submit buttons.
Form fields
If set to
"classic", the form fields will have a classic appearance.Options:"classic"- Classic form field style
If set to
"sm", the size of form fields will be made smaller.Options:"sm"- Smaller form fields
If set to
"classic", the question and description of form fields will be made smaller.Options:"classic"- Classic label style
Controls visibility of input placeholders.Options:
"hide"- Hide placeholders"show"- Show placeholders
If set to
"all-slides", when a new slide becomes active (including the first slide on page load), the very first form field will be auto-focused.Options:"all-slides"- Enable autofocus on all slides
Used to separate parameters when creating form fields.
Data handling
Reading data (GET)
URL for reading data. Learn more in the Set and Read Data guide.
The format for reading data.Options:
"json"- JSON format (default)"csv"- CSV format"tsv"- TSV format
Name used for objects when reading data. Learn more in the Set and Read Data guide.
Sending data (POST)
URL to send form responses to using POST request.
When sending responses directly to Google Sheets, this specifies which sheet to save responses to.
Internationalization
Sets the language for automatic translation. Supports 9 languages: See the translate() function for working with multilingual content.
en, ar, bn, de, es, fr, ja, pt, zh.The direction of the page’s text.Options:
"ltr"- Left-to-right (default)"rtl"- Right-to-left (for Arabic, Hebrew, etc.)
Advanced
Prefix added to all CSS classes. Set to
"none" to remove the prefix.Dual-value settings
Many visual settings support providing separate values for light and dark color schemes. Use the|| separator to provide two values.
Supported dual-value settings
accentaccentForegroundbackdropOpacitybackgroundColorbackgroundImagebrandcolor
Usage example
The first value applies to light mode, and the second value applies to dark mode. This works seamlessly with the
colorScheme and colorSchemeToggle settings.Complete example
Related
- Composer class - Learn about using the Composer
- translate() function - Working with multilingual content