JSPM

  • Created
  • Published
  • Downloads 9
  • Score
    100M100P100Q83028F
  • License MIT

Morpheme Banner Component

Package Exports

  • @morpheme/banner
  • @morpheme/banner/package.json
  • @morpheme/banner/src/VBanner.scss
  • @morpheme/banner/src/VBanner.stories.ts
  • @morpheme/banner/src/VBanner.test.ts
  • @morpheme/banner/src/VBanner.vue
  • @morpheme/banner/src/VBannerText.vue
  • @morpheme/banner/src/index.ts
  • @morpheme/banner/src/stories/Changelog.stories.mdx
  • @morpheme/banner/src/stories/Readme.stories.mdx
  • @morpheme/banner/src/symbol.ts
  • @morpheme/banner/src/vue.d.ts

Readme

Morpheme Banner

Morpheme Banner Component.

Installation

npm

npm i @morpheme/banner

yarn

yarn add @morpheme/banner

pnpm

pnpm i @morpheme/banner

Usage

<script setup lang="ts">
import {VBanner, VBannerText} from '@morpheme/banner';
import VBtn from '@morpheme/button';
</script>

<template>
  <VBanner color="primary">
    <VBannerText>
      Welcome to the <span class="font-semibold">Morpheme</span> Design System
    </VBannerText>
    <template #actions="{close}">
      <VBtn text flush @click="close" class="!text-white" prefix-icon="ri:close-line" />
    </template>
  </VBanner>
</template>

Documentation

Check out storybook documentation here.

License

MIT