Module Solidtype_heroui.Typography

HeroUI's Typography: text in HeroUI's type scale, with HeroUI's classes from Styles.Typography, each type the element it means -- a heading's <h1> to <h6>, body text a <p>, code a <code> -- unless it is given another, by element_type, as React Aria's Text is.

  <Typography type_=`h2>"Pricing on your terms"</Typography>

Text has no behaviour, so no Kobalte component underlies it.

type type_ = [
  1. | `body
  2. | `body_sm
  3. | `body_xs
  4. | `code
  5. | `h1
  6. | `h2
  7. | `h3
  8. | `h4
  9. | `h5
  10. | `h6
]
type align = [
  1. | `start
  2. | `center
  3. | `end_
  4. | `justify
]
type color = [
  1. | `default
  2. | `muted
]
type weight = [
  1. | `normal
  2. | `medium
  3. | `semibold
  4. | `bold
]
module Heading : sig ... end

A heading of a level from 1 to 6, as type_ `h1 to `h6 is.

module Paragraph : sig ... end

Body text of a size, as type_ `body, `body_sm and `body_xs are.

module Code : sig ... end

Inline code, as type_ `code is.

module Prose : sig ... end

A <div> that styles the markup it holds -- headings, paragraphs, code -- in HeroUI's type scale, for content written as HTML.

module Props : sig ... end