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.
Visit mockline.dev to get started with Mockline.
- 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, U can use any icon from Lucide, Heroicons, etc...
- TailwindCSS is directly integrated, so you can use all the power of TailwindCSS with zero configuration.
- Toasts are also provided by Vue Sonner, so you can easily create beautiful toasts with ease.
- Themes are provided by 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 themockline
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.
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:
npx nuxi@latest module add mockline
It will automatically install and set up the Mockline module in your nuxt.config.ts
file.
or
- Add
mockline
dependency to your project
# 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
- Add
mockline
to themodules
section ofnuxt.config.ts
export default defineNuxtConfig({
modules: [
'mockline'
]
})
That's it! You can now use Mockline in your Nuxt app ✨
The Mockline community can be found on Discord, to chat with other community members, you can join the Mockline Discord.
Roadmap
- Overlays
- Toast
- Modal
- Tooltip
- Popover
- Slideover
- Components
- Button
- 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
To start contributing, you can follow these steps:
- First raise an issue to discuss the changes you would like to make.
- Fork the repository.
- Create a branch using conventional commits and the issue number as the branch name. For example,
feat/123
orfix/456
. - Make changes following the local development steps.
- Commit your changes following the Conventional Commits specification.
- If your changes affect the code, run tests using
bun run test
. - Create a pull request following the Pull Request Template.
- 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.
- Wait for the maintainers to review your pull request.
- Once approved, the pull request will be merged in the next release !
Local development
Published under the APACHE license.
Made by @HugoRCD and community 💛
🤖 auto updated with automd (last updated: Tue Oct 08 2024)