📐
Thunkable Docs
Build an AppDrag and Drop DocsSnap to Place Docs
Snap to Place
Snap to Place
  • 👋Welcome to Thunkable Docs
  • 👶Getting Started
    • Signing In
    • Your Thunkable Projects Page
    • Tutorials
    • Live Test your App
  • 🆕Create New Project
    • Project Settings
    • Project Assets and Sizes
  • Thunkable Sample Projects
  • Public Gallery of Projects
  • 🛠️ Components
  • 🔘User Interface
  • Button
  • Label
  • Text Input
  • List Viewer
  • Web Viewer
  • Switch
  • Slider
  • Alert
  • Loading Icon
  • Date Input
  • Time Input
  • PDF Reader
  • Rating
  • 📊Data Viewers
  • Data Viewer List
  • Data Viewer Grid
  • Custom Data Viewer Layout
  • Data Sources
  • 📐Layout
  • Top Tab Navigator
  • Bottom Tab Navigator
  • Stack Navigator
  • Drawer Navigator
  • Screen
  • Row
  • Column
  • 📷 Image
  • Image
  • Photo Library
  • Camera
  • Barcode Scanner
  • Image Recognizer
  • Animation by Lottie
  • Video
  • Video Recorder
  • 🗄️ Data
  • Local Storage
  • Local DB
  • Realtime DB by Firebase
  • Airtable
  • Media DB by Cloudinary
  • File Picker
  • Web API
  • 🌍Location
  • Maps by Google and Apple
  • Location Sensor
  • 💲Monetization
  • Ads by AdMob
  • In-App Purchase
  • 🌐Sensors
  • Gyroscope
  • Magnetometer
  • Accelerometer
  • Timer
  • Bluetooth Low Energy
  • 🔊Voice
  • Sound
  • Text to Speech
  • Speech Recognizer
  • Translator
  • Audio Recorder
  • 🤝Social
  • Share
  • Email Sign In by Firebase
  • Push Notifications by One Signal
  • 🎮Gaming
  • Canvas
  • Sprites
  • Sprite Gallery
  • Canvas Label
  • 🤖Gaming Blocks🎮
  • Events
  • Motion
  • Looks
  • Direction
  • Sensing
  • Add & Remove
  • Stage
  • Canvas Label
  • 🤖Blocks
  • Control
  • Logic
  • Math
  • Text
  • Lists
  • Color
  • Objects
  • Device
  • Variables
  • Functions
  • "Any Component" Blocks
  • 🖥️ App Services & Emulators
  • 🔒App Data Privacy
  • ➕Make Copy
  • 📥Download
  • 📤Share
  • 📱Publish
  • Publish to App Store (iOS)
    • TestFlight Overview
      • TestFlight in Depth
  • Publish to Play Store (Android) with AAB
  • Publish as a Web App
  • Generate Screenshots
  • 🔎Troubleshooting
    • Login Issues
    • FAQs
  • 📏Intro to Spacing
  • 🖼️ Intro to Sizing
  • 🔤Fonts
  • 💾Managing Storage
  • 📝Bugs and Product Feedback
  • Snap to Place Hour of Code Videos
Powered by GitBook
On this page
  • Style the Label
  • Properties
  • Advanced Properties
  • Events
  • Click
  • Properties
  • Background Color
  • Color
  • Font Size
  • Font Style
  • Font Weight
  • Height
  • Number of Lines
  • Text
  • Text Align
  • Visible
  • Width

Was this helpful?

Export as PDF

Label

The label component allows you to display text in your app.

PreviousButtonNextText Input

Last updated 7 months ago

Was this helpful?

Style the Label

You can customize your label using the following properties:

Properties

  • Text: Text that appears on the label

  • Font Size: Size of the text that appears on the label

  • Custom Font (mobile only): Upload a TTF or OTF font file to use as your Button's font

    Using Custom Fonts may only be available for Creators on certain Thunkable plans. Please refer to our pricing page for more information: .

  • Color: Color of the text that appears on the label

  • Background Color: Sets the background color of the label

  • Text Align

    • Auto - Aligns the text automatically

    • Left - Displays the text starting from the left of the label

    • Right - Displays the text starting from the right of the label

    • Center - Displays the text starting from the middle of the label

    • Justify - Aligns both the right and left side of the text equally

  • Font Style

    • Normal: Default text display

    • Italic: Display the text in italics

  • Font Weight: Select how bold the text on the label will be

  • Number of Lines: set a maximum amount of lines of text that your Label will display

  • Background Color: set the color of your Label's background

  • Border Width: Enter how wide you want the border outline of the label to be

  • Border Radius: Enter how round you want the edges of the border for the label to be

  • Border Color: Pick a color for the border of the label

  • Border Style: Select if you want the border of the label to be a dotted, dashed or solid line

  • Background Color: set the color of your Label's background

  • Border Width: Enter how wide you want the border outline of the label to be

  • Border Radius: Enter how round you want the edges of the border for the label to be

  • Border Color: Pick a color for the border of the label

  • Border Style: Select if you want the border of the label to be a dotted, dashed or solid line

Advanced Properties

  • Letter Spacing (iOS and web only): increase spacing between letters of your Label

  • Text Decoration Line: add a line through, underline, or both with underline line-through

  • Text Decoration Style (iOS and web only): set your Text Decoration line to be solid, dotted, dashed, or double

  • Text Decoration Color (iOS and web only): set the color of your Text Decoration Line

  • Writing Direction (iOS and web only): set the writing direction of your Label's text

  • Letter Spacing (iOS and web only): increase spacing between letters of your Label

  • Text Decoration Line: add a line through, underline, or both with underline line-through

  • Text Decoration Style (iOS and web only): set your Text Decoration line to be solid, dotted, dashed, or double

  • Text Decoration Color (iOS and web only): set the color of your Text Decoration Line

  • Writing Direction (iOS and web only): set the writing direction of your Label's text

Events

Click

This event will fire when the user clicks on the label.

Properties

Background Color

Color

Font Size

Font Style

Font Weight

Height

The set and get height blocks work with the Height property of the label component. Acceptable input values are:

  • Number of Pixels

  • Percentage Height

  • "Fit Contents"

  • "Fill Container"

Number of Lines

The get and set number of lines property is used to work with the maximum number of lines of text that should be displayed in a label before that label starts to scroll.

Text

This property corresponds to the text that is displayed in the label component.

Text Align

Text Align can be any of the following values:

  • Auto

  • Left

  • Right

  • Center

  • Justify

Visible

  • True

  • False

Width

The set and get width blocks work with the Width property of the label component.

  • Number of Pixels

  • Percentage Width

  • "Fit Contents"

  • "Fill Container"

The get and set background color properties work with the color of the label itself i.e. the region behind the label text. Best practice is to use one of the to set this value but HEX or RGB values may be used too.

Thunkable pricing
color blocks