@shcnwc/shadcn-tabs-web-component
v1.3.2
Published
A set of layered sections of content—known as tab panels—that are displayed one at a time.
Readme
Tabs
A set of layered sections of content—known as tab panels—that are displayed one at a time.
Installation
npm install @shcnwc/shadcn-tabs-web-componentUsage
<script type="module">
import "@shcnwc/shadcn-tabs-web-component";
</script>
<tabs-root value="account" class="w-[400px]">
<tabs-list>
<tabs-trigger value="account">account</tabs-trigger>
<tabs-trigger value="password">password</tabs-trigger>
</tabs-list>
<tabs-content value="account">
make changes to your account here-
</tabs-content>
<tabs-content value="password">change your password here-</tabs-content>
</tabs-root>Links
Contributing
Contributions are welcome! Please open an issue or pull request on GitHub.
License
This project is licensed under the MIT License.
