25 Core Components

All Components

Every component in SaloneUI uses simple, plain English words. No cryptic acronyms. Click any copy button to immediately paste into your code.

1. Button

Real-word color classes: green, emerald, teal, cyan, blue, sky, indigo, violet, purple, pink, rose, red, orange, amber, slate, dark, white, outline. Sizes: small, medium, big, full.

<button class="button green">Green</button>
<button class="button indigo">Indigo</button>
<button class="button purple">Purple</button>
<button class="button blue">Blue</button>
<button class="button orange">Orange</button>
<button class="button outline">Outline</button>
<button class="button green small">Small</button>
<button class="button indigo big">Big Button</button>

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.

Available Balance
SLL 4,850,000
<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.

↓
Salary Received
Today, 2:30 PM
+SLL 1,200,000
↑
Supermarket Payment
Yesterday, 6:15 PM
-SLL 185,000
<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>

10. Alert

Feedback alerts: success, error, warning, info.

Transaction completed successfully.
Network connection error.
Your account balance is low.
New software update available.
<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.

Completed In Progress Pending Failed Pro
<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.

M
S
K
<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.

Col 1
Col 2
Col 3
<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.

Left Text
<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.

SLL 50,000 / month
<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.

FK
Foday Kamara Verified
Senior Product Designer • Joined 2026
<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>

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?
A plain-English CSS framework engineered to build fast, beautiful, and accessible web interfaces.
Does it need JavaScript?
Zero JavaScript required. Accordions expand and collapse natively in all modern browsers.
<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>