svelte icon Svelte 5 UI lib
  • Coverage
  • About
  • Repo

Timeline

Default timeline

  1. February 2022

    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.

  2. March 2022

    Application UI code in Tailwind CSS

    All of the pages and components are first designed in Figma and we keep a parity between the two versions even as we update the project.

  3. April 2022

    Application UI code in Tailwind CSS

    Get started with dozens of web components and interactive elements built on top of Tailwind CSS.

<script lang="ts">
	import { Timeline, TimelineItem, Button } from 'svelte-5-ui-lib';
	import { ArrowRightOutline } from 'flowbite-svelte-icons';
</script>

<Timeline>
	<TimelineItem title="Application UI code in Tailwind CSS" date="2022-02">
		<p class="mb-4 text-base font-normal text-gray-500 dark:text-gray-400">
			Get access to over 20+ pages including a dashboard layout, charts, kanban board, calendar, and
			pre-order E-commerce & Marketing pages.
		</p>
		<Button color="alternative">Learn more<ArrowRightOutline class="ms-2 h-5 w-5" /></Button>
	</TimelineItem>
	<TimelineItem title="Application UI code in Tailwind CSS" date="2022-03">
		<p class="text-base font-normal text-gray-500 dark:text-gray-400">
			All of the pages and components are first designed in Figma and we keep a parity between the
			two versions even as we update the project.
		</p>
	</TimelineItem>
	<TimelineItem title="Application UI code in Tailwind CSS" date="2022-04">
		<p class="text-base font-normal text-gray-500 dark:text-gray-400">
			Get started with dozens of web components and interactive elements built on top of Tailwind
			CSS.
		</p>
	</TimelineItem>
</Timeline>

Date format

  1. 2022

    Year only

    Will display as "2022"

  2. February 2022

    Month and year

    Will display as "February 2022"

  3. February 15, 2022

    Full date

    Will display as "February 15, 2022"

  4. February 2022

    Default format

    Will display as "February 2022"

<script lang="ts">
	import { Timeline, TimelineItem } from 'svelte-5-ui-lib';
</script>

<Timeline>
	<!-- Only year -->
	<TimelineItem title="Year only" date="2022-02-15" dateFormat="year">
		<p>Will display as "2022"</p>
	</TimelineItem>

	<!-- Month and year (default) -->
	<TimelineItem title="Month and year" date="2022-02-15" dateFormat="month-year">
		<p>Will display as "February 2022"</p>
	</TimelineItem>

	<!-- Full date -->
	<TimelineItem title="Full date" date="2022-02-15" dateFormat="full-date">
		<p>Will display as "February 15, 2022"</p>
	</TimelineItem>

	<!-- Using default format (month-year) -->
	<TimelineItem title="Default format" date="2022-02-15">
		<p>Will display as "February 2022"</p>
	</TimelineItem>
</Timeline>

Vertical timeline

  1. Flowbite Application UI v2.0.0

    Invalid Date

    Get access to over 20+ pages including a dashboard layout, charts, kanban board, calendar, and pre-order E-commerce & Marketing pages.

  2. Flowbite Figma v1.3.0

    Invalid Date

    All of the pages and components are first designed in Figma and we keep a parity between the two versions even as we update the project.

  3. Flowbite Library v1.2.2

    Invalid Date

    Get started with dozens of web components and interactive elements built on top of Tailwind CSS.

<script lang="ts">
	import { Timeline, TimelineItem } from 'svelte-5-ui-lib';
	import { CalendarWeekSolid } from 'flowbite-svelte-icons';
</script>

