# mockline

> Mockline is a premium UI Kit for Nuxt and VueJS based on TailwindCSS. It provides a set of components and utilities to help you build your next project.

Latest version **0.19.0** (published 2025-04-25) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install mockline
pnpm add mockline
yarn add mockline
bun add mockline
```

## Health

**Score 40/100 (D)** — status: maintenance-mode.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.19.0 |
| Published | 2025-04-25 |
| First published | 2024-04-15 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 29 |
| Unpacked size | 174.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 13 |
| Maintainers | hugo_rcd |
| Keywords | nuxt, nuxt3, nuxt-module, mockline, vue, vue3, tailwindcss, tailwind |

## Links

- npm: https://www.npmjs.com/package/mockline
- Repository: https://github.com/mockline/mockline
- Homepage: https://mockline.dev
- Issues: https://github.com/mockline/mockline/issues
- npm.io page: https://npm.io/package/mockline

## Dependencies (29)

- [ufo](https://npm.io/package/ufo.md) ^1.6.1
- [defu](https://npm.io/package/defu.md) ^6.1.4
- [mlly](https://npm.io/package/mlly.md) ^1.7.4
- [ohash](https://npm.io/package/ohash.md) ^2.0.11
- [pathe](https://npm.io/package/pathe.md) ^2.0.3
- [scule](https://npm.io/package/scule.md) ^1.3.0
- [reka-ui](https://npm.io/package/reka-ui.md) ^2.2.0
- [knitwork](https://npm.io/package/knitwork.md) ^1.2.0
- [unplugin](https://npm.io/package/unplugin.md) ^2.3.2
- [vaul-vue](https://npm.io/package/vaul-vue.md) ^0.4.1
- [@nuxt/kit](https://npm.io/package/@nuxt/kit.md) ^3.16.2
- [@nuxt/icon](https://npm.io/package/@nuxt/icon.md) ^1.12.0
- [tinyglobby](https://npm.io/package/tinyglobby.md) ^0.2.13
- [vue-sonner](https://npm.io/package/vue-sonner.md) ^1.3.2
- [@nuxt/fonts](https://npm.io/package/@nuxt/fonts.md) ^0.11.1
- [@unhead/vue](https://npm.io/package/@unhead/vue.md) 2.0.8
- [tailwindcss](https://npm.io/package/tailwindcss.md) 4.1.4
- [@nuxt/schema](https://npm.io/package/@nuxt/schema.md) ^3.16.2
- [magic-string](https://npm.io/package/magic-string.md) ^0.30.17
- [tailwind-merge](https://npm.io/package/tailwind-merge.md) ^3.2.0
- [@mockline/themes](https://npm.io/package/@mockline/themes.md) *
- [@tailwindcss/vite](https://npm.io/package/@tailwindcss/vite.md) 4.1.4
- [tailwind-variants](https://npm.io/package/tailwind-variants.md) ^1.0.0
- [@nuxtjs/color-mode](https://npm.io/package/@nuxtjs/color-mode.md) ^3.5.2
- [@iconify-json/lucide](https://npm.io/package/@iconify-json/lucide.md) ^1.2.38
- [@tailwindcss/postcss](https://npm.io/package/@tailwindcss/postcss.md) 4.1.4
- [unplugin-auto-import](https://npm.io/package/unplugin-auto-import.md) ^19.1.2
- [@iconify-json/heroicons](https://npm.io/package/@iconify-json/heroicons.md) ^1.2.2
- [unplugin-vue-components](https://npm.io/package/unplugin-vue-components.md) ^28.5.0

## Alternatives

- [@sveltejs/kit](https://npm.io/package/@sveltejs/kit.md) — 2.2M weekly downloads
- [@atlaskit/theme](https://npm.io/package/@atlaskit/theme.md) — 402.0K weekly downloads
- [@tangle-network/brand](https://npm.io/package/@tangle-network/brand.md) — 10.0K weekly downloads
- [seneca](https://npm.io/package/seneca.md) — 7.4K weekly downloads
- [@bsb/base](https://npm.io/package/@bsb/base.md) — 7.2K weekly downloads

## Recent versions

- 0.19.0 (latest) — 2025-04-25
- 0.18.0 — 2025-04-18
- 0.17.4 — 2025-04-17
- 0.17.3 — 2025-04-13
- 0.17.2 — 2025-04-13
- 0.17.1 — 2025-04-13
- 0.17.0 — 2025-04-10
- 0.16.0 — 2025-03-20
- 0.15.0 — 2025-01-30
- 0.14.0 — 2024-12-17
- 0.13.0 — 2024-12-16
- 0.12.0 — 2024-12-14
- 0.11.0 — 2024-12-12
- 0.10.0 — 2024-12-12
- 0.9.1 — 2024-12-09
- … 23 more at https://npm.io/package/mockline/versions

## README

![Mockline Social Preview](../../assets/social-preview.jpg)

<p align="center">
  <a aria-label="NPM version" href="https://www.npmjs.com/package/mockline">
    <img alt="" src="https://img.shields.io/npm/v/mockline.svg?style=for-the-badge&labelColor=000000&color=E0E0E0">
  </a>
  <a aria-label="License" href="https://github.com/mockline/mockline/main/LICENSE">
    <img alt="" src="https://img.shields.io/npm/l/mockline.svg?style=for-the-badge&labelColor=000000&color=212121">
    </a>
  <a aria-label="Join the community on Discord" href="https://discord.gg/BkgyMzvJ3p">
    <img alt="" src="https://img.shields.io/badge/Join%20the%20community-F74804.svg?style=for-the-badge&logo=Discord&labelColor=000000&logoWidth=20&logoColor=white">
  </a>
  <a aria-label="Mockline logo" href="https://mockline.dev/">
    <img src="https://img.shields.io/badge/MADE%20WITH%20Mockline-000000.svg?style=for-the-badge&logo=Mockline&labelColor=000000&logoWidth=20&logoColor=white">
  </a>
  <a aria-label="Follow Hugo on Twitter" href="https://twitter.com/HugoRCD__">
    <img alt="" src="https://img.shields.io/twitter/follow/HugoRCD__.svg?style=for-the-badge&labelColor=000000&logo=twitter&label=Follow%20Hugo&logoWidth=20&logoColor=white">
  </a>
</p>

Welcome to Mockline, your go-to design library crafted to elevate your creative journey. Whether you're a seasoned designer or a budding developer, Mockline is designed to empower you with efficient, innovative, and collaborative tools, putting the joy back into the design process.

## Getting Started

Visit [mockline.dev](https://mockline.dev) to get started with Mockline.

## Features

- **Everything you need**: Mockline is a design system that provides everything you need to create stunning designs, from buttons to modals, toasts, tooltips, and more.
  - Icons provided by [Nuxt Icon](https://github.com/nuxt-modules/icon), U can use any icon from [Lucide](https://lucide.dev/), [Heroicons](https://heroicons.com/), etc...
  - TailwindCSS is directly integrated, so you can use all the power of TailwindCSS with zero configuration.
  - Toasts are also provided by [Vue Sonner](https://github.com/xiaoluoboding/vue-sonner), so you can easily create beautiful toasts with ease.
  - Themes are provided by [Color Mode](https://github.com/nuxt-modules/color-mode), so you can easily switch between light and dark modes or even create your own themes.
  - Nuxt Content is also integrated and can be activated by setting `content: true` in the `mockline` module options.
- **Fully customizable**: All components are customizable via props and slots.
- **Dark mode**: Enjoy a seamless dark mode experience with no additional setup.
- **Responsive**: Components are designed to be responsive across all devices.
- **Easy to use**: Mockline is designed to be beginner-friendly, with a simple setup process.
- **Community-driven**: Join the Mockline community on Discord to connect with other users and share your feedback.
- **Open-source**: Mockline is open-source, and we welcome contributions from the community.

## Quick Setup

For the moment Mockline is only available for Nuxt projects (Vue 3 support and react support will be added soon).
To get started, follow these steps:

Quickly add Mockline to your Nuxt project using the following command:
```bash
npx nuxi@latest module add mockline
```
It will automatically install and set up the Mockline module in your `nuxt.config.ts` file.

or

1. Add `mockline` dependency to your project

```bash
# Using bun
bun install -D mockline

