@@ -48,7 +48,7 @@ export const InteractiveDemo = () => {
4848 < button
4949 type = "button"
5050 key = { tool . title }
51- className = "relative px-4 py-3 md:p-6 max-w-md cursor-pointer text-start outline-none group "
51+ className = "group relative px-4 py-3 md:p-6 max-w-md cursor-pointer text-start outline-none rounded-[20px] focus-visible:ring-slate-8 focus-visible:ring-1 "
5252 onClick = { ( ) => {
5353 setActiveTool ( tool . value ) ;
5454 } }
@@ -58,7 +58,11 @@ export const InteractiveDemo = () => {
5858 { tool . value === activeTool && (
5959 < motion . div
6060 layoutId = "background"
61- className = "absolute inset-0 -z-10 bg-[#17171799] rounded-[20px] shadow-[0px_32px_64px_-16px_transparent,0px_16px_32px_-8px_transparent,0px_8px_16px_-4px_transparent,0px_4px_8px_-2px_transparent,0px_-8px_16px_-1px_transparent,0px_2px_4px_-1px_transparent,0px_0px_0px_1px_transparent,inset_0px_0px_0px_1px_#ffffff1a,inset_0px_1px_0px_#ffffff26]"
61+ className = { classNames (
62+ 'absolute inset-0 -z-10 bg-[#17171799] rounded-[20px]' ,
63+ 'shadow-[0px_32px_64px_-16px_transparent,0px_16px_32px_-8px_transparent,0px_8px_16px_-4px_transparent,0px_4px_8px_-2px_transparent,0px_-8px_16px_-1px_transparent,0px_2px_4px_-1px_transparent,0px_0px_0px_1px_transparent,inset_0px_0px_0px_1px_#ffffff1a,inset_0px_1px_0px_#ffffff26]' ,
64+ ) }
65+ onFocus = { ( ) => setActiveTool ( tool . value ) }
6266 initial = { { opacity : 0 } }
6367 animate = { { opacity : 1 } }
6468 exit = { { opacity : 0 } }
@@ -134,7 +138,7 @@ export const InteractiveDemo = () => {
134138 key = { tool . title }
135139 value = { tool . value }
136140 className = { classNames (
137- 'relative capitalize px-1 text-sm font-normal transition-colors' ,
141+ 'relative capitalize px-1 text-sm font-normal transition-colors outline-none focus-visible:ring-2 focus-visible:ring-slate-7 ' ,
138142 tool . value === activeTool
139143 ? 'text-cyan-11'
140144 : 'text-slate-10 hover:text-slate-12' ,
@@ -161,7 +165,7 @@ export const InteractiveDemo = () => {
161165 < Tabs . Content
162166 key = { tool . title }
163167 value = { tool . value }
164- className = "relative z-10 bg-black pl-4 pr-9 pt-3 h-32 max-md:overflow-x-auto"
168+ className = "relative z-10 bg-black pl-4 pr-9 pt-3 h-32 max-md:overflow-x-auto outline-none "
165169 >
166170 { tool . value === 'spam' ? (
167171 < div className = "flex flex-col items-center justify-center pt-6" >
0 commit comments