... | ... | @@ -177,7 +177,7 @@ under the Creative Commons Attribution 4.0 International license. |
|
|
|
|
|
## Reusable Components
|
|
|
|
|
|
USWDS version 2 implemented components, https://designsystem.digital.gov/components/overview/, which are snippets of reusable code. They are very useful in that the back-end codes such as javascript and the front-end styling such as sass have already been developed. Using them is just a matter of placing and editing the html on a node or a block. Below are some examples of useful USWDS components along with the native html. These are by no means an exhaustive list but components deemed useful for the development of the Commerce website:
|
|
|
USWDS version 2 implemented components, https://designsystem.digital.gov/components/overview/, which are snippets of reusable code. They are very useful in that the back-end codes such as javascript and the front-end styling such as sass have already been developed. Using them is just a matter of placing and editing the html on a node or a block. Below are some examples of useful USWDS components along with the native html. These are by no means an exhaustive list but a sampling of components deemed useful for the development of the Commerce website:
|
|
|
|
|
|
**Accordion - a list of headers that hide or reveal additional content when selected**
|
|
|
|
... | ... | |