Kamea SigilKamea Sigil, from magick-components
A name's sigil on its planet's kamea, one figure per word, each on its own square size pixels across, set right to left and wrapping onto the next line where the width runs out (an empty text, the bare square). The figures are <svg>s in a <div>, which is the image (named by label). A text placement could not draw with every mark clear is drawn best effort, and says so: data-placement="failed" on the <div> and on each such word's <svg> (kameaSigil's failed gives the same to the page).
import KameaSigil from "magick-components/astrology/KameaSigil";magick-components is on npm, under MIT (how to install it), and its source is in the app's repository.
| Prop | Type | Default | Description |
|---|---|---|---|
planet required | "sol" | "mercury" | "venus" | "luna" | "mars" | "jupiter" | "saturn" | The planet, by magick-data's id. | |
text required | string | The text, in Hebrew letters; whitespace separates words, each its own figure. Anything not one of the 27 letters (points, a maqaf) is left out. | |
className | string | The outer element's class. | |
finals | boolean | false | Count final forms at Aiq Bekar's 500 to 900 (default false). |
fontFamily | string | The square's numbers' font stack. | |
ink | string | "red" | The sigil's ink (default red, as the rose sigil's). |
label | string | false | The drawing's accessible name: "Sigil of <text> on the Kamea of <planet>" when not given, this one when a string. false marks it decorative, hidden from assistive technology (aria-hidden). | |
paper | string | The square's ground (default white). | |
sigil | KameaSigilFigure | The text already worked out by kameaSigil for this planet, text and finals, so a page that needs it too does not place it twice. One for another planet, text or finals is ignored, and the drawing worked out from the props, so what is drawn is always what the props say. | |
size | number | Each word's figure's width in CSS pixels, its square's frame and margin included: never under the square's own minimum (kameaSigilMinSize, 240 to 329), which is also the default. | |
squareInk | string | The square's frame, rules and numbers (default black). | |
style | CSSProperties | The outer element's style. |