Typography components for Pure Admin. (Phase 2)
Summary
Functions
Renders a heading (h1-h6).
Renders a styled link.
Renders a paragraph.
Renders a text span.
Functions
Renders a heading (h1-h6).
Attributes
level(:any) - Heading level (1-6). Defaults to2. Must be one of1,2,3,4,5,6,"1","2","3","4","5", or"6".class(:string) - Defaults tonil.- Global attributes are accepted.
Slots
inner_block(required)
Renders a styled link.
Attributes
href(:string) - Defaults to"#".variant(:string) - Defaults tonil.Must be one ofnil,"primary","secondary", or"muted".class(:string) - Defaults tonil.- Global attributes are accepted. Supports all globals plus:
["navigate", "patch", "target"].
Slots
inner_block(required)
Renders a paragraph.
Attributes
class(:string) - Defaults tonil.- Global attributes are accepted.
Slots
inner_block(required)
Renders a text span.
Attributes
variant(:string) - Defaults tonil.Must be one ofnil,"muted","small","primary","success","danger","warning", or"info".class(:string) - Defaults tonil.- Global attributes are accepted.
Slots
inner_block(required)