* refactor: eslint config adjusted for better diff's * refactor: stricter linting + dependencies updated * refactoring: paragraph component - component - docs * refactoring: heading component - component - docs * Update docs/components/heading.md Co-authored-by: Ilya Artamonov <ilya.sosidka@gmail.com> * refactoring: link component - component - docs * refactoring: image component - component - docs * refactoring: alert component - component - docs * refactoring: avatar component - component - docs * refactoring: removed unnecessary code - component names come from the file name * refactoring: breadcrumb component - component - docs * refactoring: accordion component - component - docs * refactoring: buttom component - component - docs * refactoring: badge component - component - docs * refactoring: card component - component - docs * refactoring: order of components in docs updated * refactoring: unnecessary semicolons removed * refactoring: button group component - component - docs * refactoring: carousel component - component - docs * refactoring: dropdown component - component - docs * refactoring: footer component - component - docs * refactoring:list-group component - component - docs * refactoring: modal component - component - docs * refactoring: navbar component - component - docs * refactoring: pagination component - component - docs * refactoring: progress component - component - docs * refactoring: rating component - component - docs * refactoring: spinner component - component - docs * refactoring: table component - component - docs * refactoring: tabs component - component - docs * feat: Updated pagination examples * lint: Lister fixes * feat: Sidebar component and some fixes * feat: Input component * feat: Some fixes * feat: Some fixes * chore: update deps * refactor: removed old Modal component * refactor: radio component and some fixes * fix: fixed path error * refactor: Range component * refactoring: timeline component - component - docs * refactor: Select component * refactoring: toast component - component - docs * refactoring: tooltip component - component - docs * refactoring: sidebar component - component - docs * refactoring: input component - component - docs * refactoring: fileInput component - component - docs * refactoring: select component - component - docs * refactoring: textarea component - component - docs * refactoring: checkbox component - component - docs * refactoring: radio component - component - docs * refactoring: toggle component - component - docs * refactoring: range component - component - docs * local configs linted * documentation quick start updated * flowbite-themable refactored to fit new linters and style guide * random linter fixes * refactoring: toast-provider component - component - docs * final linter fixes * lint: Linter fixes * fix: Fixed types * fix: Fixed card component * docs: Updated card examples * fix: Fixed tabs * refactor: Heading component refactoring * Fwb rename - few fixes after component review (#237) * fix: button documentation * fix: model type in range examples * chore: Toast marked as WIP --------- Co-authored-by: Sqrcz <naorniakowski@slashlab.pl> Co-authored-by: Sqrcz <naorniakowski@gmail.com>
9.1 KiB
9.1 KiB
<script setup>
import FwbTimelineExample from './timeline/examples/FwbTimelineExample.vue'
import FwbTimelineExampleWithIcons from './timeline/examples/FwbTimelineExampleWithIcons.vue'
import FwbTimelineExampleHorizontal from './timeline/examples/FwbTimelineExampleHorizontal.vue'
</script>
Vue Timeline - Flowbite
Default timeline usage
```vue February 2020 Application UI code in Tailwind CSS Get access to over 20+ pages including a dashboard layout, charts, kanban board, calendar, and pre-order E-commerce & Marketing pages. February 2020 Application UI code in Tailwind CSS Get access to over 20+ pages including a dashboard layout, charts, kanban board, calendar, and pre-order E-commerce & Marketing pages. February 2020 Application UI code in Tailwind CSS Get access to over 20+ pages including a dashboard layout, charts, kanban board, calendar, and pre-order E-commerce & Marketing pages. <script setup> import { FwbTimeline, FwbTimelineBody, FwbTimelineContent, FwbTimelineItem, FwbTimelinePoint, FwbTimelineTime, FwbTimelineTitle, } from 'flowbite-vue' </script>
## Timeline with icons
You can add icons by passing svg icons as slot to `<fwb-timeline-point>` component
<fwb-timeline-example-with-icons />
```vue
<template>
<fwb-timeline class="vp-raw">
<fwb-timeline-item>
<fwb-timeline-point>
<svg
aria-hidden="true"
class="w-3 h-3 text-blue-600 dark:text-blue-400"
fill="currentColor"
viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg"
>
<path
clip-rule="evenodd"
d="M6 2a1 1 0 00-1 1v1H4a2 2 0 00-2 2v10a2 2 0 002 2h12a2 2 0 002-2V6a2 2 0 00-2-2h-1V3a1 1 0 10-2 0v1H7V3a1 1 0 00-1-1zm0 5a1 1 0 000 2h8a1 1 0 100-2H6z"
fill-rule="evenodd"
/>
</svg>
</fwb-timeline-point>
<fwb-timeline-content>
<fwb-timeline-time>
February 2022
</fwb-timeline-time>
<fwb-timeline-title>
Application UI code in Tailwind CSS
</fwb-timeline-title>
<fwb-timeline-body>
Get access to over 20+ pages including a dashboard layout, charts,
kanban board, calendar, and pre-order E-commerce & Marketing pages.
</fwb-timeline-body>
</fwb-timeline-content>
</fwb-timeline-item>
<fwb-timeline-item>
<fwb-timeline-point>
<svg
aria-hidden="true"
class="w-3 h-3 text-blue-600 dark:text-blue-400"
fill="currentColor"
viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg"
>
<path
clip-rule="evenodd"
d="M6 2a1 1 0 00-1 1v1H4a2 2 0 00-2 2v10a2 2 0 002 2h12a2 2 0 002-2V6a2 2 0 00-2-2h-1V3a1 1 0 10-2 0v1H7V3a1 1 0 00-1-1zm0 5a1 1 0 000 2h8a1 1 0 100-2H6z"
fill-rule="evenodd"
/>
</svg>
</fwb-timeline-point>
<fwb-timeline-content>
<fwb-timeline-time>
February 2022
</fwb-timeline-time>
<fwb-timeline-title>
Application UI code in Tailwind CSS
</fwb-timeline-title>
<fwb-timeline-body>
Get access to over 20+ pages including a dashboard layout, charts,
kanban board, calendar, and pre-order E-commerce & Marketing pages.
</fwb-timeline-body>
</fwb-timeline-content>
</fwb-timeline-item>
<fwb-timeline-item>
<fwb-timeline-point>
<svg
aria-hidden="true"
class="w-3 h-3 text-blue-600 dark:text-blue-400"
fill="currentColor"
viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg"
>
<path
clip-rule="evenodd"
d="M6 2a1 1 0 00-1 1v1H4a2 2 0 00-2 2v10a2 2 0 002 2h12a2 2 0 002-2V6a2 2 0 00-2-2h-1V3a1 1 0 10-2 0v1H7V3a1 1 0 00-1-1zm0 5a1 1 0 000 2h8a1 1 0 100-2H6z"
fill-rule="evenodd"
/>
</svg>
</fwb-timeline-point>
<fwb-timeline-content>
<fwb-timeline-time>
February 2022
</fwb-timeline-time>
<fwb-timeline-title>
Application UI code in Tailwind CSS
</fwb-timeline-title>
<fwb-timeline-body>
Get access to over 20+ pages including a dashboard layout, charts,
kanban board, calendar, and pre-order E-commerce & Marketing pages.
</fwb-timeline-body>
</fwb-timeline-content>
</fwb-timeline-item>
</fwb-timeline>
</template>
<script setup>
import {
FwbTimeline,
FwbTimelineBody,
FwbTimelineContent,
FwbTimelineItem,
FwbTimelinePoint,
FwbTimelineTime,
FwbTimelineTitle,
} from 'flowbite-vue'
</script>
Timeline with icons
horizontal prop makes timeline horizontal