Unavailable. Nobody can download this version any more, with elm or with the Lamdera compiler: Software Heritage not asked yet (this run's --swh-calls were used up); no fork with tag 9.6.0 found (15 same-name repos checked); no cached copy. Use another version.
Headings with customization options for accessibility.
Make a second-level heading (styled like a tagline by default.)
Use this to upgrade from Nri.Ui.Text.V2.tagline.
Make a third-level heading (styled like a subhead by default.)
Use this to upgrade from Nri.Ui.Text.V2.subHeading.
Make a fourth-level heading (styled like a small heading by default.)
Use this to upgrade from Nri.Ui.Text.V2.smallHeading.
Make a fifth-level heading (styled like a small heading by default.)
Select which of the base styles this heading should look like. Each of h1..5 has a default, check their docs to see if you don't need to override this.
Set some custom CSS in this heading. For example, maybe you need to tweak margins. Now you can!
Use this when the header is on top of a section in an error state.
Show an error if some condition is met.
Heading.h1
[ Heading.errorIf (model.errorMessage /= Nothing) ]
[ Html.text "Hello! ]Set some custom attribute. You can do anything here, but please don't make headers interactive! Use buttons or links instead so that keyboard and screen reader users can use the site too.
Make a first-level heading (styled like a top-level heading by default.)
Use this to upgrade from
Nri.Ui.Text.V2.heading.