Vue NativeVue Native
Guide
Components
Composables
Navigation
  • iOS
  • Android
GitHub
Guide
Components
Composables
Navigation
  • iOS
  • Android
GitHub
  • Layout

    • VView
    • VScrollView
    • VSafeArea
    • VKeyboardAvoiding
  • Text & Input

    • VText
    • VInput
  • Interactive

    • VButton
    • VSwitch
    • VSlider
    • VSegmentedControl
  • Media

    • VImage
    • VWebView
  • Lists

    • VList
  • Feedback

    • VActivityIndicator
    • VProgressBar
    • VAlertDialog
    • VActionSheet
    • VModal
  • System

    • VStatusBar
    • VPicker

VText

Displays text. Maps to UILabel on iOS and TextView on Android.

Usage

<VText :style="{ fontSize: 16, color: '#333', fontWeight: '600' }">
  Hello, world!
</VText>

Props

PropTypeDefaultDescription
styleStyleProp—Text + layout styles
numberOfLinesnumber0 (unlimited)Truncate after N lines

Text styles

PropertyTypeDescription
fontSizenumberFont size in points
fontWeight'normal' | 'bold' | '100'–'900'Font weight
fontStyle'normal' | 'italic'Font style
colorstringText color
textAlign'left' | 'center' | 'right'Horizontal alignment
lineHeightnumberLine height
letterSpacingnumberLetter spacing
textDecorationLine'underline' | 'line-through' | 'none'Text decoration

Example

<VView :style="{ gap: 8 }">
  <VText :style="{ fontSize: 24, fontWeight: 'bold' }">Title</VText>
  <VText :style="{ fontSize: 14, color: '#666' }" :numberOfLines="2">
    This is a subtitle that may span multiple lines but will be
    truncated after two lines with an ellipsis.
  </VText>
</VView>
Edit this page
Last Updated: 2/23/26, 1:50 AM
Contributors: Abdul Hamid, Claude Sonnet 4.6
Next
VInput