Cursor rule
.cursor/rules/shadcn-components.mdcHow to install shadcn React components
Cursor rules
Quality
63/100
Scores the file, not the repository.Length
652 words
1 headings · 1 code blocksRepository
0
— · pushed 396 days agoLast changed
3 days ago
First indexed 3 days ago.123456The following official shadcn-ui components are available. Please check to see if they are installed under `./apps/web/components/ui` before installing them with `pnpm dlx shadcn@latest add <component-id>`.78Notice that The 'shadcn-ui' package is deprecated. Please use the 'shadcn' package instead. For example:910```bash11pnpm dlx shadcn@latest add progress --cwd apps/web12```1314YOU MUST use `pnpm dlx shadcn@latest` when installing shadcn packages.1516Docs for each components are available at `https://ui.shadcn.com/docs/components/<component-id>`. Fetch and read the docs before using the component so that your knowledge is up-to-date.1718# Component ID (slug) Human-friendly name What it's for (1-sentence use-case)191 accordion Accordion Stack of headings that expand/collapse to reveal hidden content.202 alert Alert Static call-out box for status or info messages.213 alert-dialog Alert Dialog Modal that interrupts the flow to confirm or warn about critical actions.224 aspect-ratio Aspect Ratio Wrapper that locks children to a fixed width-to-height ratio (great for responsive media).235 avatar Avatar Small user/asset image or initials placeholder.246 badge Badge Tiny label for counts or status (e.g. “New”, “3”).257 breadcrumb Breadcrumb Navigation trail that shows “where you are” in the app hierarchy.268 button Button Click/tap element that triggers an action.279 calendar Calendar Stand-alone calendar view, used by Date Picker or on its own.2810 card Card Content container with optional header/body/footer.2911 carousel Carousel Horizontal slider that cycles through a set of items or images.3012 chart Chart Light wrapper for quick bar/line/pie visualizations.3113 checkbox Checkbox Square control for on/off selection of independent items.3214 collapsible Collapsible Utility that hides/reveals content with smooth height animation.3315 combobox Combobox Autocomplete text input that filters a long list and lets users pick an item.3416 command Command Palette VS Code-style keyboard overlay for fuzzy-searching actions.3517 context-menu Context Menu Right-click (long-press) menu with context-specific commands.3618 data-table Data Table Table with helpers for sorting, filtering and pagination.3719 date-picker Date Picker Input field that pops a calendar for choosing dates or ranges.3820 dialog Dialog Generic modal overlay for arbitrary interactive content.3921 drawer Drawer Slide-in panel (often from edge/bottom) for secondary workflows.4022 dropdown-menu Dropdown Menu Triggered list of options/actions that auto-dismisses on selection.4123 form Form Helpers and styles for accessible, validated forms.4224 hover-card Hover Card Lightweight popover that appears on hover/focus to show extra info.4325 input Input Standard single-line text field.4426 input-otp Input OTP Grouped inputs optimised for entering one-time pass-codes.4527 label Label Accessible label element for any form control.4628 menubar Menubar Horizontal desktop-app-style menu with dropdown sub-menus.4729 navigation-menu Navigation Menu Multi-level nav bar with active indicators and hover previews.4830 pagination Pagination Next/previous + numbered page controls for paginated data sets.4931 popover Popover Non-modal floating panel anchored to a trigger (e.g. emoji picker).5032 progress Progress Linear bar that shows completion percentage.5133 radio-group Radio Group Set of mutually-exclusive selection buttons.5234 resizable Resizable Wrapper that lets users drag to resize split panes.5335 scroll-area Scroll Area Augments native scrolling with custom styling and shadows.5436 select Select Styled single-select dropdown (native <select> replacement).5537 separator Separator Horizontal or vertical rule dividing content.5638 sheet Sheet Mobile-friendly slide-up bottom sheet (from tiny to full-screen).5739 sidebar Sidebar Vertical navigation rail that can collapse/expand.5840 skeleton Skeleton Grey placeholder shapes shown while real content loads.5941 slider Slider Draggable handle on a track for numeric values or ranges.6042 sonner Sonner Opinionated toast component (thin wrapper around the Sonner library).6143 switch Switch Toggle switch for true/false settings.6244 table Table Basic static table markup & styling.6345 tabs Tabs Tab strip that swaps between associated panels.6446 textarea Textarea Multi-line text input.6547 toast Toast Ephemeral message that pops at screen edge and auto-dismisses.6648 toggle Toggle Pressable button that stays pressed/un-pressed to indicate state.6749 toggle-group Toggle Group Collection of toggles acting as single- or multi-select controls.6850 tooltip Tooltip Small hover/focus label supplying helper text.69
Also in poglesbyg/htsf-consultant
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| poglesbyg/htsf-consultant.cursor/rules/always.mdc · 0 | Cursor rules | test | 35/100 | 3 days ago | |
| poglesbyg/htsf-consultant.cursor/rules/code-conventions.mdc · 0 | Cursor rules | setuplint-formatstyledo-not+1 | 80/100 | 3 days ago | |
| poglesbyg/htsf-consultant.cursor/rules/crispr-algorithms.mdc · 0 | Cursor rules | deployment | 44/100 | 3 days ago | |
| poglesbyg/htsf-consultant.cursor/rules/data-models.mdc · 0 | Cursor rules | typessecuritydatabase | 44/100 | 3 days ago | |
| poglesbyg/htsf-consultant.cursor/rules/database.mdc · 0 | Cursor rules | typesdatabasedo-not | 61/100 | 3 days ago | |
| poglesbyg/htsf-consultant.cursor/rules/env-vars.mdc · 0 | Cursor rules | securitydo-not | 63/100 | 3 days ago | |
| poglesbyg/htsf-consultant.cursor/rules/react.mdc · 0 | Cursor rules | style | 34/100 | 3 days ago | |
| poglesbyg/htsf-consultant.cursor/rules/smart-polling.mdc · 0 | Cursor rules | no sections | 44/100 | 3 days ago | |
| poglesbyg/htsf-consultant.cursor/rules/trpc-architecture.mdc · 0 | Cursor rules | archtypes | 56/100 | 3 days ago | |
| poglesbyg/htsf-consultant.cursor/rules/trpc.mdc · 0 | Cursor rules | no sections | 40/100 | 3 days ago | |
| poglesbyg/htsf-consultant.cursor/rules/typescript.mdc · 0 | Cursor rules | styletypesdo-not | 55/100 | 3 days ago | |
| poglesbyg/htsf-consultant.cursorrules · 0 | .cursorrules | archdeploymentagent-behaviour | 48/100 | 3 days ago |
Diff against .cursor/rules/always.mdc Diff against .cursor/rules/code-conventions.mdc Diff against .cursor/rules/crispr-algorithms.mdc Diff against .cursor/rules/data-models.mdc Diff against .cursor/rules/database.mdc Diff against .cursor/rules/env-vars.mdc Diff against .cursor/rules/react.mdc Diff against .cursor/rules/smart-polling.mdc Diff against .cursor/rules/trpc-architecture.mdc Diff against .cursor/rules/trpc.mdc Diff against .cursor/rules/typescript.mdc Diff against .cursorrules
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126 | Cursor rules | setupbuildtestlint-format+6 | 100/100 | 3 days ago | |
| TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 45 | Cursor rules | testlint-formatstylearch+5 | 100/100 | 3 days ago | |
| markstev/mark-starter.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+6 | 99/100 | 3 days ago | |
| Allymahmoud/case-intake-platform.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 3 days ago | |
| dodgecfr/combatfilms-webapp.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 3 days ago | |
| deifos/clipmira-subtitles.cursor/rules/frontend.mdc · 1 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 3 days ago | |
| langflow-ai/langflow.cursor/rules/docs_development.mdc · 153k | Cursor rules | setupbuildtestlint-format+7 | 97/100 | 3 days ago | |
| TechSquidTV/Hermes.cursor/rules/20-hermes-api-tests.mdc · 45 | Cursor rules | teststyletesting-strategysecurity+3 | 97/100 | 3 days ago |
