Skip to Content
zjkm-ui-ai-elements

Environment Variables

Display environment variables with masking and copy functionality.

The EnvironmentVariables component displays environment variables with value masking, visibility toggle, and copy functionality.

Loading preview…

Installation

npm i zjkm-ui-ai-elements
import {  EnvironmentVariables,  EnvironmentVariablesHeader,  EnvironmentVariablesTitle,  EnvironmentVariablesToggle,  EnvironmentVariablesContent,  EnvironmentVariableGroup,  EnvironmentVariableName,  EnvironmentVariableValue,  EnvironmentVariable,  EnvironmentVariableCopyButton,  EnvironmentVariableRequired,} from "zjkm-ui-ai-elements/environment-variables";

First time? Add the package's styles: see Setup.

Features

  • Value masking by default
  • Toggle visibility switch
  • Copy individual values
  • Export format support (export KEY="value")
  • Required badge indicator

Props

<EnvironmentVariables />

Prop

Type

<EnvironmentVariablesHeader />

Prop

Type

<EnvironmentVariablesTitle />

Prop

Type

<EnvironmentVariablesToggle />

Prop

Type

<EnvironmentVariablesContent />

Prop

Type

<EnvironmentVariable />

Prop

Type

<EnvironmentVariableGroup />

Prop

Type

<EnvironmentVariableName />

Prop

Type

<EnvironmentVariableValue />

Prop

Type

<EnvironmentVariableCopyButton />

Prop

Type

<EnvironmentVariableRequired />

Prop

Type

On this page