Scroll Area
Augments native scroll functionality for custom, cross-browser styling
Basic Usage
Quick notes
Custom Scrollbar Styles
Scrollbar Types
Horizontal Scroll - Gallery
Starry Night
Vincent van Gogh
1889
The Persistence of Memory
Salvador Dali
1931
The Great Wave
Hokusai
1831
Girl with a Pearl Earring
Johannes Vermeer
1665
The Scream
Edvard Munch
1893
Water Lilies
Claude Monet
1906
The Birth of Venus
Sandro Botticelli
1485
Guernica
Pablo Picasso
1937
Team Members
Sarah Wilson
sarah@example.com
Alex Chen
alex@example.com
Emma Davis
emma@example.com
James Miller
james@example.com
Olivia Brown
olivia@example.com
William Taylor
william@example.com
Sophia Johnson
sophia@example.com
Benjamin Lee
ben@example.com
Sarah Wilson
sarah@example.com
Alex Chen
alex@example.com
Emma Davis
emma@example.com
James Miller
james@example.com
Olivia Brown
olivia@example.com
William Taylor
william@example.com
Sophia Johnson
sophia@example.com
Benjamin Lee
ben@example.com
Chat Interface
Alex Chen
Online
10:30 AM
10:32 AM
10:33 AM
10:35 AM
10:35 AM
10:38 AM
10:42 AM
10:43 AM
10:45 AM
Code Block
import { useState, useEffect } from 'react';
interface User {
id: number;
name: string;
email: string;
role: 'admin' | 'user' | 'guest';
}
export function useUsers() {
const [users, setUsers] = useState<User[]>([]);
const [loading, setLoading] = useState(true);
const [error, setError] = useState<Error | null>(null);
useEffect(() => {
async function fetchUsers() {
try {
const response = await fetch('/api/users');
if (!response.ok) {
throw new Error('Failed to fetch users');
}
const data = await response.json();
setUsers(data);
} catch (err) {
setError(err as Error);
} finally {
setLoading(false);
}
}
fetchUsers();
}, []);
return { users, loading, error };
}Both Directions
| Name | Role | Status | |
|---|---|---|---|
| Sarah Wilson | sarah@example.com | Designer | Active |
| Alex Chen | alex@example.com | Developer | Inactive |
| Emma Davis | emma@example.com | Product | Inactive |
| James Miller | james@example.com | Developer | Active |
| Olivia Brown | olivia@example.com | Marketing | Inactive |
| William Taylor | william@example.com | Sales | Inactive |
| Sophia Johnson | sophia@example.com | Designer | Active |
| Benjamin Lee | ben@example.com | Developer | Inactive |
| Sarah Wilson | sarah@example.com | Designer | Inactive |
| Alex Chen | alex@example.com | Developer | Active |
| Emma Davis | emma@example.com | Product | Inactive |
| James Miller | james@example.com | Developer | Inactive |
| Olivia Brown | olivia@example.com | Marketing | Active |
| William Taylor | william@example.com | Sales | Inactive |
| Sophia Johnson | sophia@example.com | Designer | Inactive |
| Benjamin Lee | ben@example.com | Developer | Active |