Loading the record
Reading the stored /api/items response for this item.
Reading the stored /api/items response for this item.
npx shadcn@latest add makes, so the answer cannot drift from reality without the install drifting too.GET https://shadcn-vue.com/r/styles/new-york/button.json<script setup lang="ts">
import type { PrimitiveProps } from "reka-ui"
import type { HTMLAttributes } from "vue"
import type { ButtonVariants } from "."
import { Primitive } from "reka-ui"
import { cn } from "@/lib/utils"
import { buttonVariants } from "."
interface Props extends PrimitiveProps {
variant?: ButtonVariants["variant"]
size?: ButtonVariants["size"]
class?: HTMLAttributes["class"]
}
const props = withDefaults(defineProps<Props>(), {
as: "button",
})
</script>
<template>
<Primitive
:as="as"
:as-child="asChild"
:class="cn(buttonVariants({ variant, size }), props.class)"
>
<slot />
</Primitive>
</template>
Read from https://shadcn-vue.com/r/styles/new-york/button.json. Source is read for the first 150 items per registry, which is a size decision, not a coverage one. Nothing is served from this origin: the install command fetches the registry's own endpoint.
This registry's own demo page permits framing, so the component can be watched running where its authors maintain it.
https://shadcn-vue.com/docs/components/button
This record is the /api/items/shadcn-vue/button response blockdex.thecompound.tech served on 2026-09-13, from the crawl of 2026-09-13.