Something went wrong. Try again.
Monorepo for Tangled
Something went wrong. Try again.
Svelte
1234567891011121314151617181920212223<script lang="ts"> interface Props { variant?: "line" | "dot"; orientation?: "horizontal" | "vertical"; class?: string; }
let { variant = "line", orientation = "horizontal", class: className }: Props = $props();</script>
{#if variant === "line"} {#if orientation === "vertical"} <hr aria-orientation="vertical" class="h-auto min-w-px self-stretch rounded-sm border-none bg-border-default {className}" /> {:else} <hr class="min-h-px w-full border-none bg-border-default {className}" /> {/if}{:else if variant === "dot"} <span class="text-inherit select-none {className}">·</span>{/if}