For AI agents: a documentation index is available at the root level at /llms.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
LogoLogo
Resources
Get started
ReferenceGuidesExamplesChangelog
ReferenceGuidesExamplesChangelog
  • Designer API
    • Introduction
    • Getting Started
    • Webflow CLI
    • Error Handling
    • App Modes
  • Elements
    • Creating & Retrieving Elements
    • Element Properties & Methods
    • Element Types & Methods
  • Styles
    • Managing Style Properties
    • Managing Variable Modes
  • Components
  • Variables & Collections
    • Variable Collections
    • Variables
    • Variable Modes
        • Get variable mode name
        • Set variable mode name
        • Get variable mode breakpoint
        • Set variable mode breakpoint
  • Assets
  • Pages & Folders
  • Utilities
    • User Events & Notifications
    • App Intents & Connections
  • Additional Resources
    • API Playground
    • FAQs
  • Introduction
  • Getting Started
  • Webflow CLI
  • Error Handling
  • App Modes
  • Elements
  • Creating & Retrieving Elements
  • Get selected element
  • Set selected element
  • Get element children
  • Get the parent component
  • Get all elements
  • Insert element before target element
  • Insert element after target element
  • Nest element as first child
  • Nest element as last child
  • Bulk Add Elements
  • Remove element
  • Element Properties & Methods
  • Get HTML tag
  • Set HTML tag
  • Search element settings
  • Collection List settings
  • Get settings
  • Get resolved settings
  • Set settings
  • Get visibility
  • Set visibility
  • Get DOM ID
  • Set DOM ID
  • Search bindable sources
  • Attributes
  • Get Attributes
  • Get Resolved Attributes
  • Set Attributes
  • Set Attribute
  • Get Attribute Value
  • Get Resolved Attribute Value
  • Remove Attribute
  • Custom Attributes
  • Get All Custom Attributes
  • Get Custom Attribute
  • Set Custom Attribute
  • Remove Custom Attribute
  • Styles
  • Get Styles
  • Set Styles
  • Text Content
  • Set Text Content
  • Get Text Content
  • Display Name
  • Get display name
  • Set display name
  • Element Types & Methods
  • Element Presets
  • DOM Elements
  • Get HTML Tag
  • Set HTML Tag
  • Get All Attributes
  • Get Attribute
  • Set Attribute
  • Remove Attribute
  • Strings
  • Get Text
  • Set Text
  • Components
  • Get Component
  • Search props
  • Get Props
  • Get Resolved Props
  • Set Props
  • Reset All Props
  • Get Slots
  • Get Selected Slot
  • Get Text Prop Element
  • Unlink Component
  • Slots
  • Get display name
  • Get Children
  • Prepend
  • Append
  • Headings
  • Get Heading Level
  • Set Heading Level
  • Images
  • Get Asset
  • Set Asset
  • Get Alt Text
  • Set Alt Text
  • Links
  • Get Link Target
  • Set Link Settings
  • Forms
  • Get Form Name
  • Set Form Name
  • Get Form Settings
  • Set Form Settings
  • Form Inputs
  • Get Required Field Status
  • Set Required Field Status
  • Get Input Name
  • Set Input Name
  • Get Input Type
  • Set Input Type
  • Styles
  • Get all styles
  • Get style by name or path
  • Create style
  • Set style name
  • Remove style
  • Is combo class
  • Get style type
  • Get style selector
  • Is from library
  • Get parent style
  • Managing Style Properties
  • Get style properties
  • Set style properties
  • Get style property
  • Set style property
  • Remove a style property
  • Remove style properties
  • Remove all style properties
  • Managing Variable Modes
  • Get variable mode
  • Get variable modes
  • Set variable mode
  • Set variable modes
  • Remove variable mode
  • Remove variable modes
  • Remove all variable modes
  • Components
  • Get all components
  • Get component by name
  • Get component by ID
  • Search for components
  • Get the selected component
  • Get all variants of a component
  • Get selected variant
  • Get a variant by ID
  • Create a variant
  • Set variant settings
  • Reorder variants
  • Delete a variant
  • Get component instance count
  • Create a component
  • Delete a component
  • Create a component instance
  • Open a component canvas
  • Set the selected variant
  • Select a component
  • Exit out of a component
  • Get root element
  • Get component name
  • Get component
  • Set component name
  • Get component settings
  • Set component settings
  • Get props
  • Create a prop
  • Create multiple props
  • Get a prop
  • Get a prop by name
  • Set prop settings
  • Remove a prop
  • Variables & Collections
  • Variable Collections
  • Create variable collection
  • Get all variable collections
  • Get default variable collection
  • Get variable collection by ID
  • Remove variable collection
  • Get collection name
  • Set variable collection name
  • Move collection after target
  • Move collection before target
  • Variables
  • Create number variable
  • Create color variable
  • Create font family variable
  • Create size variable
  • Create percentage variable
  • Get all variables
  • Get variable by name
  • Get variable by ID
  • Set variable value
  • Get variable value
  • Get variable name
  • Set variable name
  • Get variable binding
  • Get variable CSS name
  • Remove variable
  • Variable Modes
  • Get all variable modes
  • Get variable mode by name
  • Get variable mode by ID
  • Create variable mode
  • Remove variable mode
  • Get variable mode name
  • Set variable mode name
  • Get variable mode breakpoint
  • Set variable mode breakpoint
  • Assets
  • Create an Asset
  • Get All Assets
  • Get Asset by ID
  • Get Asset Name
  • Set Asset Name
  • Get Alt Text
  • Set Alt Text
  • Set Asset File
  • Get Asset MIME Type
  • Get Asset URL
  • Get folder of Asset
  • Set folder for Asset
  • Get all Asset folders
  • Create an Asset folder
  • Get Asset folder name
  • Pages & Folders
  • Create folder
  • Create page
  • Get all pages and folders
  • Get the current page
  • Switch to a page
  • Page information
  • Get page name
  • Set page name
  • Get page title
  • Set page title
  • Get page slug
  • Set page slug
  • Get page description
  • Set page description
  • Get publish path
  • Get page category
  • Get utility page key
  • Get collection ID
  • Get collection name
  • Page settings
  • Check if page is draft
  • Set draft status
  • Check if page is homepage
  • Check if page is password protected
  • Get branch ID
  • Get parent page ID
  • List branches
  • Get search engine title
  • Set search engine title
  • Check if page uses title as the search engine title
  • Use page title as search engine title
  • Get search engine description
  • Set search engine description
  • Check if page uses description as the search engine description
  • Use page description as search engine description
  • Get search image
  • Set search image
  • Use Open Graph image as search image
  • Check if page is excluded from in site search indexing
  • Exclude page from in site search indexing
  • Get Open Graph title
  • Set Open Graph title
  • Check if page uses title as the Open Graph title
  • Use page title as Open Graph title
  • Get Open Graph description
  • Set Open Graph description
  • Check if page uses description as the Open Graph description
  • Use page description as Open Graph description
  • Get Open Graph image
  • Set Open Graph image URL
  • Get folder name
  • Get folder slug
  • Get parent folder
  • Set folder name
  • Set folder slug
  • Set parent folder
  • Utilities
  • Get site information
  • Resize the extension
  • Close the extension
  • Get the current breakpoint
  • Get all media queries
  • Get user ID token
  • Get user's Designer capabilities
  • Get the current Designer mode
  • Check for a Designer mode
  • Get the Designer's pseudo-state
  • Get launch context
  • Get app subscriptions
  • Get theme
  • Get theme styles
  • Get Element Snapshot
  • User Events & Notifications
  • Send notification to user
  • User selects element
  • User changes breakpoint
  • User changes current page
  • User changes CMS Page
  • User changes Designer mode
  • User changes Designer pseudo-state
  • User changes variant
  • App Intents & Connections
  • Set App Connection
  • Get App Connections
  • Remove App Connection
  • Get Current App Connection
  • Get Current App Connection Resource
Resources
Get started
Variables & CollectionsVariable ModesManaging Variable Modes

Get variable mode name

Something went wrong!
Was this page helpful?
Previous

Set variable mode name

Next
Built with