Bulma
@paper/bulma is the JavaScript Bulma does not ship. Components render Bulma’s markup and classes against the bulma.css you load. Vuetify0 supplies open, close, focus, and keyboard behavior.
Reference: Bulma documentation↗︎. Class names and visual variants. This package is the JavaScript.
Installation
pnpm add @paper/bulma bulmanpm install @paper/bulma bulmayarn add @paper/bulma bulmabun add @paper/bulma bulmaBulma itself is an optional peer dependency. Load it from npm, from Sass, or from a CDN. The package never imports it, and it ships no plugin and no CSS.
import { createApp } from 'vue'
import App from './App.vue'
import 'bulma/css/bulma.min.css'
createApp(App).mount('#app')Import a component and use it:
Require Bulma 1.0 or newer. The conformance page pins the version and shows the markup diff.
Components
@paper/bulma exports every component below, and each one has its own page.
| Component | What it wraps | Page |
|---|---|---|
BuBreadcrumb | Bulma markup | Breadcrumb |
BuCheckbox | v0 createInput | Checkbox |
BuControl | Bulma markup | Field |
BuDropdown | v0 useClickOutside | Dropdown |
BuField | Bulma markup | Field |
BuFile | v0 createInput | File |
BuHelp | Bulma markup | Field |
BuInput | v0 Input | Input |
BuLabel | Bulma markup | Field |
BuMenu | v0 Single | Menu |
BuMessage | v0 Presence | Message |
BuModal | v0 Dialog | Modal |
BuNavbar | boolean open state | Navbar |
BuNotification | v0 Presence | Notification |
BuNumberField | v0 NumberField | Number field |
BuPagination | v0 Pagination | Pagination |
BuPanel | v0 Selection | Panel |
BuRadio | v0 createInput | Radio |
BuSelect | v0 createInput | Select |
BuTabs | v0 Tabs | Tabs |
BuTextarea | v0 Input | Textarea |
These components have no named slots. Each region is its own component. Pass namespace only when you nest two of the same compound.