Skip to content

Meter

A meter that displays labels with their values and icons.

Properties

AppearanceOverride

Use the AppearanceOverride property to style the component.

The theme data for the component can be found in the Theming section and can be overwritten through AppearanceOverride.

Pass AppearanceOverride as an optionalColorTable. More information on overrides can be found here.

Height

Type

luau

Code block has not loaded. An error may have occurred.

Max

Type

luau

Code block has not loaded. An error may have occurred.

Indicator

Type

luau

Code block has not loaded. An error may have occurred.

Labels

Type

luau

Code block has not loaded. An error may have occurred.

Instance Properties

This instance takes all the properties of a Frame. SpecialKeys, such as fusion.Children will also be passed to the instance.

Slots

Slots allow you to customize specific aspects of the component completely, often replacing the old instances. Slots are passed parameters that allow the slot to interact with component data that is normally not exposed. Generally, an useColor (the function passed by theme:get()) function is passed as first parameter to allow the new components to use the same color as the parent component. When using slots, make sure to wrap any code that uses reactive values in a Computed (or any other classes that isolate state), to prevent unnecessary updates.

Indicator

A slot for the indicator. This overwrites the default indicator.

Function Type

luau

Code block has not loaded. An error may have occurred.

Theming

States

StateDescription
Base

Colors

ColorDescription
Background
Highlight
Indicator

Types

Certain types are reused across different components. To make these types easily accessible, they are available below:

label

luau

Code block has not loaded. An error may have occurred.