All Components
Every component in SaloneUI uses simple, plain English words. No cryptic acronyms. Click any copy button to immediately paste into your code.
2. Card
Modern card surface with smooth 12px border radius and soft shadows.
Modern Card
This is a clean, versatile container for any content.
<div class="card">
<h4>Modern Card</h4>
<p>This is a clean, versatile container for any content.</p>
<button class="button green small">Action</button>
</div>
3. Input
Standard inputs plus input error and input success states.
<label class="label">Phone Number</label>
<input class="input" placeholder="e.g. +232 76 123456">
<label class="label">Success State</label>
<input class="input success" value="Valid Account Verified">
4. Money Card
Built-in financial card widget with gradient background and balance toggle.
<div class="money-card">
<div class="money-header">
<span>Available Balance</span>
<button class="eye-button">Hide</button>
</div>
<div class="money-balance">SLL 4,850,000</div>
<div class="money-footer">
<span>Monime / Orange Money</span>
<span>Active • Verified</span>
</div>
</div>
5. Transaction
List item for financial transaction logs.
<div class="transaction">
<div class="tx-left">
<div class="tx-icon">↓</div>
<div>
<div class="tx-title">Salary Received</div>
<div class="tx-time">Today, 2:30 PM</div>
</div>
</div>
<div class="tx-amount positive">+SLL 1,200,000</div>
</div>
6. PIN Box
4-box PIN verification for mobile money security workflows.
<div class="pin-box">
<input type="password" maxlength="1">
<input type="password" maxlength="1">
<input type="password" maxlength="1">
<input type="password" maxlength="1">
</div>
8. Bottom Bar
App-style bottom navigation bar for mobile devices.
<div class="bottom-bar">
<a href="#" class="active">Home</a>
<a href="#">Cards</a>
<a href="#">Send</a>
<a href="#">Settings</a>
</div>
9. Modal (Popup)
Zero-JavaScript dialog popup using native semantic <details>.
Open Zero-JS Modal
<details class="modal">
<summary class="button green">Open Modal</summary>
<div class="modal-overlay">
<div class="modal-content">
<h3>Payment Successful</h3>
<p>Transaction reference #992812.</p>
</div>
</div>
</details>
10. Alert
Feedback alerts: success, error, warning, info.
<div class="alert success">Transaction completed successfully.</div>
<div class="alert error">Network connection error.</div>
<div class="alert warning">Your account balance is low.</div>
<div class="alert info">New update available.</div>
11. Badge
Status pills in green, orange, blue, red, black, grey.
<span class="badge green">Completed</span>
<span class="badge blue">In Progress</span>
<span class="badge orange">Pending</span>
<span class="badge red">Failed</span>
<span class="badge black">Pro</span>
12. Avatar
User initials circle or profile photo.
<div class="avatar small">M</div>
<div class="avatar">S</div>
<div class="avatar big">K</div>
13. Table
Clean data tables with responsive wrapper.
| User | Status | Amount |
|---|---|---|
| Mohamed K. | Paid | SLL 500,000 |
| Aminata B. | Pending | SLL 250,000 |
<div class="table-wrap">
<table class="table">
<thead>
<tr><th>User</th><th>Status</th><th>Amount</th></tr>
</thead>
<tbody>
<tr>
<td>Mohamed K.</td>
<td><span class="badge green">Paid</span></td>
<td>SLL 500,000</td>
</tr>
</tbody>
</table>
</div>
14. Form
Vertical layout rhythm for form fields.
<form class="form">
<div class="form-group">
<label class="label">Full Name</label>
<input class="input" placeholder="Enter name">
</div>
<button class="button green">Submit Form</button>
</form>
15. Grid
Auto-responsive layout: grid 2, grid 3, grid 4.
<div class="grid 3">
<div class="card">Col 1</div>
<div class="card">Col 2</div>
<div class="card">Col 3</div>
</div>
16. Helpers
Plain English positioning: center, row, column, space-between.
<div class="space-between">
<span>Left Item</span>
<button class="button green">Right Item</button>
</div>
<div class="center">Centered Content</div>
<div class="row">...items side by side...</div>
17. Toggle
iOS-style sleek switch toggle.
<label class="toggle">
<input type="checkbox" checked>
<span class="slider"></span>
<span>SMS Alerts</span>
</label>
18. Loader
Pure CSS smooth spinner ring.
<div class="loader"></div>
19. Price
Bold typographic price tag for commerce.
<div class="price">
<span class="currency">SLL</span> 50,000 <span class="period">/ month</span>
</div>
20. Profile Header
User identity widget with avatar and actions.
<div class="profile">
<div class="avatar big">FK</div>
<div class="profile-details">
<div class="profile-name">
Foday Kamara <span class="badge green">Verified</span>
</div>
<div class="profile-bio">Senior Product Designer</div>
</div>
<button class="button small outline">Edit</button>
</div>
21. Search Bar
Pill-shaped input with built-in search icon.
<div class="search">
<input type="text" placeholder="Search orders or merchants...">
</div>
22. Tabs
Segmented tab switcher.
<div class="tabs">
<button class="active">Daily</button>
<button>Weekly</button>
<button>Monthly</button>
</div>
23. Progress
Smooth gradient progress bar.
<div class="progress">
<div class="bar" style="width: 75%;"></div>
</div>
25. Hero
Engaging top-level showcase section with background glow.
Awesome Product
Built using plain English CSS.
<section class="hero">
<h1>Awesome Product</h1>
<p>Built using plain English CSS.</p>
<button class="button green">Get Started</button>
</section>
26. Accordion
Pure-CSS interactive expandable panels using semantic <details class="accordion"> with zero JavaScript.
What is SaloneUI?
Does it need JavaScript?
<details class="accordion" open>
<summary>What is SaloneUI?</summary>
<div class="accordion-content">
A plain-English CSS framework with zero configuration.
</div>
</details>
<details class="accordion">
<summary>Does it need JavaScript?</summary>
<div class="accordion-content">
Zero JavaScript required.
</div>
</details>