The Draftbit Developer Hub

Welcome to the Draftbit developer hub. You'll find comprehensive guides and documentation to help you start working with Draftbit as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    

Images

Here you're able to upload your own images to use in your project. Any .png, .jpg, .jpeg, .bmp or .png file can be uploaded.

How to prepare images for upload

  • Optimize your images to decrease loading time and increase your app's performance. There are a variety of tools around the web like compressor.io and imageoptim that can help with this.
  • Make sure the file name doesn't include special characters
  • Make sure the file name starts with a letter
    like: ,, ;, ", ', &, $, ^. etc. Feel free to use hyphens and underscores.
  • Avoid using long, alphanumeric file names. It's best to make the image file name descriptive.
  • Use @1x, @2x, and @3x suffixes when naming images to account for different screen resolutions/pixel densities.

Fonts

Here you're able to upload your own .otf or .ttf font files to use in your project. After uploading a font, you can add it to a Theme on the Typography page.

Updated 2 months ago


Assets


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.