Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Tab Group Pill Variant is not mentioned in the docs. #946

Open
3 tasks done
kyledoesdev opened this issue Jan 2, 2025 · 1 comment
Open
3 tasks done

The Tab Group Pill Variant is not mentioned in the docs. #946

kyledoesdev opened this issue Jan 2, 2025 · 1 comment
Assignees

Comments

@kyledoesdev
Copy link

Flux version

1.1.2

Livewire version

3.5.12

What is the problem?

Currently, the tab group variant "pills" is not listed in the documentation. I believe this should be added because I didn't know it was an option until I went source diving. It was initially discussed here: #945

Code snippets

Here's an example implementation of the pills variant:

<flux:tab.group>
      <flux:tabs variant="pills">
            <flux:tab name="panels" icon="pencil-square">Panels</flux:tab>
            <flux:tab name="blog" icon="arrow-up-tray">Blog</flux:tab>
            <flux:tab name="technologies" icon="command-line">Technologies</flux:tab>
            <flux:tab name="photos" icon="photo">Photos</flux:tab>
            <flux:tab name="settings" icon="cog-6-tooth">Settings</flux:tab>
        </flux:tabs>

        <flux:tab.panel name="panels">
        </flux:tab.panel>

        <flux:tab.panel name="blog">
        </flux:tab.panel>

        <flux:tab.panel name="technologies">
        </flux:tab.panel>

        <flux:tab.panel name="photos">
        </flux:tab.panel>

        <flux:tab.panel name="settings">
        </flux:tab.panel>
</flux:tab.group>

How do you expect it to work?

n/a

Please confirm (incomplete submissions will not be addressed)

  • I have provided easy and step-by-step instructions to reproduce the bug.
  • I have provided code samples as text and NOT images.
  • I understand my bug report will be closed if I haven't met the criteria above.
@joshhanley
Copy link
Member

@kyledoesdev thanks for reporting! I've submitted a PR to add it to the docs.

@joshhanley joshhanley self-assigned this Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants