Documentation Index
Fetch the complete documentation index at: https://memberpulseptyltd.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Buttons
Buttons trigger actions and guide users through workflows. Consistent button styling helps users understand the importance and impact of actions.Button Variants
Primary Button
Primary Button
Hover State
Active State
Disabled
Secondary Button
Secondary Button
Hover State
Disabled
Tertiary / Outline Button
Outline Button
Hover State
Disabled
Ghost Button
Ghost Button
Hover State
Semantic Buttons
Success Button
Success
Success Outline
Warning Button
Warning
Warning Outline
Danger / Destructive Button
Danger
Danger Outline
Button Sizes
Small
Medium (Default)
Large
| Size | Padding | Font Size | Height | Usage |
|---|---|---|---|---|
| Small | 0.375rem 0.75rem | 12px | 32px | Compact interfaces, tables |
| Medium | 0.625rem 1.25rem | 14px | 40px | Default, most use cases |
| Large | 0.875rem 1.75rem | 16px | 48px | Hero sections, prominent CTAs |
Button with Icons
+ Add Member
Download ↓
- Icons should be 16-20px depending on button size
- Left icon for actions (Add, Create, Download)
- Right icon for navigation (Next, External link)
- Icon-only buttons need
aria-labelfor accessibility
Button Groups
Left
Center
Right
Button States
| State | Description | Visual Treatment |
|---|---|---|
| Default | Normal state | Standard styling |
| Hover | Mouse over | Lightened background |
| Focus | Keyboard focus | Ring outline (--ring) |
| Active | Being clicked | Darkened background |
| Disabled | Not interactive | 50% opacity, cursor: not-allowed |
| Loading | Processing | Spinner icon, disabled interaction |
Loading State
↻ Loading…
Accessibility
Do’s and Don’ts
Do
- Use clear, action-oriented labels
- Place primary button on the right
- Use one primary button per section
- Disable buttons during loading
- Show loading state for async actions
Don't
- Don’t use vague labels like “Click here”
- Don’t use multiple primary buttons together
- Don’t disable without explanation
- Don’t hide important actions in menus
- Don’t use red for non-destructive actions