# Crate Examples

# Async

# Default window.crate object (opens new window)

# Custom glyph (opens new window)

# Initialising a custom crate object (opens new window)

# Multiple instances at the same time (opens new window)

# Updating the state (opens new window)

# Dynamically interacting with the button (opens new window)

# Sync

We recommend using the async version of the API, as it'll make your website way faster. The synchronous version should only be used if it's being dynamically inserted into your website after the page's initial load (eg. A custom JS script)

# Initialising a custom crate object (opens new window)