File size: 409 Bytes
91677d6
 
 
 
 
 
 
 
 
 
 
 
 
 
8899818
91677d6
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<script lang="ts">
	import { cn } from '$lib/utils';

	interface Props {
		label: string;
		align?: 'start' | 'end';
		class?: string;
	}

	let { label, align = 'start', class: className }: Props = $props();
</script>

<span
	class={cn(
		'inline-block px-2 text-[0.7rem] font-medium tracking-wide text-muted-foreground uppercase',
		align === 'end' && 'w-full text-right',
		className
	)}
>
	{label}
</span>