Mice is a semantic CSS framework.
npm install miceyarn add micepnpm add mice@import 'mice/css';Or link directly in HTML:
<link rel="stylesheet" href="node_modules/mice/dist/mice.css" />@import 'mice/scss';You can also import individual components:
// Core
@import 'mice/scss/variables';
@import 'mice/scss/mixins';
@import 'mice/scss/normalize';
@import 'mice/scss/scaffolding';
@import 'mice/scss/typography';
// Components
@import 'mice/scss/buttons';
@import 'mice/scss/grid';
@import 'mice/scss/navbar';
@import 'mice/scss/forms';
@import 'mice/scss/tables';
@import 'mice/scss/modals';
@import 'mice/scss/alerts';
@import 'mice/scss/panels';
@import 'mice/scss/tabs';
@import 'mice/scss/pagination';
@import 'mice/scss/tooltips';// Vite
import 'mice/css'
// Or with SCSS
@import 'mice/scss'- 📚 Full Documentation: http://mice.miclle.com/ (Live examples and API reference)
- 🏠 GitHub Pages: https://miclle.github.io/mice/ (Build artifacts)
- 📖 Source Code: scss/ (SCSS source files)
- Reset - CSS normalize and reset
- Typography - Headings, paragraphs, lists, code
- Grid - Responsive grid system (2-12 columns)
- Buttons - Various button styles and sizes
- Forms - Styled form elements
- Tables - Clean table styles
- Navbar - Navigation bar component
- Sidebar - Sidebar component
- Modals - Modal dialog styles
- Alerts - Alert and message styles
- Panels - Panel/card component
- Tabs - Tab navigation
- Pagination - Pagination component
- Progress - Progress bars
- Tooltips - Tooltip styles
- Labels - Label badges
- Breadcrumbs - Breadcrumb navigation
- Lists - Styled lists
- Callouts - Callout boxes
- Timeline - Timeline component
- Media - Media object
Override variables before importing:
$primary-color: #3498db;
$secondary-color: #2ecc71;
$font-size-base: 16px;
@import 'mice/scss';// Colors
$primary-color
$secondary-color
$success-color
$info-color
$warning-color
$danger-color
// Typography
$font-family-base
$font-size-base
$line-height-base
// Grid
$grid-columns
$grid-gutter-width
// And many more...# Install dependencies
npm install
# Start dev server (serves docs directory)
npm run dev
# Build for production
npm run build
# Build and sync to docs directory
npm run build:sync
# Sync built CSS to docs (without rebuilding)
npm run sync
# Preview production build
npm run previewWhen working on the CSS framework:
- Modify SCSS files in
scss/ - Run
npm run build:syncto build and sync changes to site - View changes at
http://localhost:5173
Mice uses semantic class naming:
| Component | Class Name |
|---|---|
| Buttons | .button, .button primary, .button large |
| Grid | .grid, .grid two/three/four, .column |
| Forms | .field, form.inline |
| Tables | table.striped, table.bordered |
| Panels | .panel, .panel .body, .panel .heading |
| Alerts | .alert, .alert success |
| Progress | .progress, .progress .bar |
| Tabs | .tabs |
| Navbar | .navbar, .navbar .menu |
| Labels | .label, .label primary |
Modern browsers including Chrome, Firefox, Safari, and Edge.
- Fork it (https://github.com/miclle/mice/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request
Code and documentation copyright 2014-2025 Miclle. Code released under the MIT license.