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/banneryarn
yarn add @morpheme/bannerpnpm
pnpm i @morpheme/bannerUsage
<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