Streamline the Laravel SaaS Starter Kit - Launch Your Next SaaS Today

Button

Buttons can be used for actions or links

x-t-button

Preview and Examples

<x-turbine-ui-button>
Default Link
</x-turbine-ui-button>
 
<x-turbine-ui-button variant="brand">
Brand Link
</x-turbine-ui-button>
 
<x-turbine-ui-button variant="primary">
Primary Link
</x-turbine-ui-button>
 
<x-turbine-ui-button variant="secondary">
Secondary Link
</x-turbine-ui-button>
 
<x-turbine-ui-button variant="success">
Success Link
</x-turbine-ui-button>
 
<x-turbine-ui-button variant="warning">
Warning Link
</x-turbine-ui-button>
 
<x-turbine-ui-button variant="danger">
Danger Link
</x-turbine-ui-button>
        

Attributes

Name Type Options Description
accent boolean
true false
Adds an accent
active boolean
true false
Sets state as active
animate boolean
true false
Adds an animation
border boolean
true false
Adds a border
divide boolean
true false
Adds a divide between elements
gradient boolean
true false
Adds a gradient
hollow boolean
true false
Removes background colour
hover boolean
true false
Adds a hover state
href string
string
Adds a link
prefix string
string
Adds content to the start
ring boolean
true false
Adds a ring
rounded boolean
true false
Adds rounded corners
shadow boolean
true false
Adds a shadow
size string
xs sm md lg xl 2xl
Controls component scale
suffix string
string
Adds content to the end
variant string
default brand primary secondary success warning danger light dark
A variant is like a colour palette