daisy-ui-kit 0.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +80 -0
- package/components/-utils.ts +41 -0
- package/components/.DS_Store +0 -0
- package/components/Alert.vue +27 -0
- package/components/Artboard.vue +33 -0
- package/components/Avatar.vue +85 -0
- package/components/AvatarGroup.vue +19 -0
- package/components/Badge.vue +45 -0
- package/components/BottomNav.vue +27 -0
- package/components/Breadcrumbs.vue +7 -0
- package/components/Button.config.ts +26 -0
- package/components/Button.vue +112 -0
- package/components/ButtonGroup.vue +5 -0
- package/components/Card.vue +31 -0
- package/components/CardActions.vue +16 -0
- package/components/CardBody.vue +16 -0
- package/components/CardTitle.vue +16 -0
- package/components/Carousel.vue +26 -0
- package/components/CarouselItem.vue +5 -0
- package/components/Checkbox.vue +47 -0
- package/components/Code.vue +91 -0
- package/components/CodePreview.vue +28 -0
- package/components/CodeWrapper.vue +10 -0
- package/components/Collapse.vue +33 -0
- package/components/CollapseContent.vue +5 -0
- package/components/CollapseTitle.vue +5 -0
- package/components/Countdown.vue +16 -0
- package/components/CountdownTimers.vue +66 -0
- package/components/Counter.vue +15 -0
- package/components/Crumb.vue +5 -0
- package/components/DarkToggle.vue +11 -0
- package/components/DemoElement.vue +32 -0
- package/components/DemoExample.vue +23 -0
- package/components/Divider.vue +25 -0
- package/components/Drawer.vue +19 -0
- package/components/DrawerLayout.vue +35 -0
- package/components/DrawerLayoutContent.vue +11 -0
- package/components/Dropdown.vue +30 -0
- package/components/DropdownContent.vue +3 -0
- package/components/Flex.vue +146 -0
- package/components/FlexItem.vue +146 -0
- package/components/Footer.vue +25 -0
- package/components/FooterTitle.vue +17 -0
- package/components/FormControl.vue +5 -0
- package/components/Hero.vue +17 -0
- package/components/HeroContent.vue +17 -0
- package/components/HeroOverlay.vue +5 -0
- package/components/Home/AlternatingFeatureSections.vue +217 -0
- package/components/Home/CTA.vue +27 -0
- package/components/Home/Footer.vue +210 -0
- package/components/Home/GradientFeatureSections.vue +98 -0
- package/components/Home/Header.vue +174 -0
- package/components/Home/Hero.vue +52 -0
- package/components/Home/LogoCloud.vue +49 -0
- package/components/Home/StatsSection.vue +51 -0
- package/components/Home/Testimonial.vue +23 -0
- package/components/Indicator.vue +16 -0
- package/components/IndicatorItem.vue +37 -0
- package/components/InputGroup.vue +33 -0
- package/components/Kbd.vue +26 -0
- package/components/Label.vue +17 -0
- package/components/LabelText.vue +17 -0
- package/components/LabelTextAlt.vue +17 -0
- package/components/Link.vue +32 -0
- package/components/Logo.vue +8 -0
- package/components/Mask.config.ts +77 -0
- package/components/Mask.vue +15 -0
- package/components/Menu.vue +26 -0
- package/components/MenuItem.vue +17 -0
- package/components/MenuTitle.vue +14 -0
- package/components/MobileSidebar.vue +92 -0
- package/components/MockupCode.vue +4 -0
- package/components/Modal.vue +16 -0
- package/components/ModalAction.vue +5 -0
- package/components/ModalBox.vue +5 -0
- package/components/ModalWrapper.vue +32 -0
- package/components/NavButton.vue +22 -0
- package/components/Navbar.vue +17 -0
- package/components/NavbarCenter.vue +16 -0
- package/components/NavbarEnd.vue +16 -0
- package/components/NavbarStart.vue +16 -0
- package/components/Phone.vue +8 -0
- package/components/Progress.vue +44 -0
- package/components/Prose.vue +36 -0
- package/components/RadialProgress.vue +42 -0
- package/components/Radio.vue +63 -0
- package/components/RadioGroup.vue +41 -0
- package/components/Range.vue +49 -0
- package/components/RangeMeasure.vue +71 -0
- package/components/RangeMeasureTick.vue +62 -0
- package/components/Rating.vue +152 -0
- package/components/Select.vue +104 -0
- package/components/Sidebar.vue +89 -0
- package/components/SidebarMenuSection.vue +35 -0
- package/components/SigninForm.vue +47 -0
- package/components/Stack.vue +16 -0
- package/components/Stat.vue +5 -0
- package/components/StatActions.vue +5 -0
- package/components/StatDesc.vue +5 -0
- package/components/StatFigure.vue +5 -0
- package/components/StatTitle.vue +5 -0
- package/components/StatValue.vue +5 -0
- package/components/Stats.vue +5 -0
- package/components/Step.vue +36 -0
- package/components/Steps.vue +22 -0
- package/components/Swap.vue +60 -0
- package/components/Tab.vue +49 -0
- package/components/TabContent.vue +28 -0
- package/components/Tabs.vue +71 -0
- package/components/TabsManager.vue +37 -0
- package/components/Text.vue +179 -0
- package/components/TextArea.vue +53 -0
- package/components/TextInput.vue +64 -0
- package/components/Toast.vue +33 -0
- package/components/Toggle.vue +48 -0
- package/components/Tooltip.vue +49 -0
- package/components/UserMenu.vue +62 -0
- package/components/Window.vue +5 -0
- package/components/fixtures.ts +62 -0
- package/components/theme/Builder.vue +284 -0
- package/components/theme/Output.vue +70 -0
- package/components/theme/Picker.vue +39 -0
- package/components/theme/Preview.vue +1684 -0
- package/components/theme/Provider.vue +43 -0
- package/components/theme/Snooper.vue +41 -0
- package/components/theme/Swatch.vue +47 -0
- package/components/theme/custom-themes.ts +34 -0
- package/components/theme/theme-utils.ts +164 -0
- package/components/types.ts +7 -0
- package/index.ts +96 -0
- package/package.json +55 -0
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { computed, defineProps, withDefaults } from 'vue'
|
|
3
|
+
|
|
4
|
+
interface Props {
|
|
5
|
+
is?: string | Object | Function
|
|
6
|
+
|
|
7
|
+
// https://tailwindcss.com/docs/flex
|
|
8
|
+
flex?: boolean
|
|
9
|
+
|
|
10
|
+
flex1?: boolean
|
|
11
|
+
flexAuto?: boolean
|
|
12
|
+
flexInitial?: boolean
|
|
13
|
+
none?: boolean
|
|
14
|
+
|
|
15
|
+
grow?: boolean
|
|
16
|
+
|
|
17
|
+
// https://tailwindcss.com/docs/flex-direction
|
|
18
|
+
direction?: 'row' | 'col' | 'row-reverse' | 'col-reverse'
|
|
19
|
+
row?: boolean
|
|
20
|
+
col?: boolean
|
|
21
|
+
reverse?: boolean
|
|
22
|
+
|
|
23
|
+
// https://tailwindcss.com/docs/flex-wrap
|
|
24
|
+
wrap?: boolean
|
|
25
|
+
nowrap?: boolean
|
|
26
|
+
wrapReverse?: boolean
|
|
27
|
+
|
|
28
|
+
// https://tailwindcss.com/docs/align-items
|
|
29
|
+
alignItems?: 'start' | 'end' | 'center' | 'baseline' | 'stretch'
|
|
30
|
+
itemsStart?: boolean
|
|
31
|
+
itemsEnd?: boolean
|
|
32
|
+
itemsCenter?: boolean
|
|
33
|
+
itemsBaseline?: boolean
|
|
34
|
+
itemsStretch?: boolean
|
|
35
|
+
|
|
36
|
+
// https://tailwindcss.com/docs/align-content
|
|
37
|
+
alignContent?: 'start' | 'end' | 'center' | 'between' | 'around' | 'evenly'
|
|
38
|
+
contentStart?: boolean
|
|
39
|
+
contentEnd?: boolean
|
|
40
|
+
contentCenter?: boolean
|
|
41
|
+
contentBetween?: boolean
|
|
42
|
+
contentAround?: boolean
|
|
43
|
+
contentEvenly?: boolean
|
|
44
|
+
|
|
45
|
+
// https://tailwindcss.com/docs/align-self
|
|
46
|
+
alignSelf?: 'auto' | 'start' | 'end' | 'center' | 'stretch' | 'baseline'
|
|
47
|
+
selfAuto?: boolean
|
|
48
|
+
selfStart?: boolean
|
|
49
|
+
selfEnd?: boolean
|
|
50
|
+
selfCenter?: boolean
|
|
51
|
+
selfStretch?: boolean
|
|
52
|
+
selfBaseline?: boolean
|
|
53
|
+
|
|
54
|
+
// https://tailwindcss.com/docs/justify-content
|
|
55
|
+
justify?: 'start' | 'end' | 'center' | 'between' | 'around' | 'evenly'
|
|
56
|
+
justifyStart?: boolean
|
|
57
|
+
justifyEnd?: boolean
|
|
58
|
+
justifyCenter?: boolean
|
|
59
|
+
justifyBetween?: boolean
|
|
60
|
+
justifyAround?: boolean
|
|
61
|
+
justifyEvenly?: boolean
|
|
62
|
+
|
|
63
|
+
// https://tailwindcss.com/docs/justify-items
|
|
64
|
+
justifyItems?: 'start' | 'end' | 'center' | 'stretch'
|
|
65
|
+
justifyItemsStart?: boolean
|
|
66
|
+
justifyItemsEnd?: boolean
|
|
67
|
+
justifyItemsCenter?: boolean
|
|
68
|
+
justifyItemsStretch?: boolean
|
|
69
|
+
|
|
70
|
+
// https://tailwindcss.com/docs/justify-self
|
|
71
|
+
justifySelf?: 'auto' | 'start' | 'end' | 'center' | 'stretch'
|
|
72
|
+
justifySelfAuto?: boolean
|
|
73
|
+
justifySelfStart?: boolean
|
|
74
|
+
justifySelfEnd?: boolean
|
|
75
|
+
justifySelfCenter?: boolean
|
|
76
|
+
justifySelfStretch?: boolean
|
|
77
|
+
}
|
|
78
|
+
const props = withDefaults(defineProps<Props>(), {
|
|
79
|
+
is: 'div',
|
|
80
|
+
flex: false,
|
|
81
|
+
})
|
|
82
|
+
|
|
83
|
+
const classes = computed(() => {
|
|
84
|
+
return {
|
|
85
|
+
'flex-1': props.flex1,
|
|
86
|
+
'flex-auto': props.flexAuto,
|
|
87
|
+
'flex-initial': props.flexInitial,
|
|
88
|
+
'flex-none': props.none,
|
|
89
|
+
|
|
90
|
+
'flex-grow': props.grow,
|
|
91
|
+
|
|
92
|
+
'flex-row': props.direction === 'row' || props.row,
|
|
93
|
+
'flex-col': props.direction === 'col' || props.col,
|
|
94
|
+
'flex-row-reverse': props.direction === 'row-reverse' || (props.row && props.reverse),
|
|
95
|
+
'flex-col-reverse': props.direction === 'col-reverse' || (props.col && props.reverse),
|
|
96
|
+
|
|
97
|
+
'flex-wrap': props.wrap,
|
|
98
|
+
'flex-wrap-reverse': props.wrapReverse,
|
|
99
|
+
'flex-nowrap': props.nowrap,
|
|
100
|
+
|
|
101
|
+
'content-start': props.alignContent === 'start' || props.contentStart,
|
|
102
|
+
'content-end': props.alignContent === 'end' || props.contentEnd,
|
|
103
|
+
'content-center': props.alignContent === 'center' || props.contentCenter,
|
|
104
|
+
'content-between': props.alignContent === 'between' || props.contentBetween,
|
|
105
|
+
'content-around': props.alignContent === 'around' || props.contentAround,
|
|
106
|
+
'content-evenly': props.alignContent === 'evenly' || props.contentEvenly,
|
|
107
|
+
|
|
108
|
+
'items-start': props.alignItems === 'start' || props.itemsStart,
|
|
109
|
+
'items-end': props.alignItems === 'end' || props.itemsEnd,
|
|
110
|
+
'items-center': props.alignItems === 'center' || props.itemsCenter,
|
|
111
|
+
'items-baseline': props.alignItems === 'baseline' || props.itemsBaseline,
|
|
112
|
+
'items-stretch': props.alignItems === 'stretch' || props.itemsStretch,
|
|
113
|
+
|
|
114
|
+
'self-auto': props.alignSelf === 'auto' || props.selfAuto,
|
|
115
|
+
'self-start': props.alignSelf === 'start' || props.selfStart,
|
|
116
|
+
'self-end': props.alignSelf === 'end' || props.selfEnd,
|
|
117
|
+
'self-center': props.alignSelf === 'center' || props.selfCenter,
|
|
118
|
+
'self-stretch': props.alignSelf === 'stretch' || props.selfStretch,
|
|
119
|
+
'self-baseline': props.alignSelf === 'baseline' || props.selfBaseline,
|
|
120
|
+
|
|
121
|
+
'justify-start': props.justify === 'start' || props.justifyStart,
|
|
122
|
+
'justify-end': props.justify === 'end' || props.justifyEnd,
|
|
123
|
+
'justify-center': props.justify === 'center' || props.justifyCenter,
|
|
124
|
+
'justify-between': props.justify === 'between' || props.justifyBetween,
|
|
125
|
+
'justify-around': props.justify === 'around' || props.justifyAround,
|
|
126
|
+
'justify-evenly': props.justify === 'evenly' || props.justifyEvenly,
|
|
127
|
+
|
|
128
|
+
'justify-items-start': props.justifyItems === 'start' || props.justifyItemsStart,
|
|
129
|
+
'justify-items-end': props.justifyItems === 'end' || props.justifyItemsEnd,
|
|
130
|
+
'justify-items-center': props.justifyItems === 'center' || props.justifyItemsCenter,
|
|
131
|
+
'justify-items-stretch': props.justifyItems === 'stretch' || props.justifyItemsStretch,
|
|
132
|
+
|
|
133
|
+
'justify-self-auto': props.justifySelf === 'auto' || props.justifySelfAuto,
|
|
134
|
+
'justify-self-start': props.justifySelf === 'start' || props.justifySelfStart,
|
|
135
|
+
'justify-self-end': props.justifySelf === 'end' || props.justifySelfEnd,
|
|
136
|
+
'justify-self-center': props.justifySelf === 'center' || props.justifySelfCenter,
|
|
137
|
+
'justify-self-stretch': props.justifySelf === 'stretch' || props.justifySelfStretch,
|
|
138
|
+
}
|
|
139
|
+
})
|
|
140
|
+
</script>
|
|
141
|
+
|
|
142
|
+
<template>
|
|
143
|
+
<component :is="is" class="flex" :class="classes">
|
|
144
|
+
<slot />
|
|
145
|
+
</component>
|
|
146
|
+
</template>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { computed, defineProps, withDefaults } from 'vue'
|
|
3
|
+
import Text from './Text.vue'
|
|
4
|
+
|
|
5
|
+
interface Props {
|
|
6
|
+
center?: boolean
|
|
7
|
+
is?: string
|
|
8
|
+
}
|
|
9
|
+
const props = withDefaults(defineProps<Props>(), {
|
|
10
|
+
center: false,
|
|
11
|
+
is: 'footer',
|
|
12
|
+
})
|
|
13
|
+
|
|
14
|
+
const classes = computed(() => {
|
|
15
|
+
return {
|
|
16
|
+
'divider-center': props.center,
|
|
17
|
+
}
|
|
18
|
+
})
|
|
19
|
+
</script>
|
|
20
|
+
|
|
21
|
+
<template>
|
|
22
|
+
<Text :is="is" class="footer" :class="classes">
|
|
23
|
+
<slot />
|
|
24
|
+
</Text>
|
|
25
|
+
</template>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { defineProps, withDefaults } from 'vue'
|
|
3
|
+
import Text from './Text.vue'
|
|
4
|
+
|
|
5
|
+
interface Props {
|
|
6
|
+
is?: string
|
|
7
|
+
}
|
|
8
|
+
const props = withDefaults(defineProps<Props>(), {
|
|
9
|
+
is: 'span',
|
|
10
|
+
})
|
|
11
|
+
</script>
|
|
12
|
+
|
|
13
|
+
<template>
|
|
14
|
+
<Text :is="is" class="footer-title">
|
|
15
|
+
<slot />
|
|
16
|
+
</Text>
|
|
17
|
+
</template>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { defineProps, withDefaults } from 'vue'
|
|
3
|
+
import Text from './Text.vue'
|
|
4
|
+
|
|
5
|
+
interface Props {
|
|
6
|
+
is?: string
|
|
7
|
+
}
|
|
8
|
+
withDefaults(defineProps<Props>(), {
|
|
9
|
+
is: 'div',
|
|
10
|
+
})
|
|
11
|
+
</script>
|
|
12
|
+
|
|
13
|
+
<template>
|
|
14
|
+
<Text :is="is" class="hero">
|
|
15
|
+
<slot />
|
|
16
|
+
</Text>
|
|
17
|
+
</template>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { defineProps, withDefaults } from 'vue'
|
|
3
|
+
import Text from './Text.vue'
|
|
4
|
+
|
|
5
|
+
interface Props {
|
|
6
|
+
is?: string
|
|
7
|
+
}
|
|
8
|
+
withDefaults(defineProps<Props>(), {
|
|
9
|
+
is: 'div',
|
|
10
|
+
})
|
|
11
|
+
</script>
|
|
12
|
+
|
|
13
|
+
<template>
|
|
14
|
+
<Text :is="is" class="hero-content">
|
|
15
|
+
<slot />
|
|
16
|
+
</Text>
|
|
17
|
+
</template>
|
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { HeartIcon, SparklesIcon } from '@heroicons/vue/outline'
|
|
3
|
+
import IconInfo from '~icons/feather/info'
|
|
4
|
+
|
|
5
|
+
const isChecked = ref(true)
|
|
6
|
+
const name = ref('')
|
|
7
|
+
const quest = ref('')
|
|
8
|
+
const favoriteColor = ref('')
|
|
9
|
+
</script>
|
|
10
|
+
|
|
11
|
+
<template>
|
|
12
|
+
<!-- Alternating Feature Sections -->
|
|
13
|
+
<div class="relative pt-16 pb-32 overflow-hidden">
|
|
14
|
+
<div aria-hidden="true" class="absolute inset-x-0 top-0 h-48 bg-gradient-to-b from-secondary/30" />
|
|
15
|
+
<div class="relative">
|
|
16
|
+
<div
|
|
17
|
+
class="lg:mx-auto lg:max-w-7xl lg:px-8 lg:grid lg:grid-cols-2 lg:grid-flow-col-dense lg:gap-24"
|
|
18
|
+
>
|
|
19
|
+
<div class="max-w-xl px-4 mx-auto sm:px-6 lg:py-16 lg:max-w-none lg:mx-0 lg:px-0">
|
|
20
|
+
<div>
|
|
21
|
+
<Flex items-center justify-center class="w-12 h-12 rounded-md bg-gradient-secondary-b">
|
|
22
|
+
<HeartIcon class="w-6 h-6 text-secondary-content" aria-hidden="true" />
|
|
23
|
+
</Flex>
|
|
24
|
+
|
|
25
|
+
<Text block size="3xl" extrabold class="mt-6 tracking-tight">
|
|
26
|
+
Clean Components
|
|
27
|
+
</Text>
|
|
28
|
+
<Text block lg class="mt-4 text-opacity-80">
|
|
29
|
+
Tailwind classes can get messy. DaisyUI Kit helps you declutter your code. It's clean, scalable Tailwind.
|
|
30
|
+
</Text>
|
|
31
|
+
|
|
32
|
+
<NuxtLink to="/daisy-button">
|
|
33
|
+
<Button primary class="mt-6 bg-gradient-primary-r">
|
|
34
|
+
Get started
|
|
35
|
+
</Button>
|
|
36
|
+
</NuxtLink>
|
|
37
|
+
</div>
|
|
38
|
+
|
|
39
|
+
<div class="pt-6 mt-8 border-t border-gray-200">
|
|
40
|
+
<HomeTestimonial />
|
|
41
|
+
</div>
|
|
42
|
+
</div>
|
|
43
|
+
<div class="mt-12 sm:mt-16 lg:mt-0">
|
|
44
|
+
<div class="py-16 pl-4 -mr-48 sm:pl-6 md:-mr-16 lg:px-0 lg:m-0 lg:relative lg:h-full">
|
|
45
|
+
<Flex grow class="w-[800px] mx-auto shadow-lg mockup-code">
|
|
46
|
+
<pre><code>
|
|
47
|
+
<<span class="text-orange-400">Button</span> <span class="text-purple-400">primary</span>>Get Started</<span class="text-orange-400">Button</span>></code>
|
|
48
|
+
|
|
49
|
+
<span class="text-gray-400"><!-- instead of --></span>
|
|
50
|
+
|
|
51
|
+
<<span class="text-green-400">button</span> <span class="text-purple-400">class</span>="<span class="text-amber-400">inline-block px-4 py-3</span>
|
|
52
|
+
<span class="text-amber-400">text-sm font-semibold text-center</span>
|
|
53
|
+
<span class="text-amber-400">text-white uppercase transition</span>
|
|
54
|
+
<span class="text-amber-400">duration-200 ease-in-out bg-indigo-600 </span>
|
|
55
|
+
<span class="text-amber-400">rounded-md cursor-pointer</span>
|
|
56
|
+
<span class="text-amber-400">hover:bg-indigo-700</span>
|
|
57
|
+
>
|
|
58
|
+
Get Started
|
|
59
|
+
<<span class="text-green-400">button</span>>
|
|
60
|
+
|
|
61
|
+
</pre>
|
|
62
|
+
</Flex>
|
|
63
|
+
</div>
|
|
64
|
+
</div>
|
|
65
|
+
</div>
|
|
66
|
+
</div>
|
|
67
|
+
<div class="mt-24">
|
|
68
|
+
<div
|
|
69
|
+
class="lg:mx-auto lg:max-w-7xl lg:px-8 lg:grid lg:grid-cols-2 lg:grid-flow-col-dense lg:gap-24"
|
|
70
|
+
>
|
|
71
|
+
<div
|
|
72
|
+
class="max-w-xl px-4 mx-auto sm:px-6 lg:py-32 lg:max-w-none lg:mx-0 lg:px-0 lg:col-start-2"
|
|
73
|
+
>
|
|
74
|
+
<div>
|
|
75
|
+
<Flex
|
|
76
|
+
items-center
|
|
77
|
+
justify-center
|
|
78
|
+
class="w-12 h-12 rounded-md bg-gradient-secondary-b text-secondary-content"
|
|
79
|
+
>
|
|
80
|
+
<SparklesIcon class="w-6 h-6" aria-hidden="true" />
|
|
81
|
+
</Flex>
|
|
82
|
+
<Text block size="3xl" extrabold class="mt-6 tracking-tight text-base-content/90">
|
|
83
|
+
Beautiful Components
|
|
84
|
+
</Text>
|
|
85
|
+
<Text block lg class="mt-4 text-base-content/60">
|
|
86
|
+
DaisyUI Kit's components are powered by the beautiful CSS of <Link>DaisyUI</Link>. Our components are built with
|
|
87
|
+
just the right amount of elegant TypeScript under the hood.
|
|
88
|
+
</Text>
|
|
89
|
+
|
|
90
|
+
<NuxtLink to="/daisy-button">
|
|
91
|
+
<Button primary class="mt-6 bg-gradient-primary-r">
|
|
92
|
+
Get started
|
|
93
|
+
</Button>
|
|
94
|
+
</NuxtLink>
|
|
95
|
+
</div>
|
|
96
|
+
</div>
|
|
97
|
+
<div class="relative mt-12 sm:mt-16 lg:mt-0 lg:col-start-1">
|
|
98
|
+
<div class="absolute inset-0 pr-4 -ml-48 sm:pr-6 md:-ml-16 lg:px-0 lg:m-0 lg:relative lg:h-full">
|
|
99
|
+
<img
|
|
100
|
+
class="w-full shadow-xl rounded-xl ring-1 ring-black ring-opacity-5 lg:absolute lg:right-0 lg:h-full lg:w-auto lg:max-w-none"
|
|
101
|
+
src="https://images.unsplash.com/photo-1441974231531-c6227db76b6e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2560&q=80"
|
|
102
|
+
alt="Customer profile user interface"
|
|
103
|
+
>
|
|
104
|
+
</div>
|
|
105
|
+
<div class="absolute inset-4">
|
|
106
|
+
<Flex class="space-x-4">
|
|
107
|
+
<Flex col>
|
|
108
|
+
<Card glass class="w-48 p-6 shadow-xl">
|
|
109
|
+
<Label class="cursor-pointer">
|
|
110
|
+
<LabelText class="text-neutral">Neutral</LabelText>
|
|
111
|
+
<Toggle v-model="isChecked" />
|
|
112
|
+
</Label>
|
|
113
|
+
|
|
114
|
+
<Label class="cursor-pointer">
|
|
115
|
+
<LabelText class="text-neutral">Primary</LabelText>
|
|
116
|
+
<Toggle v-model="isChecked" primary />
|
|
117
|
+
</Label>
|
|
118
|
+
|
|
119
|
+
<Label class="cursor-pointer">
|
|
120
|
+
<LabelText class="text-neutral">Secondary</LabelText>
|
|
121
|
+
<Toggle v-model="isChecked" secondary />
|
|
122
|
+
</Label>
|
|
123
|
+
|
|
124
|
+
<Label class="cursor-pointer">
|
|
125
|
+
<LabelText class="text-neutral">Accent</LabelText>
|
|
126
|
+
<Toggle v-model="isChecked" accent />
|
|
127
|
+
</Label>
|
|
128
|
+
</Card>
|
|
129
|
+
|
|
130
|
+
<Card glass class="w-48 p-6 mt-4 text-white shadow-xl">
|
|
131
|
+
<Label class="cursor-pointer">
|
|
132
|
+
<LabelText class="text-neutral">Neutral</LabelText>
|
|
133
|
+
<Toggle v-model="isChecked" />
|
|
134
|
+
</Label>
|
|
135
|
+
|
|
136
|
+
<Label class="cursor-pointer">
|
|
137
|
+
<LabelText class="text-neutral">Primary</LabelText>
|
|
138
|
+
<Toggle v-model="isChecked" primary />
|
|
139
|
+
</Label>
|
|
140
|
+
|
|
141
|
+
<Label class="cursor-pointer">
|
|
142
|
+
<LabelText class="text-neutral">Secondary</LabelText>
|
|
143
|
+
<Toggle v-model="isChecked" secondary />
|
|
144
|
+
</Label>
|
|
145
|
+
|
|
146
|
+
<Label class="cursor-pointer">
|
|
147
|
+
<LabelText class="text-neutral">Accent</LabelText>
|
|
148
|
+
<Toggle v-model="isChecked" accent />
|
|
149
|
+
</Label>
|
|
150
|
+
</Card>
|
|
151
|
+
</Flex>
|
|
152
|
+
|
|
153
|
+
<Card class="p-6 space-y-6 shadow-xl text-base-content bg-base-100 w-80">
|
|
154
|
+
<FormControl class="w-full max-w-xs">
|
|
155
|
+
<Label>
|
|
156
|
+
<LabelText>What is your name?</LabelText>
|
|
157
|
+
<LabelTextAlt>
|
|
158
|
+
<Tooltip primary left tip="Just answer correctly!">
|
|
159
|
+
<Button tabindex="-1" xs ghost><IconInfo /></Button>
|
|
160
|
+
</Tooltip>
|
|
161
|
+
</LabelTextAlt>
|
|
162
|
+
</Label>
|
|
163
|
+
<TextInput
|
|
164
|
+
v-model="name"
|
|
165
|
+
bordered
|
|
166
|
+
placeholder="Sir Gallahad"
|
|
167
|
+
class="w-full max-w-xs"
|
|
168
|
+
/>
|
|
169
|
+
</FormControl>
|
|
170
|
+
|
|
171
|
+
<FormControl class="w-full max-w-xs">
|
|
172
|
+
<Label>
|
|
173
|
+
<LabelText>What is your quest?</LabelText>
|
|
174
|
+
<LabelTextAlt>
|
|
175
|
+
<Tooltip secondary left tip="Where do you want to go, today?">
|
|
176
|
+
<Button tabindex="-1" xs ghost><IconInfo /></Button>
|
|
177
|
+
</Tooltip>
|
|
178
|
+
</LabelTextAlt>
|
|
179
|
+
</Label>
|
|
180
|
+
<TextInput
|
|
181
|
+
v-model="quest"
|
|
182
|
+
bordered
|
|
183
|
+
placeholder="I seek the Grail"
|
|
184
|
+
class="w-full max-w-xs"
|
|
185
|
+
/>
|
|
186
|
+
</FormControl>
|
|
187
|
+
|
|
188
|
+
<FormControl class="w-full max-w-xs">
|
|
189
|
+
<Label>
|
|
190
|
+
<LabelText>What is your favorite color?</LabelText>
|
|
191
|
+
<LabelTextAlt>
|
|
192
|
+
<Tooltip accent left tip="Blue or Yellow?">
|
|
193
|
+
<Button tabindex="-1" xs ghost><IconInfo /></Button>
|
|
194
|
+
</Tooltip>
|
|
195
|
+
</LabelTextAlt>
|
|
196
|
+
</Label>
|
|
197
|
+
<TextInput
|
|
198
|
+
v-model="favoriteColor"
|
|
199
|
+
bordered
|
|
200
|
+
placeholder="Blue, no yellow?"
|
|
201
|
+
class="w-full max-w-xs"
|
|
202
|
+
/>
|
|
203
|
+
<Label>
|
|
204
|
+
<LabelTextAlt><Text error>Don't get this wrong</Text></LabelTextAlt>
|
|
205
|
+
<LabelTextAlt><Text info>or else</Text></LabelTextAlt>
|
|
206
|
+
</Label>
|
|
207
|
+
</FormControl>
|
|
208
|
+
|
|
209
|
+
<Button>Submit</Button>
|
|
210
|
+
</Card>
|
|
211
|
+
</Flex>
|
|
212
|
+
</div>
|
|
213
|
+
</div>
|
|
214
|
+
</div>
|
|
215
|
+
</div>
|
|
216
|
+
</div>
|
|
217
|
+
</template>
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<!-- CTA Section -->
|
|
3
|
+
<div class="bg-neutral">
|
|
4
|
+
<div
|
|
5
|
+
class="max-w-4xl px-4 py-16 mx-auto sm:px-6 sm:py-24 lg:max-w-7xl lg:px-8 lg:flex lg:items-center lg:justify-between"
|
|
6
|
+
>
|
|
7
|
+
<Text is="h2" size="4xl" extrabold class="tracking-tight">
|
|
8
|
+
<Text block class="text-neutral-content">
|
|
9
|
+
Build faster with <Text secondary>
|
|
10
|
+
DaisyUI Kit Premium
|
|
11
|
+
</Text>
|
|
12
|
+
</Text>
|
|
13
|
+
<Text block size="3xl" class="text-transparent bg-gradient-secondary-r bg-clip-text">
|
|
14
|
+
Templates for App Layout, Marketing and E-Commerce
|
|
15
|
+
</Text>
|
|
16
|
+
</Text>
|
|
17
|
+
|
|
18
|
+
<div class="mt-6 space-y-4 sm:space-y-0 sm:flex sm:space-x-4">
|
|
19
|
+
<Tooltip tip="Coming Soon">
|
|
20
|
+
<Button primary lg>
|
|
21
|
+
Learn more
|
|
22
|
+
</Button>
|
|
23
|
+
</Tooltip>
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
</template>
|