-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
USWDS-Proposals - Pre-alpha: Web components Accordion (details) #32
Comments
Accordion component design planLandscape analysisAccordion and details code samples from the landscape analysis (Google docs 🔒) Proposed component structureCritical content
Sample default implementation: <usa-accordion>
<details open="true">
<summary>First Amendment</summary>
<div slot="accordion-body">Congress shall make no law respecting an establishment of religion, or prohibiting the free exercise thereof; or abridging the freedom of speech, or of the press; or the right of the people peaceably to assemble, and to petition the Government for a redress of grievances.</div>
</details>
<details>
<summary>Second Amendment</summary>
<div slot="accordion-body">A well regulated Militia, being necessary to the security of a free State, the right of the people to keep and bear Arms, shall not be infringed.</div>
</details>
<details>
<summary>Third Amendment</summary>
<div slot="accordion-body">No Soldier shall, in time of peace be quartered in any house, without the consent of the Owner, nor in time of war, but in a manner to be prescribed by law.
</div>
</details>
</usa-accordion> Shadow DOMVariantsCurrent variants
Proposed additional variants
PropsCurrent variants
Proposed additional variants
SlotsUnnamed slot CSS Parts
CSS VariablesCurrent settings
Proposed additional setting
Translatable content |
Connected with @mejiaj and changed the weight to 10 Must Do. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
Research and planning tasks
The text was updated successfully, but these errors were encountered: