umd-styles-library
    Preparing search index...

    Function composeFadeUnder

    • Composable fade under line animation style selector

      Creates fade under line animation styles with configurable color options. This function replaces the need for multiple separate exports like fadeUnderRed, fadeUnderGray, etc.

      Parameters

      Returns JssObject

      JSS object with composed styles and appropriate className

      // Red fade under (default)
      const styles = composeFadeUnder();

      // Gray fade under
      const styles = composeFadeUnder({ color: 'gray' });

      // Gold fade under
      const styles = composeFadeUnder({ color: 'gold' });

      1.7.0