DEV Community

Cover image for New accordion component
Méschac Irung for Tailus

Posted on • Edited on

1 1 1 1 1

New accordion component

According to WAI (Web Accessibility Initiative), an accordion is a vertically stacked set of interactive headings that each contain a title, content snippet, or thumbnail representing a section of content. The headings function as controls that enable users to reveal or hide their associated sections of content. Accordions are commonly used to reduce the need to scroll when presenting multiple sections of content on a single page.

The most common use is to create the frequently asked questions (FAQ) section.

The Accordion in Tailus UI React has 6 variants, giving you more options as to how you want the accordion to look.

Tailus UI React Accordion default variant

Tailus UI React Accordion outlined variant

Tailus UI React Accordion elevated variant

Tailus UI React Accordion soft variant

Tailus UI React Accordion ghost variant

Tailus UI React Accordion outlined-elevated variant

Learn more about the Accordion component Here

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more