Layout
v1.0.0Added in 1.0.0
A stack of disclosures for FAQs, settings sections and order details, with four variants, icons, descriptions and one or many open.
Click or tap anywhere on a row to open it: the answer grows out on a smooth spring while the rows below slide down, and the chevron flips (or the plus folds into a minus). In single mode opening one row closes the other. With a keyboard, Tab reaches the rows, Up and Down move between them, Home and End jump to the first and last, and Enter or Space toggles. Rows are at least 44px tall on every size and the whole row is the target, so they are easy to hit on a phone. With keepMounted, the browser's find in page opens the row that holds the match. With reduced motion nothing slides: the answer simply fades in and out.
npx wingo-ui@latest add accordionShort answers about listings, delivery and your account.
Did not find your answer? Write to us