AK Status
ak-ui/statusFreeComponent
Tags and live terminal status indicators for roles, rarity, warnings, and connectivity.
Install it
npx shadcn@latest add https://ak-ui.yunyoujun.cn/r/status.jsonSource
1<script setup lang="ts">2import type { AkTagVariant } from './types'34import '@yunyoujun/ak-ui'56withDefaults(defineProps<{7 variant?: AkTagVariant8}>(), {9 variant: 'default',10})11</script>1213<template>14 <span15 data-slot="ak-tag"16 :data-variant="variant"17 :class="[18 'ak-tag',19 variant !== 'default' && `ak-tag--${variant}`,20 ]"21 >22 <slot />23 </span>24</template>
What it pulls in
npm packages
Files it writes
More from ak-ui
All 7 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| AK Buttonbutton | ak-ui | Components | Free | 1 dep · 3 files | |
| AK Cardcard | ak-ui | Components | Free | 1 dep · 8 files | |
| AK Input Numberinput-number | ak-ui | Components | Free | 1 dep · 2 files | |
| AK Noticenotice | ak-ui | Components | Free | 1 dep · 3 files | |
| AK Progressprogress | ak-ui | Components | Free | 1 dep · 4 files | |
| AK Tabstabs | ak-ui | Components | Free | 1 dep · 4 files |
