Files
Memoh/packages/ui
特菈 Dustella c44f25d90d fix(sidebar): fix desktop sidebar collapsed by default on first visit (#305)
- Fix cookie check logic: use `!includes('sidebar_state=false')` instead
  of `includes('sidebar_state=true')` so sidebar defaults to open when
  no cookie is set
- Add --sidebar-width CSS variable binding to desktop sidebar element
- Adjust SIDEBAR_WIDTH_MOBILE value

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-29 16:28:11 +08:00
..
2026-03-29 04:03:34 +08:00

@memohai/ui

UI components for Memoh.

Installation

npm install @memohai/ui

Usage

Import the CSS file in your style.css file.

@import "tailwindcss";
@import "tw-animate-css";
@import "@memohai/ui/style.css";

And then you can use the components in your Vue components.

<script setup>
import { Button } from '@memohai/ui';
</script>

<template>
  <Button>Click me</Button>
</template>