Skip to content
BigBang

Popular

    ↑↓Navigate↵OpenEscClose
    TR

    Components

    MaskedValue

    A sensitive value shown masked, with a toggle that reveals it and an optional Copy button.

    Storybook
    Storybook
    Source
    Source
    State Look Attribute
    Masked A run of dots and the visible ends; eye icon —
    Revealed The full value; crossed-out eye icon data-revealed
    Property Value Token
    Show toggle 32 px input-action-size-md
    Icon 16 px icon-size-sm
    Between parts 2 px space-xxs

    Values are shown for the selected brand; switch brands from the top bar.

    TokenSampleLight modeDark mode
    --bigbang-input-action-size-md28px28px28px28px28px28px
    --bigbang-icon-size-sm16px16px16px16px16px16px
    --bigbang-color-text-default#171717#171717#171717#fafafa#fafafa#fafafa
    --bigbang-color-text-subtle#404040#404040#404040#d4d4d4#d4d4d4#d4d4d4
    --bigbang-space-xxs2px2px2px2px2px2px
    --bigbang-motion-skeleton-reveal-duration0.11s0.11s0.11s0.11s0.11s0.11s
    --bigbang-motion-feedback-duration0.24s0.24s0.24s0.24s0.24s0.24s
    Interaction Property Duration token Easing token Reduced motion
    Reveal and hide The text redraws and fades in (motion.reveal) motion-skeleton-reveal-duration easing-productive-enter Same; opacity only.
    Icon change The new icon grows from 60% (motion.success) motion-feedback-duration motion-feedback-easing It only appears.
    Press The toggle shrinks slightly (motion.press) motion-press-duration motion-press-easing No shrink.