defmodule Shino.UI.Tabs do
@moduledoc """
Provides tabs related components.
> Displays a set of layered sections of content-known as tab panels—that are
> displayed one at a time.
## Examples
```heex
accountpassword
Account
Password
```
Above tabs should be usable, but to avoid of the flash of unstyled content,
extra classes should be added for tabs content.
```heex
accountpassword
Account
Password
```
## References
* [@radix-ui/primitives - Tabs](https://www.radix-ui.com/primitives/docs/components/tabs)
* [shadcn/ui - Tabs](https://ui.shadcn.com/docs/components/tabs)
"""
use Shino.UI, :component
@doc """
The root contains all the parts of a form.
"""
attr :id, :string, required: true
attr :default_value, :string, required: true
attr :class, :string, default: nil
attr :rest, :global
slot :inner_block, required: true
def root(assigns) do
~H"""