Registry Install Card

Terminal
$ npx shadcn@latest add @beste-ui/hero181
components/hero181.tsx
components/ui/button.tsx
Styles come from your own theme tokens
About this piece

Registry Install Card

One install command in a soft code box, the files it added ticked off underneath and a short note on where the styles come from.

Usage

The import and the props worth knowing about, in one place.

import { Code23 } from "@/components/beste/piece/code23";

<Code23
  title="Terminal"
  prompt="$"
  command="npx shadcn@latest add @beste-ui/hero181"
  files={[
    "components/hero181.tsx",
    "components/ui/button.tsx"
  ]}
  note="Styles come from your own theme tokens"
  framed={true}
/>

More Code pieces

View all Code
npx shadcn@latest add https://beste.dev/r/hero181.json
components/hero181.tsx
components/ui/button.tsx
members.ts
import { Sirius } from '@sirius/sdk'
const client = new Sirius(apiKey)
await client.members.create({ name })
function greet(name) {
return 'Hi ' + name;
return `Hello, ${name}!`;
}
bun add @beste/ui
greet.ts
export function greet(name: string) {
return `Hello, ${name}!`;
}
 
console.log(greet("Beste"));
const greeting = "Hello, Beste!";ts