ui-ux

ui-ux is a cursor rule for Cursor from lacymorrow/paperclip-hub. It costs 0 tokens per session (421 once invoked), scanned A, original, MIT.

A set of guidelines for designing web interfaces, including reusable components, layout, styling, forms, navigation, and interactions. It includes accessibility and responsive behavior for different screen sizes.

In plain words
What is it for?
Use it when building or reviewing React interfaces with Shadcn/UI and Tailwind CSS. It helps with component choices, spacing, responsive layouts, forms, navigation, and interaction states.
Why use it?
It reduces inconsistent screens and confusing user interactions. It also reminds developers to handle validation, errors, loading states, keyboard use, and mobile layouts.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it when building or reviewing React interfaces with Shadcn/UI and Tailwind CSS. It helps with component choices, spacing, responsive layouts, forms, navigation, and interaction states.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/lacymorrow/paperclip-hub/ui-ux
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/lacymorrow/paperclip-hub

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ui-ux

README.md
[![agentmods](https://agentmods.dev/badge/rules/lacymorrow/paperclip-hub/ui-ux/github.svg)](https://agentmods.dev/rules/lacymorrow/paperclip-hub/ui-ux)
Your own site
<a href="https://agentmods.dev/rules/lacymorrow/paperclip-hub/ui-ux"><img src="https://agentmods.dev/badge/rules/lacymorrow/paperclip-hub/ui-ux/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ui-ux

Your own site · 80×15
<a href="https://agentmods.dev/rules/lacymorrow/paperclip-hub/ui-ux"><img src="https://agentmods.dev/badge/rules/lacymorrow/paperclip-hub/ui-ux.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 421 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00421
Opus 5.5 $0.00000 $0.00168
Sonnet 5.5 $0.00000 $0.00084
Haiku 4.5 $0.00000 $0.00042

Measured yesterday against content hash abc09a26fd73, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ui-ux scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/ui-ux.mdc · 97 lines

What it actually says

UI/UX Design Guidelines

Component Library

  • Use Shadcn/UI components for consistency
  • Follow component documentation
  • Maintain design system
  • Customize thoughtfully
  • Document modifications
  • Keep components accessible
  • Test all variants

Styling

  • Use Tailwind CSS for styling
  • Follow responsive design principles
  • Use consistent spacing
  • Maintain color system
  • Follow typography scale
  • Keep styles maintainable
  • Document custom styles

Layout

  • Use responsive layouts
  • Implement proper spacing
  • Follow grid system
  • Consider mobile first
  • Handle breakpoints properly
  • Test all screen sizes
  • Document layout patterns

Forms

  • Use proper validation
  • Provide clear feedback
  • Handle errors gracefully
  • Show loading states
  • Support keyboard navigation
  • Maintain accessibility
  • Document form patterns
  • Clear navigation structure
  • Consistent patterns
  • Handle state changes
  • Show active states
  • Support keyboard nav
  • Consider mobile nav
  • Document nav patterns

Interactions

  • Clear feedback
  • Consistent behavior
  • Handle loading states
  • Show error states
  • Support touch devices
  • Test all interactions
  • Document patterns

Accessibility

  • Follow WCAG guidelines
  • Support screen readers
  • Handle keyboard nav
  • Provide alt text
  • Use semantic HTML
  • Test accessibility
  • Document requirements

Performance

  • Optimize images
  • Handle loading states
  • Minimize layout shifts
  • Use proper caching
  • Monitor performance
  • Regular audits
  • Document optimizations

Responsive Design

  • Mobile-first approach
  • Handle breakpoints
  • Test all devices
  • Consider orientation
  • Handle touch input
  • Document patterns
  • Regular testing

Documentation

  • Document components
  • Maintain style guide
  • Document patterns
  • Keep examples updated
  • Share best practices
  • Regular reviews
  • Version control
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 97 lines · 421 tokens per session scan A abc09a26fd73

Subscribe to this mod's changes

ui-ux is a cursor rule published in the GitHub repository lacymorrow/paperclip-hub (15 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 421 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-10.

Related

ui-ux compared with cursor rules from other repositories

ui-ux next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ui-uxlacymorrow/paperclip-hubCursor rule15yesterdayMITA0Cursor
codex-premium-website-skillsTheGoat395/Codex-SkillsCursor rule13720d agoMITA0Cursor
ui-design-systemkrivoox/agent-stack-templateCursor rule301mo agoMITA0Cursor
uiuseshape/ShapeCursor rule34yesterdaynoneA0Cursor
ui-and-styling-rulesWebDevPeterGriffin/The-VibeCode-BibleCursor rule427d agononeA66Cursor
ui-and-styling-ruleWebDevPeterGriffin/The-VibeCode-BibleCursor rule427d agononeA67Cursor
ui-componentsFluroAsh/nextjs-mdx-portfolioCursor rule2yesterdaynoneA3Cursor