• Svelte UI Components
Button
Menu
Table
Rating
Timeline
Card
List
Snackbar
Tooltip
Progress Bar

Button Component

Examples

Types of Button

Button Loading

Sample Code


// import Button Component

import { Button } from "svelte-ui-elements";


// Default Button
<Button>Default</Button>

// Primary Button
<Button type="Primary">Primary</Button>

// Dashed Button
<Button type="Dashed">Dashed</Button>

// Link
<Button type="Link">Link</Button>
  

API

Default ValueDescriptionPropertyType
primarycan be set to primary, dashed, link or omitted (meaning default)typeString
falseto show loaderloadingBoolean