Buttons

Tlačítka pro akce a navigaci.

Primary

Outline

With icon (default right)

With icon on the left side

Size - sm

Size - xs

Icon only

Icon only - sm

Icon only - xs

Form button

Button as link

Button as span

Button as span

Assign extra class and ID

Full width

Full width on mobile breakpoint

Primary disabled

Outline disabled

Props

PropTypeDefaultDescription
titlestring-Button label text
variant'primary' | 'outline' | 'outline-tertiary' | 'transparent''primary'Button visual style
size'xs' | 'sm' | 'md' | 'lg''md'Button size
urlstring-URL for link buttons
tag'button' | 'a' | 'span'autoHTML tag to render
type'button' | 'submit' | 'reset''button'Button type for forms
blankbooleanfalseOpen link in new tab
disabledbooleanfalseDisabled state
animation'right' | 'zoom' | 'left' | 'down'-Hover animation
iconIconProps-Icon configuration
iconBeforebooleanfalsePlace icon before title
iconOnlybooleanfalseShow only icon
fullWidthbooleanfalseFull width button
fullWidthMobilebooleanfalseFull width on mobile only
idstring-Button ID attribute
classNamestring-Additional CSS classes
onClick() => void-Click handler