ui-components

UI Components and Styling

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "ui-components" with this command: npx skills add elie222/inbox-zero/elie222-inbox-zero-ui-components

UI Components and Styling

UI Framework

  • Use Shadcn UI and Tailwind for components and styling

  • Implement responsive design with Tailwind CSS using a mobile-first approach

  • Use next/image package for images

Install new Shadcn components

pnpm dlx shadcn@latest add COMPONENT

Example:

pnpm dlx shadcn@latest add progress

Data Fetching with SWR

For API get requests to server use the swr package:

const searchParams = useSearchParams(); const page = searchParams.get("page") || "1"; const { data, isLoading, error } = useSWR<PlanHistoryResponse>( /api/user/planned/history?page=${page} );

Loading Components

Use the LoadingContent component to handle loading states:

<Card> <LoadingContent loading={isLoading} error={error}> {data && <MyComponent data={data} />} </LoadingContent> </Card>

Form Components

Text Inputs

<Input type="email" name="email" label="Email" registerProps={register("email", { required: true })} error={errors.email} />

Text Area

<Input type="text" autosizeTextarea rows={3} name="message" placeholder="Paste in email content" registerProps={register("message", { required: true })} error={errors.message} />

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

hooks

No summary provided by upstream source.

Repository SourceNeeds Review
General

ux-writing

No summary provided by upstream source.

Repository SourceNeeds Review
General

cursor-rules

No summary provided by upstream source.

Repository SourceNeeds Review