Skip to content

hazg/sveltestrap-tabs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED. Tabs are already implemented in sveltestrap.

This is a simple solution of Bootstrap taps issue.

Get started

yarn add hazg/sveltestrap-tabs
<script>
  import { Tabs, TabHeader, Tab, TabContent, TabContentItem } from "sveltestrap-tabs"
</script>

<Tabs defaultId="one">

  <TabHeader>
    <Tab id="one">One</Tab>
    <Tab id="two">Two</Tab>
  </TabHeader>

  <TabContent>
    <TabContentItem id="one">
      first tab content
    </TabContentItem>
    <TabContentItem id="two">
      second tab content
    </TabContentItem>
  </TabContent>
</Tabs>

Author

Original author: @sonjoydatta for more info.

Fork author: @hazg

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Bootstrap tabs for Svelte on sveltestap

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Svelte 51.0%
  • JavaScript 49.0%