Bartender is a library for creating accessible off-canvas bars. Any number of bars is supported, and they can be located on any side of the viewport.
Click here for the documentation.
| Package | Description |
|---|---|
@fokke-/bartender.js |
Core library |
@fokke-/vue-bartender.js |
Vue 3 plugin |
Install dependencies:
pnpm install
pnpm exec playwright install chromiumAvailable commands:
pnpm dev:core- Core dev serverpnpm dev:vue- Vue dev serverpnpm build- Build all packagespnpm lint- Lint source codepnpm format- Format codepnpm test- Build and run testspnpm docs:dev- Documentation dev serverpnpm docs:build- Build documentationpnpm docs:preview- Preview built documentation
This project uses Changesets and GitHub Actions for automated publishing.
After making changes, create a changeset to document them:
pnpm changesetSelect the affected packages, bump type (patch/minor/major), and provide a description.
Stable releases are automated via GitHub Actions:
- Push changes with changesets to
master(e.g. by merging a PR) - The release workflow automatically creates/updates a "Version Packages" PR that bumps versions and updates changelogs
- Merge the "Version Packages" PR to publish the new versions to npm
Beta releases are published automatically from the beta branch:
- Create the
betabranch fromdev - Push changes with changesets to the
betabranch - The beta release workflow automatically enters pre-release mode, versions packages, and publishes them to npm with the
betadist-tag
To install a beta version:
pnpm add @fokke-/bartender.js@beta