Cirrus
A component-and-utility-centric SCSS framework designed for rapid prototyping. Use beautiful pre-built components to bootstrap your next project and utility classes to polish your final design.
Check out the docs »
Request Feature
/
Report a Bug
/
Examples
:sparkles: Features
- :art: Beautiful Components - Beautifully designed components come right out of the box for rapid prototyping.
- :balloon: Sass First - Forget bundling tons of JavaScript with each component. All styles require no JS for interactions/functionality (see Modals, Dropdowns, etc.).
- :rainbow: Configuration at its Core - Add additional components, remove utility classes, disable features, etc. Cirrus takes a generative approach to building your stylesheets.
- :zap: Lightweight - A large amount of features with a minimal footprint.
- :iphone: Responsive - Fully responsive by design.
:dart: Supported Browsers
Cirrus relies on What CSS to prefix? to determine which selectors need prefixes. |
IE / Edge |

Firefox |

Chrome |

Safari |

Opera |

Electron | | --- | --- | --- | --- | --- | --- | | IE11, Edge | last 3 versions, ESR | last 3 versions | last 3 versions | last 3 versions | last 3 versions |
📦 Install
Npm
```sh npm install cirrus-ui ```Yarn
```sh yarn add cirrus-ui ```CDN
For CDNs, it is recommended to attach a specific versions to the URLs to avoid unexpected updates to maintain consistency in your project.Unpkg
```html ```JsDelivr
```html ``` Check out the Setup guide for more information.:hammer: Usage
Basic Page
```html<title>Hello World</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" />
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge;" />
<link href="https://unpkg.com/cirrus-ui" type="text/css" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css?family=Nunito+Sans:200,300,400,600,700" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" />
<h1>👋Hello World</h1>
```
React
```jsx import { StrictMode } from "react"; import ReactDOM from "react-dom"; import App from "./App"; import 'cirrus-ui'; // You can import it here if you want const rootElement = document.getElementById("root"); ReactDOM.render(<StrictMode>
<App />
</StrictMode>,
rootElement
);
```
Vue
```js import Vue from 'vue'; import App from './App.vue'; import 'cirrus-ui'; Vue.config.productionTip = false; new Vue({render: (h) => h(App),
}).$mount('#app');
```
Svelte
```js import App from "./App.svelte"; import "cirrus-ui"; const app = new App({target: document.body
});
export default app;
```
Sass/Scss
```scss @use "nodemodules/cirrus-ui/src/cirrus-ext" as with ($config: (
excludes: (
ABSOLUTES,
),
opacity: null, // Disable default opacity classes
extend: (
// Add your own
opacity: (
25: .25,
50: .5,
75: .75,
)
)
),
);
```
Check out the Setup guide for more information.
:computer: Development
Use Gitpod, a free online dev environment for GitHub.:crystalball: What's Included
- Base - base styles.
- Builds - build files for
core
andext
.
- Components - framework components.
- Internal - internal APIs, functions, constants, etc.
- Utils - utility classes.