{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "usa-ssn-input", "type": "registry:component", "registryDependencies": [ "input", "http://localhost:3000/r/regex-input.json" ], "files": [ { "path": "components/domain-ui/usa/ssn-input.tsx", "content": "\"use client\";\n\nimport {\n RegexInput,\n type RegexInputProps,\n} from \"@/components/domain-ui/regex-input\";\n\n// SSN regex: XXX-XX-XXXX format\n// - First group: 001-665, 667-899 (excludes 000, 666, 9XX)\n// - Second group: 01-99 (excludes 00)\n// - Third group: 0001-9999 (excludes 0000)\nconst SSN_REGEX = /^(?!000|666|9\\d{2})\\d{3}-(?!00)\\d{2}-(?!0000)\\d{4}$/;\n\nexport function SsnInput(props: Omit) {\n return ;\n}\n", "type": "registry:component" } ], "meta": { "tags": [ "input", "ssn", "social-security", "usa", "validation", "identity", "kyc", "form" ] } }