\n```\n\nThe `as` prop type could be retrieved from the RekaUI component prop type directly using something like this\n\n```ts\ninterface InputProps {\n as?: InstanceProps\u003Ctypeof Primitive>['$props']['as']\n // Other props...\n}\n```\n\nIs there a reason that eludes me as to why this was not done?\n\nIf this seems like a good idea, I'd be happy to submit a PR.\n\nCheers!",[3104,3107],{"name":3105,"color":3106},"question","d876e3",{"name":3024,"color":3025},3068,"[v3] `as` props typing","2025-01-10T17:28:25Z","https://github.com/nuxt/ui/issues/3068",0.74185705,{"description":3114,"labels":3115,"number":3116,"owner":3030,"repository":3117,"state":3076,"title":3118,"updated_at":3119,"url":3120,"score":3121},"\r\nI get warn: `Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead.` when I use an icon component and use multiple slots at the same time.\r\n\r\n# Replication:\r\nnuxt.config.ts\r\n```javascript\r\nexport default defineNuxtConfig({\r\n devtools: { enabled: true },\r\n modules: ['@nuxt/content', \"nuxt-icon\"],\r\n content: {\r\n documentDriven: {\r\n trailingSlash: false\r\n }\r\n }\r\n})\r\n```\r\ncomponents/content/ComponentWithIcon.vue\r\n```vue\r\n\u003Ctemplate>\r\n \u003Cdiv>\r\n Component with icon:\r\n \u003CIcon name=\"bxl:python\" class=\"w-8 h-8\" />\r\n \u003C/div>\r\n\u003C/template>\r\n```\r\n\r\ncomponents/content/Container.vue:\r\n```vue\r\n\u003Ctemplate>\r\n \u003Cdiv>\r\n \u003Cslot />\r\n \u003C/div>\r\n\u003C/template>\r\n```\r\n\r\nlayouts/full.vue:\r\n```vue\r\n\u003Ctemplate>\r\n \u003Cdiv class=\"custom-layout\">\r\n \u003Cslot />\r\n \u003C/div>\r\n\u003C/template>\r\n```\r\n\r\ncontent/index.md:\r\n```markdown\r\n---\r\nlayout: 'full'\r\n---\r\n\r\n:component-with-icon\r\n\r\n::container\r\nSlot nr 1\r\n::::container\r\nSlot nr 2\r\n::::\r\n::\r\n```\r\n\r\nThis bug prevents the site from being used in development mode due to the infinity loop. The problem does not occur in the latest beta version of nuxt-icon, but in the original project I use nuxt-ui, which uses the old version \r\n",[],157,"icon","Infinite WARN loop with slots and nuxt-content","2024-09-06T11:17:31Z","https://github.com/nuxt/icon/issues/157",0.743597,{"description":3123,"labels":3124,"number":3131,"owner":3030,"repository":3030,"state":3076,"title":3132,"updated_at":3133,"url":3134,"score":3135},"### Environment\n\nReproduced with minimum Nuxt 3 environment on StackBlitz, as well as locally on a MacOS computer with Node 19.\n\n### Reproduction\n\nLink can be found here: https://stackblitz.com/edit/github-umca8w?file=app.vue\r\n\r\nA `\u003CTitle>` component will use a comment, if specified first, as the actual title.\r\n\r\n```vue\r\n\u003CTitle>\u003C!-- this will be the title --> not this\u003C/Title>\r\n```\n\n### Describe the bug\n\nA `\u003CTitle>` component will read the first element, even if it is a comment. This causes comments to be displayed as a title, not the intended text afterwords.\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[3125,3128],{"name":3126,"color":3127},"3.x","29bc7f",{"name":3129,"color":3130},"🍰 p2-nice-to-have","0E8A16",19716,"Head (\u003CTitle>) components should validate input better","2023-06-17T21:37:07Z","https://github.com/nuxt/nuxt/issues/19716",0.7449327,["Reactive",3137],{},["Set"],["ShallowReactive",3140],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fN4YMi38Of8D7hJCCXhdpwbD6YdXjZFOPAJwKkf_3QF0":-1},"/nuxt/ui/3103"]