diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index ccd469fc..bde3bc2b 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -85,6 +85,7 @@ function getUtils() { function getTypography() { return [ + { text: "Blockquote", link: '/components/blockquote' }, { text: 'Heading', link: '/components/heading' }, { text: 'Paragraph', link: '/components/paragraph' }, { text: 'Image', link: '/components/image' }, diff --git a/docs/components/blockquote.md b/docs/components/blockquote.md new file mode 100644 index 00000000..dbccdc3a --- /dev/null +++ b/docs/components/blockquote.md @@ -0,0 +1,73 @@ + + +# Vue Blockquote - Flowbite +--- + +:::tip +Original reference: [https://flowbite.com/docs/typography/blockquote/](https://flowbite.com/docs/typography/blockquote/) +::: + +## Get started with a collection of blockquote components when quoting external sources such as quotes inside an article, user reviews, and testimonials based on multiple examples of layouts, styles, and contexts. + +## Default blockquote + +Use this example to quote an external source inside a `` component. + + + +```vue + + "Flowbite is just awesome. It contains tons of predesigned components and pages starting from login screen to complex dashboard. + Perfect choice for your next SaaS application." + +``` + +## Solid background +This example can be used as an alternative style to the default style by applying a solid background color with `type="solid"`. + + + +```vue + + "Flowbite is just awesome. Perfect choice for your next SaaS application.Perfect choice for your next SaaS application." + +``` + +## Alignment + +Choose from the following examples the blockquote text alignment from starting from left, center to right based on the utility classes from Tailwind CSS. + + +```vue + + "Flowbite is just awesome. Perfect choice for your next SaaS application.Perfect choice for your next SaaS application." + + + "Flowbite is just awesome. Perfect choice for your next SaaS application.Perfect choice for your next SaaS application." + + + "Flowbite is just awesome. Perfect choice for your next SaaS application.Perfect choice for your next SaaS application." + +``` + +## Size + +Choose from one of the multiple sizes for the default blockquote component based on the surrounding elements and sizes. + + +```vue + + "Flowbite is just awesome. Perfect choice for your next SaaS application.Perfect choice for your next SaaS application." + + + "Flowbite is just awesome. Perfect choice for your next SaaS application.Perfect choice for your next SaaS application." + + + "Flowbite is just awesome. Perfect choice for your next SaaS application.Perfect choice for your next SaaS application." + +``` \ No newline at end of file diff --git a/docs/components/typography/blockquote/FwbBlockquoteAlignExample.vue b/docs/components/typography/blockquote/FwbBlockquoteAlignExample.vue new file mode 100644 index 00000000..cc64af14 --- /dev/null +++ b/docs/components/typography/blockquote/FwbBlockquoteAlignExample.vue @@ -0,0 +1,21 @@ + + + diff --git a/docs/components/typography/blockquote/FwbBlockquoteExample.vue b/docs/components/typography/blockquote/FwbBlockquoteExample.vue new file mode 100644 index 00000000..cff5cec9 --- /dev/null +++ b/docs/components/typography/blockquote/FwbBlockquoteExample.vue @@ -0,0 +1,12 @@ + + + diff --git a/docs/components/typography/blockquote/FwbBlockquoteSizeExample.vue b/docs/components/typography/blockquote/FwbBlockquoteSizeExample.vue new file mode 100644 index 00000000..901ff387 --- /dev/null +++ b/docs/components/typography/blockquote/FwbBlockquoteSizeExample.vue @@ -0,0 +1,18 @@ + + + diff --git a/docs/components/typography/blockquote/FwbBlockquoteSolidExample.vue b/docs/components/typography/blockquote/FwbBlockquoteSolidExample.vue new file mode 100644 index 00000000..9a061d1f --- /dev/null +++ b/docs/components/typography/blockquote/FwbBlockquoteSolidExample.vue @@ -0,0 +1,12 @@ + + + diff --git a/src/components/Typography/FwbBlockquote.vue b/src/components/Typography/FwbBlockquote.vue new file mode 100644 index 00000000..6b482159 --- /dev/null +++ b/src/components/Typography/FwbBlockquote.vue @@ -0,0 +1,34 @@ + + + diff --git a/src/index.ts b/src/index.ts index 994321a8..92134782 100644 --- a/src/index.ts +++ b/src/index.ts @@ -72,6 +72,7 @@ export { default as FwbA } from './components/Typography/FwbA.vue' export { default as FwbHeading } from './components/Typography/FwbHeading.vue' export { default as FwbImg } from './components/Typography/FwbImg.vue' export { default as FwbP } from './components/Typography/FwbP.vue' +export { default as FwbBlockquote } from './components/Typography/FwbBlockquote.vue' // utilities export { default as FlowbiteThemable } from './components/utils/FlowbiteThemable/FlowbiteThemable.vue'