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

Build apps, not infrastructure.

Dealing with servers, hardware, and infrastructure can take up your valuable time. Discover the benefits of Heroku, the PaaS of choice for developers since 2007.

Visit Site

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Engage with a sea of insights in this enlightening article, highly esteemed within the encouraging DEV Community. Programmers of every skill level are invited to participate and enrich our shared knowledge.

A simple "thank you" can uplift someone's spirits. Express your appreciation in the comments section!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found this useful? A brief thank you to the author can mean a lot.

Okay