# π Code Examples
## Π‘ΠΎΠ·Π΄Π°Π½ΠΈΠ΅ ΠΊΠΎΠΌΠΏΠΎΠ½Π΅Π½ΡΠ°
### Feature ΠΊΠΎΠΌΠΏΠΎΠ½Π΅Π½Ρ
```typescript
// features/your-card.tsx
"use client";
import { motion } from "framer-motion";
import { Card } from "@/shared/ui/card";
interface YourCardProps {
title: string;
description: string;
}
export function YourCard({ title, description }: YourCardProps) {
return (
{title}
{description}
);
}
```
### Widget ΡΠ΅ΠΊΡΠΈΡ
```typescript
// widgets/your-section.tsx
"use client";
import { SectionContainer } from "@/features/section-container";
import { SectionHeader } from "@/features/section-header";
export function YourSection() {
return (
{/* ΠΠΎΠ½ΡΠ΅Π½Ρ */}
);
}
```
## Π Π°Π±ΠΎΡΠ° Ρ ΡΠΎΡΡΠΎΡΠ½ΠΈΠ΅ΠΌ
```typescript
"use client";
import { useState } from "react";
export function Counter() {
const [count, setCount] = useState(0);
return (
Count: {count}
);
}
```
## ΠΠ½ΠΈΠΌΠ°ΡΠΈΠΈ
### Fade in + Slide up
```typescript
Content
```