CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-fortawesome--vue-fontawesome

Official Vue component for Font Awesome 7

87

1.15x
Overview
Eval results
Files

rubric.jsonevals/scenario-4/

{
  "context": "Evaluates how well the solution uses @fortawesome/vue-fontawesome layering APIs to render an icon with a counter-style overlay that can toggle between counter and plain text while preserving positioning and reactivity.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Layer stacking",
      "description": "Wraps the base icon and overlay within <FontAwesomeLayers> (or its functional equivalent) to stack children instead of custom SVG composition.",
      "max_score": 20
    },
    {
      "name": "Counter prop",
      "description": "Uses <FontAwesomeLayersText> with the dependency's `counter` prop when `asCounter` is true and omits it when false so the library rewrites classes to the counter variant automatically.",
      "max_score": 30
    },
    {
      "name": "Position forwarding",
      "description": "Forwards `transform` or positional props to <FontAwesomeLayersText> so the overlay keeps the same placement (e.g., top-right) when toggling the counter flag.",
      "max_score": 20
    },
    {
      "name": "Fixed width",
      "description": "Applies the `fixedWidth` prop on <FontAwesomeLayers> when requested to rely on the package's built-in width handling rather than custom CSS spacing.",
      "max_score": 10
    },
    {
      "name": "Reactive updates",
      "description": "Updates overlay content and the `counter` state through reactive bindings on <FontAwesomeLayersText> while keeping the icon component mounted (no manual DOM replacements).",
      "max_score": 20
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-fortawesome--vue-fontawesome

tile.json