p (function)

p(content='', lead=False, textAlign=False, color=False, navBar=False, onPhone=True, onTablet=True, onDesktop=True, htmlId=False, htmlClass=False)[source]

Get a Paragraph element

Key Arguments

  • content – content of the paragraph

  • lead – is this a lead paragraph?

  • textAlign – how to align paragraph text [ left | center | right ]

  • color – colored text for emphasis [ muted | warning | info | error | success ]

  • navBar – is this <p> for a navbar?

  • onPhone – does this container get displayed on a phone sized screen

  • onTablet – does this container get displayed on a tablet sized screen

  • onDesktop – does this container get displayed on a desktop sized screen

Return

  • p – the html paragraph element