Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
@grafana/ui package
A library containing the different design components of the Grafana ecosystem.
Classes
Class | Description |
---|---|
ansicolor | Represents an ANSI-escaped string. |
BarGauge | |
BigValue | |
Cascader | |
ClickOutsideWrapper | |
ClipboardButton | |
CustomScrollbar | Wraps component into react-custom-scrollbars |
ErrorBoundary | |
ErrorBoundaryAlert | |
Gauge | |
Graph | |
GraphSeriesToggler | |
JsonExplorer | JsonExplorerJsonExplorer allows you to render JSON objects in HTML with a **collapsible** navigation. |
JSONFormatter | |
List | |
ModalsProvider | |
PieChart | |
Popover | |
PopoverController | |
Portal | |
QueryField | Renders an editor field. Pass initial value as initialQuery and listen to changes in props.onValueChanged. This component can only process strings. Internally it uses Slate Value. Implement props.onTypeahead to use suggestions, see PromQueryField.tsx as an example. |
SelectValueEditor | |
SetInterval | |
StatsPicker | |
StringArrayEditor | |
TableInputCSV | Expects the container div to have size set and will fill it 100% |
TagsInput | |
ToggleButtonGroup | |
UnitPicker | |
VizRepeater |
Enumerations
Enumeration | Description |
---|---|
AxisSide | |
BarGaugeDisplayMode | |
BigValueColorMode | |
BigValueGraphMode | |
BigValueJustifyMode | |
BigValueTextMode | Options for how the value & title are to be displayed |
CompletionItemKind | |
EventsWithValidation | |
LegacyInputStatus | |
LegendDisplayMode | |
PieChartType | |
TableCellDisplayMode |
Functions
Interfaces
Namespaces
Namespace | Description |
---|---|
DOMUtil | |
RadioButtonGroup | |
styleMixins |
Variables
Type Aliases
Type Alias | Description |
---|---|
AlertVariant | |
BadgeColor | |
ButtonProps | |
ButtonVariant | |
FormAPI | |
FormInputSize | |
IconName | |
IconSize | |
IconType | |
LegendPlacement | |
OnTagClick | |
PopoverContent | |
Renderable | |
RenderFunction |