# Using pnpm
pnpm add -D mockline

# Using yarn
yarn add --dev mockline

# Using npm
npm install --save-dev mockline
```

2. Add `mockline` to the `modules` section of `nuxt.config.ts`

```js
export default defineNuxtConfig({
  modules: [
    'mockline'
  ]
})
```

That's it! You can now use Mockline in your Nuxt app ✨
## Community

The Mockline community can be found on Discord, to chat with other community members, you can join the [Mockline Discord](https://discord.gg/BkgyMzvJ3p).

## Roadmap


<details>
  <summary>Roadmap</summary>

- Overlays
  - [x] Toast
  - [ ] Modal
  - [ ] Tooltip
  - [ ] Popover
  - [ ] Slideover
- Components
  - [x] Button
  - [x] Icon
  - [ ] Input
  - [ ] Checkbox
  - [ ] Radio
  - [ ] Switch
  - [ ] Select
  - [ ] Textarea
  - [ ] Toggle
  - [ ] Range
  - [ ] Slider
  - [ ] Progress
  - [ ] Rating
  - [ ] Avatar
  - [ ] Badge
  - [ ] Card
  - [ ] Table
  - [ ] Tabs
  - [ ] Breadcrumbs
  - [ ] Pagination
  - [ ] Steps
  - [ ] Tree
  - [ ] Calendar
  - [ ] Datepicker
  - [ ] Timepicker
- Layout
  - [ ] Grid
  - [ ] Flex
  - [ ] Page
  - [ ] Sidebar
  - [ ] Drawer
- Documentation
  - [ ] NavigationTree
  - [ ] Surround
  - [ ] Toc
- Utilities
  - [ ] Typography
- Themes
  - [ ] ThemeToggle
  - [ ] ThemeSwitch

</details>

<!-- automd:fetch url="gh:hugorcd/markdown/main/src/contributions.md" -->

## Contributing
To start contributing, you can follow these steps:

1. First raise an issue to discuss the changes you would like to make.
2. Fork the repository.
3. Create a branch using conventional commits and the issue number as the branch name. For example, `feat/123` or `fix/456`.
4. Make changes following the local development steps.
5. Commit your changes following the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) specification.
6. If your changes affect the code, run tests using `bun run test`.
7. Create a pull request following the [Pull Request Template](https://github.com/HugoRCD/markdown/blob/main/src/pull_request_template.md).
   - To be merged, the pull request must pass the tests/workflow and have at least one approval.
   - If your changes affect the documentation, make sure to update it.
   - If your changes affect the code, make sure to update the tests.
8. Wait for the maintainers to review your pull request.
9. Once approved, the pull request will be merged in the next release !

<!-- /automd -->

<!-- automd:fetch url="gh:hugorcd/markdown/main/src/local_development.md" -->

<details>
  <summary>Local development</summary>

- Clone this repository
- Install latest LTS version of [Node.js](https://nodejs.org/en/)
- Enable [Corepack](https://github.com/nodejs/corepack) using `corepack enable`
- Install dependencies using `bun install`

</details>

<!-- /automd -->

<!-- automd:contributors license=Apache author=HugoRCD github="mockline/mockline" -->

Published under the [APACHE](https://github.com/mockline/mockline/blob/main/LICENSE) license.
Made by [@HugoRCD](https://github.com/HugoRCD) and [community](https://github.com/mockline/mockline/graphs/contributors) 💛
<br><br>
<a href="https://github.com/mockline/mockline/graphs/contributors">
<img src="https://contrib.rocks/image?repo=mockline/mockline" />
</a>

<!-- /automd -->

<!-- automd:with-automd lastUpdate -->

---

_🤖 auto updated with [automd](https://automd.unjs.io) (last updated: Tue Oct 08 2024)_

<!-- /automd -->

---
_Source: https://npm.io/package/mockline · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
