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.
$ 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.
- Framework
- react
- Source
- 64 lines
- StandardTrafficLightVerdict.jsx
- Runtime
- Static markup
- zero client JS
- Accessibility
- 2 ARIA
- attributes and roles
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| status | string | No | "unknown" | |
| label | undocumented | Yes | ||
| showLabel | boolean | No | true | |
| size | string | No | "md" | |
| className | string | No | "" |
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.jsx64 lines
Copy the paths
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:
$ velocityx add standard-traffic-light-verdict - 2. Install the theme — run this first, once per project Do this once per project, before your first component.
- The palette gotcha — this one bites silently Silent failure — the component renders, just unstyled.
- Your edits are safe by default What happens to your changes when you upgrade.
- You own the code What you are actually buying.
Related components
More from Standard Data.
A list of async job rows with a colour-coded status badge, an indeterminate progress shimmer while a job is in flight, and a two-click armed delete so a slip of the finger can't discard work.
reactTwo-month booking calendar with per-date availability dots.
reactA list of data-source sync bindings — last-synced time, row count, cache TTL, and an inline Resync action.
reactA ranked market-movers / scanner list: rank, symbol, price, a colour + arrow-coded change badge, a gainers/losers toggle, a filter chip, and a per-row watch action.
react