react-simple-tabs

Tabs in React that doesn't get in your way.

Usage no npm install needed!

<script type="module">
  import reactSimpleTabs from 'https://cdn.skypack.dev/react-simple-tabs';
</script>

README

react-simple-tabs npm version Build Status Dependencies Status devDependency Status

Tabs in React that doesn't get in your way.

Usage

As a work-in-progress, we aim for this usage:

<Tab>
  <TabList>
    <TabItem>Home</TabItem>
  </TabList>

  <TabBox>
    <TabContent>Whatever</TabContent>
  </TabBox>
</Tab>

This way, it doesn't try to assume which selector should be used to style the tabs, nor should it try to hide something away from its consumer.

Acknowledgement

react-simple-tabs © 2015+, Sourcescript. react-simple-tabs is released under the MIT License.