Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
fluxui-development
fluxui-development
salvatori/alma
claude-code
wordpress
boilerplate
bedrock
acorn
livewire

Develops UIs with Flux UI Free components. Activates when creating buttons, forms, modals, inputs, dropdowns, checkboxes, or UI components; replacing HTML form elements with Flux; working with flux: components; or when the user mentions Flux, component library, UI components, form fields, or asks about available Flux components.

Install
php artisan boost:add-skill salvatori/alma

Save this content to: .claude/skills/fluxui-development/SKILL.md

# Flux UI Development

## When to Apply

Activate this skill when:

- Creating UI components or pages
- Working with forms, modals, or interactive elements
- Checking available Flux components

## Documentation

Flux documentation: https://fluxui.dev/docs. Flux Free only; Pro components are not installed.

## Basic Usage

This project uses the free edition of Flux UI, which includes all free components and variants but not Pro components.

Flux UI is a component library for Livewire built with Tailwind CSS. It provides components that are easy to use and customize.

Use Flux UI components when available. Fall back to standard Blade components when no Flux component exists for your needs.

<!-- Basic Button -->
```blade
<flux:button variant="primary">Click me</flux:button>
```

## Available Components (Free Edition)

Available: avatar, badge, brand, breadcrumbs, button, callout, checkbox, dropdown, field, heading, icon, input, modal, navbar, otp-input, profile, radio, select, separator, skeleton, switch, text, textarea, tooltip

## Icons

Flux includes [Heroicons](https://heroicons.com/) as its default icon set. Search for exact icon names on the Heroicons site - do not guess or invent icon names.

<!-- Icon Button -->
```blade
<flux:button icon="arrow-down-tray">Export</flux:button>
```

For icons not available in Heroicons, use [Lucide](https://lucide.dev/). Import the icons you need with the Artisan command:

```bash
wp acorn flux:icon crown grip-vertical github
```

## Common Patterns

### Form Fields

<!-- Form Field -->
```blade
<flux:field>
    <flux:label>Email</flux:label>
    <flux:input type="email" wire:model="email" />
    <flux:error name="email" />
</flux:field>
```

### Modals

<!-- Modal -->
```blade
<flux:modal wire:model="showModal">
    <flux:heading>Title</flux:heading>
    <p>Content</p>
</flux:modal>
```

## Verification

1. Check component renders correctly
2. Test interactive states
3. Verify mobile responsiveness

## WooCommerce Integration

When styling WooCommerce templates (like single product or archives):
- Override the default WooCommerce templates by copying them to `resources/views/woocommerce/`.
- Replace native unstyled HTML inputs/buttons with their Flux UI equivalents (e.g., `<flux:button>` for Add to Cart).
- Use Tailwind CSS and Flux wrappers (like `flux:field`) to gracefully handle raw WooCommerce outputs.

## Common Pitfalls

- Trying to use Pro-only components in the free edition
- Not checking if a Flux component exists before creating custom implementations
- Guessing a component's props instead of checking https://fluxui.dev/docs
- Not following existing project patterns for Flux usage
- Forgetting to wrap floating/absolute WooCommerce elements in flexible Tailwind containers to prevent overlap

Flux UI Development

When to Apply

Activate this skill when:

  • Creating UI components or pages
  • Working with forms, modals, or interactive elements
  • Checking available Flux components

Documentation

Flux documentation: https://fluxui.dev/docs. Flux Free only; Pro components are not installed.

Basic Usage

This project uses the free edition of Flux UI, which includes all free components and variants but not Pro components.

Flux UI is a component library for Livewire built with Tailwind CSS. It provides components that are easy to use and customize.

Use Flux UI components when available. Fall back to standard Blade components when no Flux component exists for your needs.

<flux:button variant="primary">Click me</flux:button>

Available Components (Free Edition)

Available: avatar, badge, brand, breadcrumbs, button, callout, checkbox, dropdown, field, heading, icon, input, modal, navbar, otp-input, profile, radio, select, separator, skeleton, switch, text, textarea, tooltip

Icons

Flux includes Heroicons as its default icon set. Search for exact icon names on the Heroicons site - do not guess or invent icon names.

<flux:button icon="arrow-down-tray">Export</flux:button>

For icons not available in Heroicons, use Lucide. Import the icons you need with the Artisan command:

wp acorn flux:icon crown grip-vertical github

Common Patterns

Form Fields

<flux:field>
    <flux:label>Email</flux:label>
    <flux:input type="email" wire:model="email" />
    <flux:error name="email" />
</flux:field>

Modals

<flux:modal wire:model="showModal">
    <flux:heading>Title</flux:heading>
    <p>Content</p>
</flux:modal>

Verification

  1. Check component renders correctly
  2. Test interactive states
  3. Verify mobile responsiveness

WooCommerce Integration

When styling WooCommerce templates (like single product or archives):

  • Override the default WooCommerce templates by copying them to resources/views/woocommerce/.
  • Replace native unstyled HTML inputs/buttons with their Flux UI equivalents (e.g., <flux:button> for Add to Cart).
  • Use Tailwind CSS and Flux wrappers (like flux:field) to gracefully handle raw WooCommerce outputs.

Common Pitfalls

  • Trying to use Pro-only components in the free edition
  • Not checking if a Flux component exists before creating custom implementations
  • Guessing a component's props instead of checking https://fluxui.dev/docs
  • Not following existing project patterns for Flux usage
  • Forgetting to wrap floating/absolute WooCommerce elements in flexible Tailwind containers to prevent overlap
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator
equipc/laravel-email-database-log
adedsec/nova-translated-labels
wazza/laravel-db-encryption
hokny/laravel-generator
vonsogt/backup
jengo/queues
jeremykenedy/laravel-observability
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums