JSFiddle - React, Tailwind, and code Playground
by TJ VanToll
HTML
<link rel="stylesheet" href="http://code.jquery.com/ui/jquery-ui-git.css">
<script src="http://code.jquery.com/ui/jquery-ui-git.js"></script>
<div id="accordion">
<h3>
<a href="#">One</a>
</h3>
<div>One - Contents</div>
<h3>
<a href="#">Two</a>
</h3>
<div>Two - Contents</div>
<h3>
<a href="#">Three</a>
</h3>
<div>Three - Contents</div>
</div>
CSS
/*! jQuery UI - v1.10.3 - 2013-07-15
* http://jqueryui.com
* Includes: jquery.ui.core.css, jquery.ui.resizable.css, jquery.ui.selectable.css, jquery.ui.accordion.css, jquery.ui.autocomplete.css, jquery.ui.button.css, jquery.ui.datepicker.css, jquery.ui.dialog.css, jquery.ui.menu.css, jquery.ui.progressbar.css, jquery.ui.slider.css, jquery.ui.spinner.css, jquery.ui.tabs.css, jquery.ui.tooltip.css
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=arial&fwDefault=normal&fsDefault=13px&cornerRadius=0px&bgColorHeader=%23ffffff&bgTextureHeader=gloss_wave&bgImgOpacityHeader=75&borderColorHeader=%23ffffff&fcHeader=%230945c4&iconColorHeader=%230945c4&bgColorContent=%23ffffff&bgTextureContent=inset_hard&bgImgOpacityContent=0&borderColorContent=%23ffffff&fcContent=%23333434&iconColorContent=%230945c4&bgColorDefault=%230945c4&bgTextureDefault=glass&bgImgOpacityDefault=0&borderColorDefault=%230945c4&fcDefault=%23ffffff&iconColorDefault=%23ffffff&bgColorHover=%23ffffff&bgTextureHover=glass&bgImgOpacityHover=75&borderColorHover=%230945c4&fcHover=%230945c4&iconColorHover=%230945c4&bgColorActive=%23388d0f&bgTextureActive=gloss_wave&bgImgOpacityActive=0&borderColorActive=%23388d0f&fcActive=%23ffffff&iconColorActive=%23ffffff&bgColorHighlight=%23388d0f&bgTextureHighlight=glass&bgImgOpacityHighlight=0&borderColorHighlight=%23388d0f&fcHighlight=%23ffffff&iconColorHighlight=%23ffffff&bgColorError=%23cd0a0a&bgTextureError=gloss_wave&bgImgOpacityError=0&borderColorError=%23cd0a0a&fcError=%23ffffff&iconColorError=%23ffffff&bgColorOverlay=%23000000&bgTextureOverlay=flat&bgImgOpacityOverlay=0&opacityOverlay=80&bgColorShadow=%23999999&bgTextureShadow=flat&bgImgOpacityShadow=0&opacityShadow=0&thicknessShadow=0px&offsetTopShadow=5px&offsetLeftShadow=5px&cornerRadiusShadow=5px
* Copyright 2013 jQuery Foundation and other contributors Licensed MIT */
/* Layout helpers
----------------------------------*/
.ui-helper-hidden {
display:...
JavaScript
$( "#accordion" ).accordion();