Velocity X Components by Aidxn Design

Standard Data

Standard Traffic Light Verdict

A three-light RAG (red/amber/green) verdict indicator, drawn as inline SVG so it never depends on an icon package.

Lifetime access Included with the VX Components lifetime licence.
bash
$ velocityx add standard-traffic-light-verdict

Built for react. Needs react already installed as a peer dependency. An Astro-only project needs @astrojs/react wired up first — this won't run on its own in plain Astro.

Full docs for Standard Traffic Light Verdict →

Needs a licence key — buy lifetime access here, then velocityx login once.

react v1.0.0
Standard Traffic Light Verdict
No verdict yet
Framework
react
Source
64 lines
StandardTrafficLightVerdict.jsx
Runtime
Static markup
zero client JS
Accessibility
2 ARIA
attributes and roles

Props

NameTypeRequiredDefaultDescription
statusstringNo"unknown"
labelundocumentedYes
showLabelbooleanNotrue
sizestringNo"md"
classNamestringNo""

2 fields in this table have an undocumented type — see source for the exact shape.

Accessibility

ARIA roles
img
ARIA attributes
aria-label

Read from the source, not asserted — anything not listed simply isn't in this component's markup.

Behaviour

Ships client JS
No — renders to static markup

File this creates

The CLI writes this path into your project — nothing else moves. Paths are under your source root, which defaults to src/; pass --dest if yours is elsewhere.

  • src/components/velocity/standard-traffic-light-verdict/StandardTrafficLightVerdict.jsx 64 lines
Copy the paths
text
src/components/velocity/standard-traffic-light-verdict/StandardTrafficLightVerdict.jsx

Standard Traffic Light Verdict — questions

How do I install Standard Traffic Light Verdict?

Run velocityx add standard-traffic-light-verdict . The CLI writes the source straight into your project — it is not a runtime package dependency.

Do I need a licence for Standard Traffic Light Verdict?

Yes. It is part of the lifetime library — buy access at https://aidxn.com/shop/velocity-x-component-library/, authenticate once, and install it. Your lifetime licence includes future component updates.

Can I edit Standard Traffic Light Verdict after installing it?

Yes — the files are yours once written. The CLI compares its lockfile hash before upgrades and refuses to overwrite code you changed.

Does Standard Traffic Light Verdict ship JavaScript to my users?

No. It renders to static markup with no client-side JavaScript of its own.

Is Standard Traffic Light Verdict accessible?

It ships ARIA roles (img), 1 ARIA attributes. That is read directly from the source rather than claimed — you should still test it in the context you drop it into.

Does Standard Traffic Light Verdict pull in any dependencies?

No external ones. Every component in the library is built with react/react-dom or plain Astro only — no GSAP, Radix, Swiper or Headless UI — which is what makes dropping it into an existing project safe.

Set up & reference

All docs →

Install this component:

bash
$ velocityx add standard-traffic-light-verdict

More from Standard Data.