EnterUI
DocsComponentsThemesExamplesDonation
Get Started
      • FeatureFlagToggle
      • EnvironmentBadge
      • ApiKeyField
      • SecretInput
      • WebhookEndpointCard

Default usage

  1. EnterUI
  2. /Docs
  3. /Product Operations
  4. /Workflow and Admin
  5. /Operations
  6. /SecretInput
Updated 3 October 2026

SecretInput

Admin secret input with reveal/hide and an optional copy action — for webhook secrets, env tokens, signed URLs.

Admin secret input with reveal/hide and an optional copy action — for webhook secrets, env tokens, signed URLs.

#Default usage

Webhook secret

Defaults to password type; click reveal to switch to text.

Code
<SecretInput aria-label="Webhook secret" copyable defaultValue="whsec_test_value" />

#Import

Code
import { SecretInput } from "@froggdesign/enter-ui-react";

#Accessibility

Reveal toggles the underlying type between password and text. The reveal button announces the next state. Combine with Label or FormField for an external label; the field itself accepts aria-label.

#API

  • Native <input> props except type (managed internally).
  • revealed / onRevealedChange: control the reveal state externally.
  • copyable: render a Copy button when there is a value.
  • invalid: red ring for validation errors.

#Styling

Every exported component accepts className. EnterUI styles use .eui-* classes and --eui-* variables mapped from FroggDesign theme tokens.

PreviousApiKeyField
NextWebhookEndpointCard
On this page
  • Default usage
  • Import
  • Accessibility
  • API
  • Styling