Skip to content

Signal

Shows a level with stepped bars: a priority, a signal strength, a coverage. Requires Tabler 1.6+.

value is the number of lit bars, max the total number of bars, from 2 to 5 (3 by default):

variant takes the same colors as Legend: see the list.

Give a standalone signal an aria-label stating the level: it then gets role="img". Without one, the signal is treated as decoration next to a text label and gets aria-hidden="true":

The tag content replaces the bars: place one Signal:Bar per bar and light some with active. value and max are then ignored:

Prop Type Default Description
value int 0 Number of lit bars
max int 3 Total number of bars, 2 to 5
variant string? null Color of the lit bars, see Colors

Other attributes go to the root <span class="signal">. With an aria-label, it gets role="img", otherwise aria-hidden="true".

Prop Type Default Description
active bool false Lights the bar (active)
Component Renders
Signal:Bar <span class="signal-bar">, one bar
Block Default
content max × Signal:Bar, the first value ones active