HTML Elements

Render semantic HTML with these elements.

To assist in creating accessible web apps, the following components are exported which map to their respective HTML dom elements:

  • Section (html section)
  • Article (html article)
  • Main (html main)
  • Header (html header)
  • Aside (html aside)
  • Footer (html footer)
  • Nav (html nav)

On native, these elements will render the same.

HTML element props

All HTML components extend YStack, inheriting all the Tamagui standard props.