Athanor.Components.Divider (Athanor v0.1.0-beta.1)

Copy Markdown View Source

Divider primitive. Renders an <hr> wrapped in the shared formatting div. Divider's own thickness/color/margin_y props control the rule itself; formatting controls the wrapping container.

Props

  • thickness (integer 0..16, default 1)
  • color (string hex #RRGGBB, default "#e5e7eb")
  • margin_y ("sm" | "md" | "lg", default "md")

  • formatting (map, optional)