Pieces/Editor(56)

Editor pieces from Beste UI, drop-in widgets built with shadcn/ui and Tailwind CSS.

const greet = (name: string) => `Hello, ${name}!`;
const msg = greet("Beste");
function greet(name: string): string

Returns a localized greeting for the given name.

index.tsx
button.tsx
card.tsx
button.tsx
export function Button({ label }) {
return <button>{label}</button>;
return <button className="btn">{label}</button>;
}
src
components
beste
button.tsx
user.
  • idstring
  • namestring
  • emailstring
  • save(): Promise<void>
greet.ts
export function greet(name: string) {
return `Hello, ${name}!`;
}
 
// Ship it
Markdown version