<Timeline order="vertical">
	<TimelineItem title="Flowbite Application UI v2.0.0" date="Released on January 13th, 2022">
		{#snippet orientationSlot()}
			<span
				class="bg-primary-200 dark:bg-primary-900 absolute -start-3 flex h-6 w-6 items-center justify-center rounded-full ring-8 ring-white dark:ring-gray-900"
			>
				<CalendarWeekSolid class="text-primary-600 dark:text-primary-400 h-4 w-4" />
			</span>
		{/snippet}
		<p class="mb-4 text-base font-normal text-gray-500 dark:text-gray-400">
			Get access to over 20+ pages including a dashboard layout, charts, kanban board, calendar, and
			pre-order E-commerce & Marketing pages.
		</p>
	</TimelineItem>
	<TimelineItem title="Flowbite Figma v1.3.0" date="Released on December 7th, 2021">
		{#snippet orientationSlot()}
			<span
				class="bg-primary-200 dark:bg-primary-900 absolute -start-3 flex h-6 w-6 items-center justify-center rounded-full ring-8 ring-white dark:ring-gray-900"
			>
				<CalendarWeekSolid class="text-primary-600 dark:text-primary-400 h-4 w-4" />
			</span>
		{/snippet}
		<p class="text-base font-normal text-gray-500 dark:text-gray-400">
			All of the pages and components are first designed in Figma and we keep a parity between the
			two versions even as we update the project.
		</p>
	</TimelineItem>
	<TimelineItem title="Flowbite Library v1.2.2" date="Released on December 2nd, 2021">
		{#snippet orientationSlot()}
			<span
				class="bg-primary-200 dark:bg-primary-900 absolute -start-3 flex h-6 w-6 items-center justify-center rounded-full ring-8 ring-white dark:ring-gray-900"
			>
				<CalendarWeekSolid class="text-primary-600 dark:text-primary-400 h-4 w-4" />
			</span>
		{/snippet}
		<p class="text-base font-normal text-gray-500 dark:text-gray-400">
			Get started with dozens of web components and interactive elements built on top of Tailwind
			CSS.
		</p>
	</TimelineItem>
</Timeline>

Horizontal timeline

  1. Flowbite Library v1.0.0

    December 2021

    Get started with dozens of web components and interactive elements.

  2. Flowbite Library v1.2.0

    December 2021

    Get started with dozens of web components and interactive elements.

  3. Flowbite Library v1.3.0

    January 2021

    Get started with dozens of web components and interactive elements.

<script lang="ts">
	import { Timeline, TimelineItem } from 'svelte-5-ui-lib';
	import { CalendarWeekSolid } from 'flowbite-svelte-icons';
</script>

<Timeline order="horizontal">
	<TimelineItem title="Flowbite Library v1.0.0" date="2021-12-2">
		{#snippet orientationSlot()}
			<div class="flex items-center">
				<div
					class="bg-primary-200 dark:bg-primary-900 z-10 flex h-6 w-6 shrink-0 items-center justify-center rounded-full ring-0 ring-white sm:ring-8 dark:ring-gray-900"
				>
					<CalendarWeekSolid class="text-primary-600 dark:text-primary-400 h-4 w-4" />
				</div>
				<div class="hidden h-0.5 w-full bg-gray-200 sm:flex dark:bg-gray-700"></div>
			</div>
		{/snippet}
		<p class="text-base font-normal text-gray-500 dark:text-gray-400">
			Get started with dozens of web components and interactive elements.
		</p>
	</TimelineItem>
	<TimelineItem title="Flowbite Library v1.2.0" date="2021-12-23">
		{#snippet orientationSlot()}
			<div class="flex items-center">
				<div
					class="bg-primary-200 dark:bg-primary-900 z-10 flex h-6 w-6 shrink-0 items-center justify-center rounded-full ring-0 ring-white sm:ring-8 dark:ring-gray-900"
				>
					<CalendarWeekSolid class="text-primary-600 dark:text-primary-400 h-4 w-4" />
				</div>
				<div class="hidden h-0.5 w-full bg-gray-200 sm:flex dark:bg-gray-700"></div>
			</div>
		{/snippet}
		<p class="text-base font-normal text-gray-500 dark:text-gray-400">
			Get started with dozens of web components and interactive elements.
		</p>
	</TimelineItem>
	<TimelineItem title="Flowbite Library v1.3.0" date="2021-01-05">
		{#snippet orientationSlot()}
			<div class="flex items-center">
				<div
					class="bg-primary-200 dark:bg-primary-900 z-10 flex h-6 w-6 shrink-0 items-center justify-center rounded-full ring-0 ring-white sm:ring-8 dark:ring-gray-900"
				>
					<CalendarWeekSolid class="text-primary-600 dark:text-primary-400 h-4 w-4" />
				</div>
				<div class="hidden h-0.5 w-full bg-gray-200 sm:flex dark:bg-gray-700"></div>
			</div>
		{/snippet}
		<p class="text-base font-normal text-gray-500 dark:text-gray-400">
			Get started with dozens of web components and interactive elements.
		</p>
	</TimelineItem>
</Timeline>

Activity log

  1. image alt here
    just now
    Bonnie moved Jese Leos to Funny Group
  2. image alt here
    2 hours ago
    We don’t serve their kind here! What? Your droids.
    The approach will not be easy. You are required to maneuver straight down this trench and skim the surface to this point. The target area is only two meters wide.
  3. image alt here
    1 day ago
    They’ll have to wait outside. We don’t want them here.
<script lang="ts">
	import { Activity, ActivityItem } from 'svelte-5-ui-lib';
	const activities = [
		{
			name: 'Bonnie moved <a href="/" class="font-semibold text-primary-600 dark:text-primary-500 hover:underline">Jese Leos</a> to <span class="bg-gray-100 text-gray-800 text-xs font-normal me-2 px-2.5 py-0.5 rounded dark:bg-gray-600 dark:text-gray-300">Funny Group</span>',
			date: 'just now',
			alt: 'image alt here',
			src: '/images/profile-picture-2.webp'
		},
		{
			name: 'We don’t serve their kind here! What? Your droids. ',
			date: '2 hours ago',
			alt: 'image alt here',
			src: '/images/profile-picture-2.webp',
			activity:
				'The approach will not be easy. You are required to maneuver straight down this trench and skim the surface to this point. The target area is only two meters wide. '
		},
		{
			name: 'They’ll have to wait outside. We don’t want them here. ',
			date: '1 day ago',
			alt: 'image alt here',
			src: '/images/profile-picture-3.webp'
		}
	];
</script>

<Activity>
	<ActivityItem {activities} />
</Activity>

Grouped timeline

January 13th, 2022
  1. alt here
    Jese Leos likes Bonnie Green's post in How to start with Flowbite library
    "I wanted to share a webinar zeroheight."
    Private
  2. alt here
    Bonnie Green react to Thomas Lean's comment
    "I wanted to share a webinar zeroheight."
    Private
<script lang="ts">
	import { Group, GroupItem } from 'svelte-5-ui-lib';
	const groupTimelines = [
		{
			name: '<span class="font-medium text-gray-900 dark:text-white">Jese Leos</span> likes <span class="font-medium text-gray-900 dark:text-white">Bonnie Green\'s</span> post in <span class="font-medium text-gray-900 dark:text-white"> How to start with Flowbite library</span>',
			src: '/images/profile-picture-1.webp',
			alt: 'alt here',
			href: '/',
			isPrivate: true,
			comment: '"I wanted to share a webinar zeroheight."'
		},
		{
			name: '<span class="font-medium text-gray-900 dark:text-white">Bonnie Green</span> react to <span class="font-medium text-gray-900 dark:text-white">Thomas Lean\'s</span> comment',
			src: '/images/profile-picture-2.webp',
			alt: 'alt here',
			href: '/',
			isPrivate: true,
			comment: '"I wanted to share a webinar zeroheight."'
		}
	];
</script>

<Group date="January 13th, 2022">
	<GroupItem timelines={groupTimelines} />
</Group>

Component data

codewithshin.com
  • Repo
  • About