XML 101 R89.htm IDEA: XBRL DOCUMENT
v3.23.2

Other Non-Current Assets - Schedule of Raw Material Purchases under Supply Agreement (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Jul. 02, 2023 | Jul. 03, 2022 | Jun. 27, 2021
UNF [Member] |  |  |
Schedule Of Equity Method Investments [Line Items] |  |  |
Raw material purchases under supply agreement | $ 31 | $ 1,175 | $ 548
UNF America [Member] |  |  |
Schedule Of Equity Method Investments [Line Items] |  |  |
Raw material purchases under supply agreement | 26,683 | 29,637 | 18,932
UNF and UNF America [Member] |  |  |
Schedule Of Equity Method Investments [Line Items] |  |  |
Raw material purchases under supply agreement | $ 26,714 | $ 30,812 | $ 19,480

X
- Definition Purchases during the period (excluding transactions that are eliminated in consolidated or combined financial statements) with related party. + References No definition available. + Details
Name: | us-gaap_RelatedPartyTransactionPurchasesFromRelatedParty
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(g)(1)(ii)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480678/235-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 323 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481687/323-10-50-3 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 825 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 28 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482907/825-10-50-28 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 323 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481687/323-10-50-3 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 323 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481687/323-10-50-3 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 323 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481687/323-10-50-3 + Details
Name: | us-gaap_ScheduleOfEquityMethodInvestmentsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | dei_LegalEntityAxis=ufi_UNFMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=ufi_UNFAmericaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=ufi_UNFAndUNFAmericaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |