An open API service indexing awesome lists of open source software.

https://github.com/ZaneL1u/unocss-preset-better-breakpoints

UnoCSS has better breakpoint presets, which can be configured for Desktop First and Mobile First
https://github.com/ZaneL1u/unocss-preset-better-breakpoints

Last synced: about 2 months ago
JSON representation

UnoCSS has better breakpoint presets, which can be configured for Desktop First and Mobile First

Awesome Lists containing this project

README

        

# unocss-preset-better-breakpoints

[![npm version](https://img.shields.io/npm/v/unocss-preset-better-breakpoints?color=yellow)](https://npmjs.com/package/unocss-preset-better-breakpoints)
[![npm downloads](https://img.shields.io/npm/dm/unocss-preset-better-breakpoints?color=yellow)](https://npm.chart.dev/unocss-preset-better-breakpoints)
[![bundle size](https://img.shields.io/bundlephobia/minzip/unocss-preset-better-breakpoints?color=yellow)](https://bundlephobia.com/package/unocss-preset-better-breakpoints)
[![install size](https://badgen.net/packagephobia/install/unocss-preset-better-breakpoints?color=yellow)](https://packagephobia.com/result?p=unocss-preset-better-breakpoints)
[![codecov](https://img.shields.io/codecov/c/gh/ZaneL1u/unocss-preset-better-breakpoints?color=yellow)](https://codecov.io/gh/ZaneL1u/unocss-preset-better-breakpoints)
[![license](https://img.shields.io/github/license/ZaneL1u/unocss-preset-better-breakpoints?color=yellow)](https://github.com/ZaneL1u/unocss-preset-better-breakpoints/blob/main/LICENSE)

UnoCSS has better breakpoint presets, which can be configured for Desktop First and Mobile First.



English | įŽ€äŊ“中文

## Features
- 📏 Viewport breakpoints
- 📱 According to the equipment and design
- đŸ“Ļ Easy to use
- 🚀 Fast and efficient

## Installation

```sh
# ✨ Auto-detect
npx nypm install -D unocss-preset-better-breakpoints

# npm
npm install -D unocss-preset-better-breakpoints

# yarn
yarn add -D unocss-preset-better-breakpoints

# pnpm
pnpm install -D unocss-preset-better-breakpoints

# bun
bun install -D unocss-preset-better-breakpoints

# deno
deno install --dev unocss-preset-better-breakpoints
```

## Usage

```ts [example.ts]
import { defineConfig } from 'unocss'
import { presetBetterBreakpoints } from 'unocss-preset-better-breakpoints'

export default defineConfig({
presets: [
// ...
presetBetterBreakpoints(),
],
})
```

## License

Published under the [MIT](https://github.com/ZaneL1u/unocss-preset-better-breakpoints/blob/main/LICENSE) license.
Made by [@ZaneL1u](https://github.com/ZaneL1u) and [community](https://github.com/ZaneL1u/unocss-preset-better-breakpoints/graphs/contributors) 💛





---

_🤖 auto updated with [automd](https://automd.unjs.io)_