Start typing to search components and docs…
select navigate ESC close

ProductNumber

ProductNumber - with additional formatting adding spacing for Volkswagen product numbers.

Use the after-number slot to add a copy button or other actions next to the product number (e.g. on PDP pages).

6R0920870F
6R0.920.870.F
6R0-920-870-F
6R0 920 870 F

000051443F

000.051.443.F
000-051-443-F

000 051 443 F

WHT005227

WHT.005.227
WHT-005-227

WHT 005 227

N0385491

N03.854.91
N03-854-91

N03 854 91

<pre class="astro-code github-dark" style="background-color:#24292e;color:#e1e4e8; overflow-x: auto;" tabindex="0" data-language="js"><code><span class="line"><span style="color:#E1E4E8">&#x3C;</span><span style="color:#79B8FF">ProductNumber</span></span> <span class="line"><span style="color:#B392F0"> small</span></span> <span class="line"><span style="color:#B392F0"> productNumber</span><span style="color:#F97583">=</span><span style="color:#9ECBFF">"6R0920870F"</span></span> <span class="line"><span style="color:#B392F0"> class</span><span style="color:#F97583">=</span><span style="color:#9ECBFF">"mb-2"</span></span> <span class="line"><span style="color:#E1E4E8">/></span></span></code></pre>

With ButtonCopy (PDP usage)

6R0920870F

6R0.920.870.F
6R0-920-870-F

6R0 920 870 F

000051443F

000.051.443.F
000-051-443-F

000 051 443 F

WHT005227

WHT.005.227
WHT-005-227

WHT 005 227

N0385491

N03.854.91
N03-854-91

N03 854 91

6R0920870F
6R0.920.870.F
6R0-920-870-F
6R0 920 870 F
000051443F
000.051.443.F
000-051-443-F
000 051 443 F
WHT005227
WHT.005.227
WHT-005-227
WHT 005 227
N0385491
N03.854.91
N03-854-91
N03 854 91

Props

PropTypeDefaultDescription
productNumber*stringRaw VW product number (e.g. `6R0920870F`).
numberFormatted{ dot: string; dash: string; standard: string }Pre-formatted number from API. Falls back to client-side formatting when omitted.
isPdpbooleanfalseUses `h2`/`h3` semantic wrappers for product detail page usage.
bigbooleanfalseLarger font size variant.
smallbooleanfalseTighter letter spacing for compact layouts.
classstringExtra classes appended to the wrapper.

Slots

Slot Description
after-number Renders next to the product number (typically a ButtonCopy)