Buttons
Use Sedna CSS custom button styles for actions in forms, dialogs, and more with support for multiple sizes, states, and more.
Default
Primary
Success
Warning
Danger
White
<div class="SnBtn">Default</div>
<div class="SnBtn primary">Primary</div>
<div class="SnBtn success">Success</div>
<div class="SnBtn warning">Warning</div>
<div class="SnBtn danger">Danger</div>
<div class="SnBtn white">White</div>
Small
Default
Large
<div class="SnBtn sm">Small</div>
<div class="SnBtn">Default</div>
<div class="SnBtn lg">Large</div>
block
block
block
<div class="SnBtn block">Default</div>
<div class="SnBtn primary block">Primary</div>
<div class="SnBtn success block">Success</div>
Default
Primary
Success
Warning
Danger
White
<div class="SnBtn loading">Default</div>
<div class="SnBtn primary loading">Primary</div>
<div class="SnBtn success loading">Success</div>
<div class="SnBtn warning loading">Warning</div>
<div class="SnBtn danger loading">Danger</div>
<div class="SnBtn white loading">White</div>
Default
Primary
Success
Warning
Danger
White
<div class="SnBtn loading" disabled>Default</div>
<div class="SnBtn primary loading" disabled>Primary</div>
<div class="SnBtn success loading" disabled>Success</div>
<div class="SnBtn warning loading" disabled>Warning</div>
<div class="SnBtn danger loading" disabled>Danger</div>
<div class="SnBtn white loading" disabled>White</div>
Default
Primary
<div class="SnBtn-group">
<div class="SnBtn loading">Default</div>
<div class="SnBtn primary loading">Primary</div>
</div>
<div class="SnBtn-group">
<div class="SnBtn icon"><i class="icon-clipboard"></i></div>
<div class="SnBtn icon"><i class="icon-facebook"></i></div>
<div class="SnBtn icon"><i class="icon-twitter"></i></div>
<div class="SnBtn primary icon"><i class="icon-code"></i></div>
</div>
twitter
twitter
twitter
<div class="SnBtn-group">
<div class="SnBtn icon"><i class="icon-clipboard"></i></div>
<div class="SnBtn icon"><i class="icon-facebook"></i></div>
<div class="SnBtn icon"><i class="icon-twitter"></i></div>
<div class="SnBtn primary icon"><i class="icon-code"></i></div>
</div>
API
Property | Class |
---|---|
Button | .SnBtn |
Color | .primary .success .warning .danger .white |
Size | .sm .lg |
Loading | .loading |
Disabled | .disabled |
Block | .block |
Group | .SnBtn-group |
Icon | .icon |