Skip to main content

Quality Seal

A round grading seal for an inspection report or a quality certificate: a shaded disc with two rings, the awarding body's name on two lines at the top, a large grade in the middle, the tier under it and a gold star at the foot. It is one svg of 150 by 150, so it is drawn inside another svg, and several can stand side by side at different sizes.

  • A grading seal. A shaded disc, a dark outer ring, a gold inner ring, the awarding body's name on two lines, a large grade, the tier and a gold star, on a 150 by 150 svg.
  • Four params. code and reg fill the two name lines, grade the centre and tier the line under it.
  • Placed inside an svg. An svg-level use gives it a square box in the host's coordinates, so several seals stand side by side at different sizes.
  • Seven styles. sealOrg, sealGrade, sealTier, sealOuter, sealMid, sealStar and sealGround restyle each part.

Place it with an svg-level use, giving its box in the host svg's coordinates; keep the box square:

{ "svg": { "viewBox": [516, 190], "width": 516, "height": 190, "title": "Grade seals of the three lots", "children": [ { "use": { "name": "quality-seal", "x": 11, "y": 8, "width": 150, "height": 150, "params": { "code": "VERDANIA", "reg": "STANDARDS", "grade": "A+", "tier": "ELITE" } } } ] } }
ParamWhat it fills
codethe first line of the awarding body's name, at the top
regthe second line of that name, under it
gradethe large grade in the middle
tierthe line under the grade

Restyle the two name lines with sealOrg, the grade with sealGrade, the tier with sealTier, the outer ring with sealOuter, the inner gold ring with sealMid, the star with sealStar and the shaded disc with sealGround. See Customizing a component.

The Composable Seals figure places it three times on one baseline, one seal per lot, each sized in proportion to the lot's volume.

Features used: SVG, data binding

The component on a sheet of its ownTry in Playground →