... | @@ -177,7 +177,7 @@ under the Creative Commons Attribution 4.0 International license. |
... | @@ -177,7 +177,7 @@ under the Creative Commons Attribution 4.0 International license. |
|
|
|
|
|
## Reusable Components
|
|
## 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 onto a node or a block. Below are some examples of useful USWDS components along with the native html:
|
|
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:
|
|
|
|
|
|
**Accordion - a list of headers that hide or reveal additional content when selected**
|
|
**Accordion - a list of headers that hide or reveal additional content when selected**
|
|
|
|
|
... | | ... | |