HTML Elements

yarnbunnpmpnpm

Render semantic HTML with these elements

To assist in creating accessible web apps, the following components are exported, all mapping directly to DOM elements of the lowercase names:

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

Installation

It's exported by tamagui, or:

yarn add @tamagui/elements

HTML element props

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