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

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

    • VText
    • VInput
  • Interactive

    • VButton
    • VPressable
    • VSwitch
    • VSlider
    • VSegmentedControl
    • VCheckbox
    • VRadio
    • VDropdown
    • VRefreshControl
  • Media

    • VImage
    • VWebView
    • VVideo
  • Lists

    • VList
    • VFlatList
    • VSectionList
  • Feedback

    • VActivityIndicator
    • VProgressBar
    • VAlertDialog
    • VActionSheet
    • VModal
    • VErrorBoundary
  • Transition & State

    • VTransition & VTransitionGroup
    • KeepAlive
    • VSuspense
  • Navigation

    • VNavigationBar
    • VTabBar
  • System

    • VStatusBar
    • VPicker
  • macOS

    • VToolbar
    • VSplitView
    • VOutlineView

VText

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

All text in Vue Native must be wrapped in a VText component -- raw text outside of VText will not be rendered.

Usage

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

Props

PropTypeDefaultDescription
styleStyleProp--Text + layout styles
numberOfLinesnumber0 (unlimited)Truncate after N lines
selectablebooleanfalseAllow the user to select and copy text
accessibilityLabelstring--Accessible description (overrides displayed text)
accessibilityRolestring--Accessibility role (e.g. 'header')
accessibilityHintstring--Additional accessibility context
accessibilityStateobject--Accessibility state

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

Events

VText does not emit any events.

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>
  <VText :style="{ fontSize: 14, color: '#007AFF' }" :selectable="true">
    This text can be selected and copied.
  </VText>
</VView>
Edit this page
Last Updated: 2/28/26, 11:24 PM
Contributors: Abdul Hamid, Claude Opus 4.6
Next
VInput