XML 82 R65.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Stock-Based Compensation - SAR Activity (Detail) - Stock Appreciation Rights [Member] - USD ($) | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Schedule Of Stock Appreciation Rights Activity [Line Items] |  |  |
SARs Outstanding, Beginning Balance | 233,969 | 200,998 | 293,276
Granted, SARs | 51,916 | 32,971 | 15,029
Exercised, SARs | (53,036) | 0 | (102,562)
Canceled, SARs | (12,969) | 0 | (4,745)
Shares Outstanding, SARs, Ending Balance | 219,880 | 233,969 | 200,998
Vested, SARs | 150,657 |  |
Exercisable, SARs | 150,657 |  |
Outstanding, Weighted Average Grant Price Per Share, Beginning Balance | $ 40.64 | $ 33.86 | $ 22.15
Granted, Weighted Average Grant Price Per Share | 56.8 | 82.01 | 104.56
Exercised, Weighted Average Grant Price Per Share | 11.95 | 0 | 9.45
Canceled, Weighted Average Grant Price Per Share | 75.25 | 0 | 61.66
Outstanding, Weighted Average Grant Price Per Share, Ending Balance | 49.34 | $ 40.64 | $ 33.86
Vested, Weighted Average Grant Price Per Share | 41.54 |  |
Exercisable, Weighted Average Grant Price Per Share | $ 41.54 |  |
Weighted Average Remaining Contractual Life, Outstanding | 6 years 3 months 18 days |  |
Weighted Average Remaining Contractual Life, Vested | 5 years |  |
Weighted Average Remaining Contractual Life, Exercisable | 5 years |  |
Aggregate Intrinsic Value, Outstanding | $ 6,393,512 |  |
Aggregate Intrinsic Value, Vested | 6,378,706 |  |
Aggregate Intrinsic Value, Exercisable | $ 6,378,706 |  |

X
- Definition Schedule of stock appreciation rights activity. + References No definition available. + Details
Name: | trex_ScheduleOfStockAppreciationRightsActivityLineItems
Namespace Prefix: | trex_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of equity instruments other than options exercisable. + References No definition available. + Details
Name: | trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsExercisable
Namespace Prefix: | trex_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Share based compensation arrangement by share based payment award non options equity instruments canceled weighted average grant price. + References No definition available. + Details
Name: | trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsEquityInstrumentsCanceledWeightedAverageGrantPrice
Namespace Prefix: | trex_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Share based compensation arrangement by share based payment award non options equity instruments exercisable weighted average grant price. + References No definition available. + Details
Name: | trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsEquityInstrumentsExercisableWeightedAverageGrantPrice
Namespace Prefix: | trex_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Share based compensation arrangement by share based payment award non options equity instruments exercised weighted average grant price. + References No definition available. + Details
Name: | trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsEquityInstrumentsExercisedWeightedAverageGrantPrice
Namespace Prefix: | trex_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Share based compensation arrangement by share based payment award non options equity instruments granted weighted average grant price. + References No definition available. + Details
Name: | trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsEquityInstrumentsGrantedWeightedAverageGrantPrice
Namespace Prefix: | trex_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Share based compensation arrangement by share based payment award non options equity instruments outstanding weighted average grant price. + References No definition available. + Details
Name: | trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsEquityInstrumentsOutstandingWeightedAverageGrantPrice
Namespace Prefix: | trex_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Share based compensation arrangement by share based payment award non options equity instruments vested weighted average grant price. + References No definition available. + Details
Name: | trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsEquityInstrumentsVestedWeightedAverageGrantPrice
Namespace Prefix: | trex_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Share based compensation arrangement by share based payment award non options exercisable intrinsic value. + References No definition available. + Details
Name: | trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsExercisableIntrinsicValue
Namespace Prefix: | trex_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Number of equity instruments other than options vested. + References No definition available. + Details
Name: | trex_SharebasedCompensationArrangementByShareBasedPaymentAwardNonoptionEquityInstrumentsVested
Namespace Prefix: | trex_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Sharebased compensation arrangement by sharebased payment award non options exercisable weighted average remaining contractual term. + References No definition available. + Details
Name: | trex_SharebasedCompensationArrangementBySharebasedPaymentAwardNonOptionsExercisableWeightedAverageRemainingContractualTerm
Namespace Prefix: | trex_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Sharebased compensation arrangement by sharebased payment award non options vested and expected to vest outstanding weighted average remaining contractual term. + References No definition available. + Details
Name: | trex_SharebasedCompensationArrangementBySharebasedPaymentAwardNonOptionsVestedAndExpectedToVestOutstandingWeightedAverageRemainingContractualTerm
Namespace Prefix: | trex_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Weighted average remaining contractual term for equity-based awards excluding options, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 718 -SubTopic 10 -Subparagraph (e)(1) -Name Accounting Standards Codification -Paragraph 2 -Section 50 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsOutstandingWeightedAverageRemainingContractualTerms
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of non-option equity instruments exercised by participants. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c)(1)(iv)(2) -SubTopic 10 -Topic 718 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsExercised
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares under non-option equity instrument agreements that were cancelled as a result of occurrence of a terminating event. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c)(1)(iv)(3) -SubTopic 10 -Topic 718 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsForfeitures
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Net number of non-option equity instruments granted to participants. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c)(1)(iv)(1) -SubTopic 10 -Topic 718 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsGranted
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of equity instruments other than options outstanding, including both vested and non-vested instruments. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c)(1)(i) -SubTopic 10 -Topic 718 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480429/718-10-50-2 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c)(1)(ii) -SubTopic 10 -Topic 718 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingNumber
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Intrinsic value of outstanding award under share-based payment arrangement. Excludes share and unit options. + References No definition available. + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Intrinsic value of vested award under share-based payment arrangement. Excludes share and unit options. + References No definition available. + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_StockAppreciationRightsSARSMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |