Layouts

Button

A powerful and composable button component for your application.

Variants

Use the variant prop to change the visual style of the button.

Use primary buttons sparingly; mostly for form submissions.

Sizes

The default button size works great for most cases, but here are some additional size options for unique situations.

Icons

Automatically sized and styled icons for your buttons.

Loading

Buttons with wire:click or type="submit" will automatically show a loading indicator and disable pointer events during network requests.

You can disable this behavior using :loading="false".

Full width

A button that spans the full width of the container.

Button groups

Fuse related buttons into a group with shared borders.

Icon group

Fuse multiple icon buttons into a visually-linked group.

Attached button

Append or prepend an icon button to another button to add additional functionality.

Display an HTML a tag as a button by passing the href prop.

As an input

To display a button as an input, pass as="button" to the input component .

Square

Make the height and width of a button equal. Flux does this automatically for icon-only buttons.

Inset

When using ghost or subtle button variants, you can use the inset prop to negate any invisible padding for better alignment.

Post successfully created.
Copyright © 2024 Wireable LLC · Terms of Service
Built with
by Caleb Porzio and Hugo Sainte-Marie