Scintillar logo/UI

Examples

The registry ships with example components to demonstrate patterns and best practices.

Hello World

A minimal component that shows how to create and distribute a simple UI block.

npx shadcn@latest add @scintillar/hello-world

This component demonstrates:

  • Basic component structure
  • Using registry dependencies (Button)
  • Client-side interactivity

Example Form

A more complex example featuring a contact form with validation.

npx shadcn@latest add @scintillar/example-form

This component demonstrates:

  • Form state management with React hooks
  • Schema validation with Zod
  • Multiple registry dependencies (Button, Input, Label, Textarea, Card)
  • Error handling and success states