Accordions
The accordion component is a collection of vertically collapsing header and body elements that can be used to show and hide information.
Do you have any social accounts?
Yes! You can find Wind UI in many social platforms, such as Facebook, Discord, Reddit and many more, which you can find on our footer under Socials.
How can I communicate with your support team?
You can communicate with our team for support through our discord channel. Once you have asked your question, one of our team members will answer you as soon as possible.
Do you have a newsletter?
Of course! You can join our community through our newsletter which is located on the bottom of every page on our website.
Is there any other way of communication?
You can always communicate with us through our social accounts and email address at info@wind-ui.com.
Variations
Basic Accordion
How does TailwindCSS works?
Tailwind CSS works by scanning all of your HTML files, JavaScript components, and any other templates for className names, generating the corresponding styles and then writing them to a static CSS file.
How do I install TailwindCSS?
The simplest and fastest way to get up and running with Tailwind CSS from scratch is with the Tailwind CLI tool. The CLI is also available as a standalone executable if you want to use it without installing Node.js. Install tailwindcss via npm, and create your tailwind.config.js file.
What is Wind UI about?
Expertly made, responsive, accessible components in React and HTML ready to be used on your website or app. Just copy and paste them on your Tailwind CSS project.
How do I use Wind UI components?
All components can be copied and pasted and easily implemented in your tailwind css projects. You can choose which language you want to copy the desired component and just hover and click on the component you need and paste it on your project.
Basic Accordion with Icons
What browsers are supported?
The components in Wind UI are designed to work in the latest, stable releases of all major browsers, including Chrome, Firefox, Safari, and Edge.
Are the components only available in green?
All components are easily customizable to match your own project.
Is WindUi open source?
WindUI is not an open source project yet, but we don't guarantee that it won't become in the future.
How can I help improve WindUI?
You can help our team improve WindUI by giving us feedback on our discord channel.
Outline Accordion
Which languages are available for the components?
Wind UI team currently releases it's components on HTML and React, but also thinking on adding more in the future. You can easily toggle between the two languages through the code blocks, on each page component.
Which icons are you using in the components?
All our icons related ui components are using, heroicons SVG icons, by the makers of Tailwind CSS.
How can I learn about the latest changes?
You can find all latest additions and updates in our Changelog page, where we have a detailed timeline for any changes.
Where can I find the official TailwindCSS documentation?
You can find the official TailwindCSS detailed documentation as well as the official TailwindCSS website link on our footer under Resources.
Outline Accordion with Icons
Do you have any social accounts?
Yes! You can find Wind UI in many social platforms, such as Facebook, Discord, Reddit and many more, which you can find on our footer under Socials.
How can I communicate with your support team?
You can communicate with our team for support through our discord channel. Once you have asked your question, one of our team members will answer you as soon as possible.
Do you have a newsletter?
Of course! You can join our community through our newsletter which is located on the bottom of every page on our website.
Is there any other way of communication?
You can always communicate with us through our social accounts and email address at info@wind-ui.com.
Elevated Accordion
How do I know what comes next?
Whenever the team is brewing something new, you will be able to find it, grayed out, on the main component page as well as the websites side navigation. The new component name will be there with a "coming next" badge.
How do I know what is new?
You will always get notified about new components through our discord and other social accounts. You can also see the newest components on the main component page as well as the websites side navigation with a "new" badge next to their name.
How do I know what is updated?
All updated components will be accompanied by an "updated" badge. YOu will be able to see that on our main components page as well as our side navigation.
How will I know about any major releases or news?
You will get notified by us about any major news or releases through our newsletter and our social accounts.
Elevated Accordion with Icons
How do I use Wind UI components?
All components can be copied and pasted and easily implemented in your tailwind css projects. You can choose which language you want to copy the desired component and just hover and click on the component you need and paste it on your project.
What do you mean by accessible components?
All components come with proper attributes to ensure full accessibility with the WAI-ARIA standards. Web accessibility means that websites, tools, and technologies are designed and developed so that people with disabilities can use them.
What do you mean about fully responsive?
Every component is fully responsive and implemented to look great at any screen size.
Which version of TailwindCSS are you using for the components?
Our team has used the currently latest TailwindCSS version. The code is used in its original form without any customization or third party dependencies.
Usage
The accordion component is used to deliver large amounts of content in a small space through progressive disclosure.
To implement the accordion the native <summary>
HTML element is used. Contents can be any heading content, plain text, or HTML that can be used within a paragraph.
A <summary>
element may only be used as the first child of a <details>
element. When the user clicks on the summary, the parent <details>
element is toggled open or closed, and then a toggle event is sent to the <details>
element, which can be used to let you know when this state change occurs.
Specs
Each accordion is wrapped within a <details>
element with a 1rem (16px) internal padding and can consist of:
- Summary: the title of the component. Font size of 1rem (16px) and 500 font-weight. It can also have an icon of 1.5rem (24px) in width and height.
- Content: Any HTML content.
Accessibility notes
Since accordions are built with the native <details>
element no additional accessibility roles are required.