Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit bac9c0f

Browse files
authoredFeb 13, 2025··
update docs urls
url scheme seems to have changed since these docs were last updated. Now follows the pattern `https://primer.style/components/:component-name/` for interface guidelines and `https://primer.style/components/:component-name/react/latest` for React implementation.
1 parent ce3c115 commit bac9c0f

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed
 

‎content/ui-patterns/forms/react.mdx

+12-12
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ export default FormsLayout
2626
one or more values.
2727
</p>
2828
<Box display="flex" sx={{gap: 3}}>
29-
<a href="../components/autocomplete">Interface guidelines</a>
29+
<a href="https://primer.style/components/autocomplete">Interface guidelines</a>
3030
<span aria-hidden="true">|</span>
31-
<a href="https://primer.style/react/Autocomplete">Primer React implementation</a>
31+
<a href="https://primer.style/components/autocomplete/react/latest">Primer React implementation</a>
3232
</Box>
3333
</div>
3434
</Box>
@@ -49,9 +49,9 @@ export default FormsLayout
4949
<Heading sx={{fontSize: 3}}>Checkbox group</Heading>
5050
<p>A set of checkboxes to let users make one or more selections from a short list of options</p>
5151
<Box display="flex" sx={{gap: 3}}>
52-
<a href="../components/checkbox-group">Interface guidelines</a>
52+
<a href="https://primer.style/components/checkbox-group">Interface guidelines</a>
5353
<span aria-hidden="true">|</span>
54-
<a href="https://primer.style/react/CheckboxGroup">Primer React implementation</a>
54+
<a href="https://primer.style/components/checkbox-group/react/latest">Primer React implementation</a>
5555
</Box>
5656
</div>
5757
</Box>
@@ -72,9 +72,9 @@ export default FormsLayout
7272
<Heading sx={{fontSize: 3}}>Form control</Heading>
7373
<p>A form control renders a labelled input and, optionally, associated validation text and/or hint text.</p>
7474
<Box display="flex" sx={{gap: 3}}>
75-
<a href="../components/form-control">Interface guidelines</a>
75+
<a href="https://primer.style/components/form-control">Interface guidelines</a>
7676
<span aria-hidden="true">|</span>
77-
<a href="https://primer.style/react/FormControl">Primer React implementation</a>
77+
<a href="https://primer.style/components/form-control/react/latest">Primer React implementation</a>
7878
</Box>
7979
</div>
8080
</Box>
@@ -95,9 +95,9 @@ export default FormsLayout
9595
<Heading sx={{fontSize: 3}}>Radio group</Heading>
9696
<p>A set of radio inputs to let users make a single selection from a short list of options</p>
9797
<Box display="flex" sx={{gap: 3}}>
98-
<a href="../components/radio-group">Interface guidelines</a>
98+
<a href="https://primer.style/components/radio-group">Interface guidelines</a>
9999
<span aria-hidden="true">|</span>
100-
<a href="https://primer.style/react/RadioGroup">Primer React implementation</a>
100+
<a href="https://primer.style/components/radio-group/react/latest">Primer React implementation</a>
101101
</Box>
102102
</div>
103103
</Box>
@@ -117,7 +117,7 @@ export default FormsLayout
117117
<div>
118118
<Heading sx={{fontSize: 3}}>Select dropdown</Heading>
119119
<p>A select input may be used when a user needs to select one option from a long list</p>
120-
<a href="https://primer.style/react/Select">Primer React implementation</a>
120+
<a href="https://primer.style/components/select/react/latest">Primer React implementation</a>
121121
</div>
122122
</Box>
123123

@@ -138,7 +138,7 @@ export default FormsLayout
138138
Textarea
139139
</Heading>
140140
<p>A text area is used to put multiple lines of text in an input</p>
141-
<a href="https://primer.style/react/Textarea">Primer React implementation</a>
141+
<a href="https://primer.style/components/textarea/react/latest">Primer React implementation</a>
142142
</div>
143143
</Box>
144144

@@ -161,9 +161,9 @@ export default FormsLayout
161161
<a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#input_types">types in the MDN docs</a>.
162162
</p>
163163
<Box display="flex" sx={{gap: 3}}>
164-
<a href="../components/text-input">Interface guidelines</a>
164+
<a href="https://primer.style/components/text-input">Interface guidelines</a>
165165
<span aria-hidden="true">|</span>
166-
<a href="https://primer.style/react/TextInput">Primer React implementation</a>
166+
<a href="https://primer.style/components/text-input/react/latest">Primer React implementation</a>
167167
</Box>
168168
</div>
169169
</Box>

0 commit comments

Comments
 (0)
Please sign in to comment.