Skip to content

srcfl/srcful-design-system

Repository files navigation

Sourceful Design System

Design system, components, and brand guidelines for Sourceful Energy.

Live site: design.sourceful.energy

What's included

  • 50+ React Components - Built on Radix UI and styled with Tailwind CSS
  • Design Tokens - Colors, typography, spacing, shadows as CSS variables
  • Brand Guidelines - Logo, colors, typography, voice & tone
  • Dark Mode - Full dark mode support across all components
  • Accessibility - WCAG 2.1 AA compliant, keyboard navigation, screen reader support

Quick Start

npm install @sourceful-energy/ui
import { Button, Card, Input } from "@sourceful-energy/ui"
import "@sourceful-energy/ui/styles.css"

function App() {
  return (
    <Card>
      <Button>Click me</Button>
    </Card>
  )
}

Development

# Install dependencies
npm install

# Start development server
npm run dev

# Build for production
npm run build

For Claude Code Users

This design system is optimized for AI-assisted development. To use it in your projects:

1. Copy the template

Copy CLAUDE.project-template.md to your project root as CLAUDE.md:

curl -o CLAUDE.md https://raw.githubusercontent.com/srcfl/srcful-design-system/main/CLAUDE.project-template.md

2. Install the package

npm install @sourceful-energy/ui

3. Start building

Claude Code will automatically read your CLAUDE.md and use the design system for all UI work.

See the Claude Code setup guide for more details.

Structure

├── app/                    # Next.js documentation site
│   ├── docs/              # Getting started, tokens
│   ├── components/        # Component documentation
│   └── brand/             # Brand guidelines
├── components/
│   └── ui/                # React components
├── lib/                   # Utilities
└── registry/              # Component schemas (JSON)

License

MIT © Sourceful Energy

About

Design system, components, and brand guidelines for Sourceful Energy

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •