GitHub
deployed_codeComponent playground

Configure components before you copy a single line.

Browse the full UI catalog, preview components, tune the common props, and generate usage code that stays aligned with the registry behind the CLI.

expand_more

Mengubah bentuk snippet yang digenerate untuk konteks Next.js atau Vite.

expand_more

Quick preview respects the selected surface theme.

expand_more

Mengubah aksen warna preview playground.

Catalog57 items
Actionsbutton

Button

Primary, secondary, ghost, outline, destructive variants

Quick preview

Button

dark mode

Code output

Ready to copy

button.example.tsx
"use client";

import { Button } from "@/components/ui/Button";

export function Example() {
  return (
    <Button variant="primary" size="md">
      Create recipe
    </Button>
  );
}

Workflow

  1. 1. Install the component with the CLI command shown below.
  2. 2. Drop the generated usage snippet into your feature or demo page.
  3. 3. Open the docs or Storybook link if you need deeper prop coverage.

Install

$npx react-principles add button
React Principles