Annonce

The annonce component is used to display an announcement on top of the hero section.

<a href="#" class="annonce variant-mixed gap-2 sz-sm w-fit mx-auto">
    <span class="annonce-concern sz-xs variant-solid intent-primary">New</span>
    <span class="text-title text-sm">Introduction Tailus UI Html</span>
</a>

Reference

Root

The parent component of the Annonce component

Prop
Type
Usage
size
enum
sz-[size]
variant
enum
variant-[variant]

Concern

The subject of the announcement

Prop
Type
Usage
size
enum
sz-[size]
variant
enum
variant-[variant]
intent
enum
intent-[intent]

Root variants

<div class="space-y-6" data-shade="900">
    <a href="#" class="annonce plain gap-2 sz-sm w-fit mx-auto">
        <span class="annonce-concern sz-xs variant-solid intent-primary">New</span>
        <span class="text-title text-sm">Introduction Tailus UI Html</span>
    </a>

    <a href="#" class="annonce variant-outlined gap-2 sz-sm w-fit mx-auto">
        <span class="annonce-concern sz-xs variant-solid intent-primary">New</span>
        <span class="text-title text-sm">Introduction Tailus UI Html</span>
    </a>

    <a href="#" class="annonce variant-soft gap-2 sz-sm w-fit mx-auto">
        <span class="annonce-concern sz-xs variant-solid intent-primary">New</span>
        <span class="text-title text-sm">Introduction Tailus UI Html</span>
    </a>

    <a href="#" class="annonce variant-mixed gap-2 sz-sm w-fit mx-auto">
        <span class="annonce-concern sz-xs variant-solid intent-primary">New</span>
        <span class="text-title text-sm">Introduction Tailus UI Html</span>
    </a>
</div>

Concern variants

<div class="space-y-6" data-shade="900">
    <a href="#" class="annonce variant-mixed gap-2 sz-sm w-fit mx-auto">
        <span class="annonce-concern sz-xs variant-solid intent-primary">New</span>
        <span class="text-title text-sm">Introduction Tailus UI Html</span>
    </a>

    <a href="#" class="annonce variant-mixed gap-2 sz-sm w-fit mx-auto">
        <span class="annonce-concern sz-xs variant-soft intent-primary">New</span>
        <span class="text-title text-sm">Introduction Tailus UI Html</span>
    </a>

    <a href="#" class="annonce variant-mixed gap-2 sz-sm w-fit mx-auto">
        <span class="annonce-concern sz-xs variant-outlined intent-primary">New</span>
        <span class="text-title text-sm">Introduction Tailus UI Html</span>
    </a>
</div>

Concern intents

<div class="space-y-6" data-shade="900">
    <a href="#" class="annonce variant-mixed gap-2 sz-sm w-fit mx-auto">
        <span class="annonce-concern sz-xs variant-solid intent-primary">New</span>
        <span class="text-title text-sm">Introduction Tailus UI Html</span>
    </a>

    <a href="#" class="annonce variant-mixed gap-2 sz-sm w-fit mx-auto">
        <span class="annonce-concern sz-xs variant-solid intent-secondary">New</span>
        <span class="text-title text-sm">Introduction Tailus UI Html</span>
    </a>

    <a href="#" class="annonce variant-mixed gap-2 sz-sm w-fit mx-auto">
        <span class="annonce-concern sz-xs variant-solid intent-accent">New</span>
        <span class="text-title text-sm">Introduction Tailus UI Html</span>
    </a>

    <a href="#" class="annonce variant-mixed gap-2 sz-sm w-fit mx-auto">
        <span class="annonce-concern sz-xs variant-solid intent-danger">New</span>
        <span class="text-title text-sm">Introduction Tailus UI Html</span>
    </a>

    <a href="#" class="annonce variant-mixed gap-2 sz-sm w-fit mx-auto">
        <span class="annonce-concern sz-xs variant-solid intent-info">New</span>
        <span class="text-title text-sm">Introduction Tailus UI Html</span>
    </a>

    <a href="#" class="annonce variant-mixed gap-2 sz-sm w-fit mx-auto">
        <span class="annonce-concern sz-xs variant-solid intent-success">New</span>
        <span class="text-title text-sm">Introduction Tailus UI Html</span>
    </a>

    <a href="#" class="annonce variant-mixed gap-2 sz-sm w-fit mx-auto">
        <span class="annonce-concern sz-xs variant-solid intent-warning">New</span>
        <span class="text-title text-sm">Introduction Tailus UI Html</span>
    </a>

    <a href="#" class="annonce variant-mixed gap-2 sz-sm w-fit mx-auto">
        <span class="annonce-concern sz-xs variant-solid intent-gray">New</span>
        <span class="text-title text-sm">Introduction Tailus UI Html</span>
    </a>

    <a href="#" class="annonce variant-mixed gap-2 sz-sm w-fit mx-auto">
        <span class="annonce-concern sz-xs variant-solid intent-neutral">New</span>
        <span class="text-title text-sm">Introduction Tailus UI Html</span>
    </a>
</div>