Welcome to the Design System
This page contains all button styles and components used across BrassHelm internal systems. Each example includes a live preview, usage notes, and a "Copy Code" button that provides everything Claude needs to implement the button (HTML, CSS, JavaScript, and context).
How to use: Click any "Copy Code" button to get a complete package with: HTML structure, CSS styles (including hover/active states), SVG icons, JavaScript functionality, and usage notes. Paste into Claude to implement immediately.
Icon-Only Navigation Buttons
Square glassmorphism buttons with SVG icons. Used in top navigation for actions like logout, settings, schema view. Features entrance animations, shimmer hover effect, and custom tooltips.
Icon-Only Nav Button
42×42px glassmorphism button with SVG icon, shimmer effect, and tooltip.
Use for: Top navigation actions, icon-only controls
States: Default, hover (shimmer + lift), active
Logout Button (Icon-Only)
Same style as nav button, specifically for logout action with log-out icon.
Use for: Logout action in top navigation
Primary Action Buttons (With Text)
Gradient purple buttons for primary actions. Used for "Add Lead", "Save User", form submissions.
Primary Button
Purple gradient button with text. Main call-to-action style.
Use for: Primary actions, form submissions, add/create operations
States: Default, hover (lift + shadow), active, disabled
Small Primary Button
Compact version of primary button for tight spaces or secondary prominence.
Use for: Table actions, inline operations, compact layouts
Secondary Buttons
White/outlined buttons for secondary actions. Used for "Cancel", "Clear", alternative actions.
Secondary Button
White background with purple border. For secondary/cancel actions.
Use for: Cancel, clear, alternative actions
Purple Outlined Button
Similar to secondary but with purple (#764ba2) accent.
Use for: Alternative actions with purple theme
Mini Square Buttons (No Text)
Small 32×32px square buttons with only icons. Compact version for tight spaces.
Mini Square Primary Button
32×32px purple gradient square button, icon only.
Use for: Compact primary actions in tight spaces
Mini Square Secondary Button
32×32px white button with purple border, icon only.
Use for: Compact secondary actions
Mini Square Danger Button
32×32px red button, icon only. For compact delete actions.
Use for: Compact delete/remove actions
Additional Button Sizes
Small Secondary Button
Compact white button with purple border and text.
Use for: Secondary actions in compact spaces
Danger/Delete Buttons
Red buttons for destructive actions. Used for delete, remove, reject operations.
Danger Button
Red button for destructive actions.
Use for: Delete, remove, reject, destructive operations
Small Danger Button
Compact red button for inline delete actions.
Use for: Table row actions, compact delete buttons
Compact Action Buttons
48×48px square icon buttons for toolbars. Includes disabled states and conditional activation (e.g., only active when items selected).
Trash Button (Compact, Conditional)
48×48px square red button. Disabled (gray) until items selected.
Use for: Bulk delete operations in data tables
States: Disabled (default), Active (when items selected)
Check the box above to simulate selecting items in a table
Status Change Button (Compact, Conditional)
48×48px square purple button. Disabled until items selected.
Use for: Bulk status change operations
Action Button (Compact, Always Active)
48×48px square button with purple border. Always clickable.
Use for: Refresh, export, filter toggle, always-available actions
Special Purpose Buttons
Review Button (Yellow)
Yellow button for review actions - stands out for attention-needed items.
Use for: Review workflows, pending approvals, items needing attention
Results Button (Green)
Green button for viewing results and analytics - positive action indicator.
Use for: View results, show analytics, display reports, success metrics
iOS-Style Toggle Switch
Smooth animated toggle switch for enable/disable states.
Use for: Feature toggles, on/off switches, boolean settings
Modal Buttons
Buttons specifically styled for modal dialogs (footers, close buttons, tabs).
Modal Close Button (×)
White × button in modal header. Positioned absolutely in top right.
Use for: Closing modals
Modal Title
Modal Footer Buttons
Cancel (secondary) + Save (primary) button pair in modal footer.
Use for: Modal form submissions
Modal Tab Buttons
Tab navigation buttons for multi-tab modals.
Use for: Tabbed content in modals (e.g., Details/Notes/Activity)
This would show lead details, user information, etc.
This would show notes and comments.
This would show activity history and timeline.
Table Row Action Buttons
Small inline buttons used in table rows for edit/delete/approve/reject actions.
Edit Button (Table Row)
Green gradient button for editing table rows.
Use for: Edit actions in user tables, data tables
Delete Button (Table Row)
Red gradient button for deleting table rows.
Use for: Delete actions in user tables, data tables
Approve/Reject Button Pair
Green approve + Red reject buttons for review workflows.
Use for: Approval workflows, request management
Toast Notifications
Toast notifications appear in the top-right corner to provide user feedback. Auto-dismiss after 4 seconds with progress bar. Hover over any toast to pause the timer, move away to resume.
Success Toast
Green border-left, checkmark icon. For successful operations.
Use for: Save confirmations, successful deletions, data refreshes
Error Toast
Red border-left, X-circle icon. For errors and failures.
Use for: API errors, validation failures, operation errors
Warning Toast
Orange border-left, triangle icon. For warnings and cautions.
Use for: Validation warnings, non-critical issues, user notifications
Info Toast
Blue border-left, info icon. For informational messages.
Use for: General info, tips, status updates, loading states
Loading Toast (Persistent)
Info toast with spinning loader icon. Manually removed when operation completes.
Use for: Long-running operations, bulk actions, waiting states
Modal Components
Modal dialog boxes used for forms, confirmations, and detailed views. All modals use backdrop blur, smooth entrance animations, and responsive layouts.
Basic Modal Structure
Standard modal with header, body, and footer. Purple gradient header with close button.
Use for: General purpose dialogs, forms, content display
Features: Backdrop click-to-close, ESC key support, smooth animations
Modal Title
Modal Title
Modal body content goes here.
Form Modal
Modal containing a form with input fields, labels, and validation.
Use for: Create/edit operations, user input collection
Features: Form validation, required fields, proper labels
Add New Lead
Add New Lead
Delete Confirmation Modal
Destructive action modal with warning box and typed confirmation.
Use for: Delete operations, irreversible actions
Features: Warning banner, typed "DELETE" confirmation, disabled submit until confirmed
Confirm Deletion
Confirm Deletion
Tabbed Modal (Multi-Section)
Large modal with tab navigation for organizing complex content.
Use for: Lead details, user profiles, multi-section views
Features: Tab switching, independent content sections, scrollable body