PHPackages                             jpmurray/gonewiththewind - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. jpmurray/gonewiththewind

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

jpmurray/gonewiththewind
========================

A package containing Tailwind CSS components that plays well with the default Laravel Tailwind UI.

1.3.2(5y ago)118MITPHP

Since Jan 2Pushed 5y ago1 watchersCompare

[ Source](https://github.com/jpmurray/GoneWithTheWind)[ Packagist](https://packagist.org/packages/jpmurray/gonewiththewind)[ RSS](/packages/jpmurray-gonewiththewind/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (1)Versions (8)Used By (0)

Gone with the (Tail)Wind
========================

[](#gone-with-the-tailwind)

Packages that provides (what I think is) blade components that plays well with the basic Tailwind UI offered by Laravel (in Breeze, for example).

This was made in an effort to try and learn Tailwind. Not that I want to learn it, mind you, I'd still prefer to be using Bootstrap out of the box! But I'm a prototyper, and it seems I have to take a small time in my schedule so I can *go with the wind* of what's now offered by default in Laravel.

Components and usage
--------------------

[](#components-and-usage)

### Cards components

[](#cards-components)

#### Table

[](#table)

```

```

**Attributes**:

- `model` asks for the singular model name to generates things like routes (ex: `route('users.index'))
- `data` asks for the data to display in table, goes well with an eloquent collection or a paginated collection.
- `show` asks what column to show from the data (ex: `['name', 'created_at']`)
- `actions` defaults to null, but if provided, will add an `action` column with specified ones. For now, supports `['edit', 'delete']`

### Forms components

[](#forms-components)

#### Label

[](#label)

```
Name
```

---

#### Select

[](#select)

```

```

**Attributes**:

- `choices` asks for an associative array of `label => value`to populate the select element
- `chosen` asks for what should be selected in the choices, if necessary.

---

#### Submit button

[](#submit-button)

```
Save
