feature-flag-visibility

Official

Gate UI visibility with feature flags.

Authorthinkeloquent
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Gate the top-level container of presentational components behind an optional feature flag so they render nothing when the flag is false, enabling runtime visibility control and safer scaffolding across atoms, molecules, and organisms.

Core Features & Use Cases

  • Expose featureFlag and optional featureFlagFallback props to control visibility at render time.
  • Use the central useFeatureFlag hook and a provider to swap in LaunchDarkly, GrowthBook, or test stubs without changing components.
  • Provide a wrapper component for gating third-party content with a simple name-based flag.

Quick Start

Wrap your presentational component with the featureFlag prop or the FeatureFlag wrapper and supply a featureFlagFallback to render when the flag is off.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: feature-flag-visibility
Download link: https://github.com/thinkeloquent/mta-ui-atomicdesign-organisms/archive/main.zip#feature-flag-visibility

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.