Skip to content

Commit 3ea0d6a

Browse files
committed
guidelines: improve flux ui free/pro guidelines with list of components and better wording
1 parent 4384c34 commit 3ea0d6a

File tree

2 files changed

+19
-4
lines changed

2 files changed

+19
-4
lines changed

.ai/fluxui-free/core.blade.php

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
1+
- This project is using Flux UI - Free. It has full access to the free components and variants, but does not have access to the Pro components.
12
- Flux UI is a component library for Livewire. Flux is a robust, hand-crafted, UI component library for your Livewire applications. It's built using Tailwind CSS and provides a set of components that are easy to use and customize.
23
- You should use Flux UI components when available.
34
- Flux UI components look like this:
4-
<code-snippet>
5+
<code-snippet name="Flux UI component usage example" lang="blade">
56
<flux:button variant="primary"/>
67
</code-snippet>
78
- Fallback to standard Blade components if Flux is unavailable.
8-
- Use Laravel Boost's `search-docs` tool to get the exact documentation and code snippets available for this project.
9+
- If available, use Laravel Boost's `search-docs` tool to get the exact documentation and code snippets available for this project.
10+
11+
### List of available components
12+
This is correct as of Boost install, but there may be additional ones within the codebase.
13+
<available-flux-components>
14+
avatar, badge, brand, breadcrumbs, button, callout, checkbox, dropdown, field, heading, icon, input, modal, navbar, profile, radio, select, separator, switch, text, textarea, tooltip
15+
</available-flux-components>

.ai/fluxui-pro/core.blade.php

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
1+
- This project is using Flux UI - Pro. It has full access to the free components and variants, as well as full access to the Pro components and variants.
12
- Flux UI is a component library for Livewire. Flux is a robust, hand-crafted, UI component library for your Livewire applications. It's built using Tailwind CSS and provides a set of components that are easy to use and customize.
23
- You should use Flux UI components when available.
34
- Flux UI components look like this:
4-
<code-snippet>
5+
<code-snippet name="Flux UI component usage example" lang="blade">
56
<flux:button variant="primary"/>
67
</code-snippet>
78
- Fallback to standard Blade components if Flux is unavailable.
8-
- Use Laravel Boost's `search-docs` tool to get the exact documentation and code snippets available for this project.
9+
- If available, use Laravel Boost's `search-docs` tool to get the exact documentation and code snippets available for this project.
10+
11+
### List of available components
12+
This is correct as of Boost install, but there may be additional ones within the codebase.
13+
14+
<available-flux-components>
15+
accordion, autocomplete, avatar, badge, brand, breadcrumbs, button, calendar, callout, card, chart, checkbox, command, context, date-picker, dropdown, editor, field, heading, icon, input, modal, navbar, pagination, popover, profile, radio, select, separator, switch, table, tabs, text, textarea, toast, tooltip
16+
</available-flux-components>

0 commit comments

Comments
 (0)