r-tiny-tabs — ReactJs wrapper for tinytabs component
Example code
tinytabs is a tiny (1.3 KB minified) Javascript tabbing library. Zero dependencies. All you need is a few layers in a container layer, and bam, tabbed interface. If Javascript is not enabled, it degrades nicely too.
HTML
Include the CSS file
<link rel="stylesheet" type="text/css" href="tinytabs.css" />
Then
<div id="mytabs"> <div class="section" id="music"> <h3 class="title">Music</h3> Content here </div> <div class="section" id="videos"> <h3 class="title">Videos</h3> Content </div> </div>