<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:ffd="http://xbrl.sec.gov/ffd/2025"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef
      xlink:href="https://xbrl.sec.gov/ffd/2025/ffd-2025.xsd"
      xlink:type="simple"/>
    <context id="c0">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912093</identifier>
        </entity>
        <period>
            <startDate>2026-05-20</startDate>
            <endDate>2026-05-20</endDate>
        </period>
    </context>
    <context id="c1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912093</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-20</startDate>
            <endDate>2026-05-20</endDate>
        </period>
    </context>
    <unit id="shares">
        <measure>shares</measure>
    </unit>
    <unit id="usdPershares">
        <divide>
            <unitNumerator>
                <measure>iso4217:USD</measure>
            </unitNumerator>
            <unitDenominator>
                <measure>shares</measure>
            </unitDenominator>
        </divide>
    </unit>
    <unit id="usd">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <dei:EntityRegistrantName contextRef="c0" id="ixv-25">Viavi Solutions Inc.</dei:EntityRegistrantName>
    <ffd:PrevslyPdFlg contextRef="c1" id="ixv-168">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c1" id="ixv-169">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c1" id="ixv-170">Common stock, par value $0.001 per share</ffd:OfferingSctyTitl>
    <ffd:Rule457rFlg contextRef="c1" id="ixv-171">true</ffd:Rule457rFlg>
    <ffd:AmtSctiesRegd
      contextRef="c1"
      decimals="INF"
      id="ixv-172"
      unitRef="shares">12777777</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="c1"
      decimals="INF"
      id="ixv-173"
      unitRef="usdPershares">45</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric contextRef="c1" decimals="INF" id="ixv-174" unitRef="usd">574999965</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate contextRef="c1" decimals="INF" id="ixv-175" unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt contextRef="c1" decimals="2" id="ixv-176" unitRef="usd">79407.5</ffd:FeeAmt>
    <ffd:TtlOfferingAmt contextRef="c0" decimals="INF" id="ixv-177" unitRef="usd">574999965</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt contextRef="c0" decimals="2" id="ixv-178" unitRef="usd">79407.5</ffd:TtlFeeAmt>
    <ffd:TtlPrevslyPdAmt contextRef="c0" decimals="0" id="ixv-179" unitRef="usd">0</ffd:TtlPrevslyPdAmt>
    <ffd:TtlOffsetAmt contextRef="c0" decimals="0" id="ixv-180" unitRef="usd">0</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="c0" decimals="2" id="ixv-181" unitRef="usd">79407.5</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="c1" id="ixv-144">&lt;table style="font-size: 12pt; border-spacing: 0px; border-collapse: collapse; width: 100%;"&gt; &lt;tr style="height: 0px; font-size: 0px;"&gt;&lt;td style="width: 1%;"&gt;&#160;&lt;/td&gt;&lt;td style="width: 99%;"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="vertical-align: top;"&gt; &lt;td style="padding: 0px 0pt; font-size: 10pt;"&gt; &lt;div style="margin-bottom: 4pt;"&gt; (1) &lt;/div&gt; &lt;/td&gt; &lt;td style="padding: 0px 5.4pt; text-align: left; font-size: 10pt;"&gt; &lt;div style="margin-bottom: 4pt;"&gt; Assumes
exercise in full of the underwriters&#x2019; option to purchase up to 1,666,666 additional
shares of common stock. &lt;/div&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;&lt;table style="font-size: 12pt; border-spacing: 0px; border-collapse: collapse; width: 100%;"&gt;
   &lt;tr style="height: 0px; font-size: 0px;"&gt;&lt;td style="width: 1%;"&gt;&#160;&lt;/td&gt;&lt;td style="width: 99%;"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="vertical-align: top;"&gt;
    &lt;td style="padding: 0px 0pt; font-size: 10pt;"&gt;
     &lt;div style="margin-bottom: 4pt;"&gt;
      (2)
     &lt;/div&gt;
    &lt;/td&gt;
    &lt;td style="padding: 0px 5.4pt; text-align: left; font-size: 10pt;"&gt;
     &lt;div style="margin-bottom: 4pt;"&gt;
      The
registration fee is calculated in accordance with Rule 457(r) of the Securities
Act of 1933, as amended, and represents deferred payment of the registration
fees in connection with the Registrant&#x2019;s registration statement on Form S-3ASR
(Registration No. 333-289490) paid with the filing of this prospectus
supplement.
     &lt;/div&gt;
    &lt;/td&gt;
   &lt;/tr&gt;
  &lt;/table&gt;</ffd:OfferingNote>
    <ffd:SubmissnTp contextRef="c0" id="hidden-fact-0">424B5</ffd:SubmissnTp>
    <ffd:CombinedProspectusTableNa contextRef="c0" id="ixv-185">N/A</ffd:CombinedProspectusTableNa>
    <dei:EntityCentralIndexKey contextRef="c0" id="ixv-186">0000912093</dei:EntityCentralIndexKey>
    <ffd:FeeExhibitTp contextRef="c0" id="ixv-187">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:FormTp contextRef="c0" id="ixv-188">S-3</ffd:FormTp>
    <ffd:OffsetTableNa contextRef="c0" id="ixv-189">N/A</ffd:OffsetTableNa>
    <ffd:RegnFileNb contextRef="c0" id="ixv-190">333-289490</ffd:RegnFileNb>
</xbrl>
