PageSourceSearch

https://once-ui.com/_next/static/chunks/2-5qm7irzin8o.js

js once-ui.com collected 2026-10-04 00:17:17 UTC 11,543 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,937152,e=>{"use strict";var r=e.i(622431),n=e.i(92083);e.i(857884);var a=e.i(240313),i=e.i(523284),t=e.i(223189),o=e.i(289047),l=e.i(982659),d=e.i(731709),s=e.i(802394),c=e.i(353639),m=e.i(831131),u=e.i(545791);let h=(e,r)=>({dark:`/trademarks/${e}-${r}-dark.svg`,light:`/trademarks/${e}-${r}-light.svg`}),p={aspectRatio:"auto",border:"transparent",radius:"none",width:"100%",proximity:.3,minWidth:20,l:{maxWidth:"calc(100vw - 2 * var(--responsive-space-l))"}};function g(e){return(0,r.jsx)(d.Row,{fillWidth:!0,children:(0,r.jsx)(c.SmartLink,{href:e.url,unstyled:!0,fillWidth:!0,children:(0,r.jsxs)(a.Column,{fillWidth:!0,gap:"12",children:[(0,r.jsxs)(a.Column,{fillWidth:!0,overflow:"hidden",radius:"l",border:!0,background:"surface",children:[e.image?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.Media,{pointerEvents:"none",src:e.image,alt:`${e.name} — ${e.description}`,aspectRatio:"16 / 9",sizes:1440,radius:"l"}),e.video&&(0,r.jsx)(l.Media,{pointerEvents:"none",src:e.video,alt:"",position:"absolute",top:"0",left:"0",fill:!0,aspectRatio:"16 / 9",radius:"l"})]}):(0,r.jsx)(d.Row,{fillWidth:!0,aspectRatio:"16 / 9",center:!0,padding:"32",pointerEvents:"none",children:e.hasWordmark?(0,r.jsx)(o.Logo,{size:"l",wordmark:h(e.mark,"wordmark")}):(0,r.jsx)(t.Heading,{variant:"display-strong-xs",onBackground:"neutral-weak",children:e.name})}),e.hasIcon&&(0,r.jsx)(d.Row,{position:"absolute",top:"40",right:"40",children:(0,r.jsx)(o.Logo,{size:"l",icon:h(e.mark,"icon")})})]}),(0,r.jsxs)(a.Column,{fillWidth:!0,gap:"4",paddingX:"l",paddingTop:"16",children:[(0,r.jsx)(m.Text,{variant:"code-default-xs",onBackground:"brand-weak",children:(e=>{try{return new URL(e).hostname.replace(/^www\./,"")}catch{return e}})(e.url)}),(0,r.jsx)(m.Text,{variant:"heading-strong-m",onBackground:"neutral-strong",children:e.name}),(0,r.jsx)(m.Text,{variant:"body-default-s",onBackground:"neutral-weak",children:e.description})]})]})})},e.mark)}e.s(["BuiltOnRail",0,function(e){let a,t,l,c,x,f,k,j=(0,n.c)(22),{products:b,maxWidth:v}=e,y=void 0===v?"xl":v,[w,B]=(0,u.useState)(0);if(j[0]!==w||j[1]!==b){let e;j[3]!==w?(e=(e,n)=>(0,r.jsx)(i.ElementType,{style:{border:"none",background:"transparent",padding:0,margin:0},onClick:()=>B(n),"aria-label":`Show ${e.name}`,"aria-current":w===n?"true":void 0,children:e.hasWordmark?(0,r.jsx)(o.Logo,{size:"s",wordmark:h(e.mark,"wordmark")}):(0,r.jsx)(m.Text,{variant:"heading-strong-m",onBackground:w===n?"neutral-strong":"neutral-medium",children:e.name})},e.mark),j[3]=w,j[4]=e):e=j[4],a=b.map(e),j[0]=w,j[1]=b,j[2]=a}else a=j[2];return j[5]!==a?(t=(0,r.jsx)(d.Row,{fillWidth:!0,gap:"40",wrap:!0,paddingY:"8",children:a}),j[5]=a,j[6]=t):t=j[6],j[7]!==y||j[8]!==t?(l=(0,r.jsx)(d.Row,{maxWidth:y,paddingX:"l",children:t}),j[7]=y,j[8]=t,j[9]=l):l=j[9],j[10]!==b?(c=b.map(g),j[10]=b,j[11]=c):c=j[11],j[12]!==w||j[13]!==y||j[14]!==c?(x=(0,r.jsx)(s.ScrollContainer,{infinite:!0,...p,maxWidth:y,active:w,onActiveChange:B,items:c}),j[12]=w,j[13]=y,j[14]=c,j[15]=x):x=j[15],j[16]!==y||j[17]!==x?(f=(0,r.jsx)(d.Row,{maxWidth:y,children:x}),j[16]=y,j[17]=x,j[18]=f):f=j[18],j[19]!==l||j[20]!==f?(k=(0,r.jsxs)(r.Fragment,{children:[l,f]}),j[19]=l,j[20]=f,j[21]=k):k=j[21],k}])},581062,e=>{"use strict";var r=e.i(622431),n=e.i(92083);e.i(857884);var a=e.i(892958),i=e.i(240313),t=e.i(223189),o=e.i(731709),l=e.i(456659),d=e.i(353639),s=e.i(831131),c=e.i(545791),m=e.i(390292);function u(e){return{label:e.label,value:e.value}}e.s(["Faq3",0,e=>{let h,p,g,x,f,k,j,b,v,y,w,B,C,T,W,R,S=(0,n.c)(32);S[0]!==e?({title:f,description:g,content:p,categories:h,...x}=e,S[0]=e,S[1]=h,S[2]=p,S[3]=g,S[4]=x,S[5]=f):(h=S[1],p=S[2],g=S[3],x=S[4],f=S[5]);let[z,_]=(0,c.useState)(h?.[0]?.value||"");S[6]!==z||S[7]!==h||S[8]!==p?(k=h?h.find(e=>e.value===z)?.content||[]:p||[],S[6]=z,S[7]=h,S[8]=p,S[9]=k):k=S[9];let I=k;return S[10]===Symbol.for("react.memo_cache_sentinel")?(j={direction:"column-reverse"},S[10]=j):j=S[10],S[11]!==z||S[12]!==h?(b=h&&h.length>0&&(0,r.jsx)(o.Row,{fillWidth:!0,paddingX:"24",marginBottom:"24",children:(0,r.jsx)(l.SegmentedControl,{buttons:h.map(u),value:z,onChange:e=>_(e)})}),S[11]=z,S[12]=h,S[13]=b):b=S[13],S[14]===Symbol.for("react.memo_cache_sentinel")?(v={lineHeight:"1.5"},S[14]=v):v=S[14],S[15]!==I?(y=(0,r.jsx)(a.AccordionGroup,{style:v,textVariant:"body-default-s",items:I}),S[15]=I,S[16]=y):y=S[16],S[17]===Symbol.for("react.memo_cache_sentinel")?(w=(0,r.jsxs)(s.Text,{align:"center",wrap:"balance",variant:"body-default-s",onBackgroun
1d:"neutral-medium",marginTop:"20",children:["Got more questions? Email us at"," ",(0,r.jsx)(d.SmartLink,{href:`mailto:${m.schema.email}`,children:m.schema.email})]}),S[17]=w):w=S[17],S[18]!==b||S[19]!==y?(B=(0,r.jsxs)(i.Column,{fillWidth:!0,children:[b,y,w]}),S[18]=b,S[19]=y,S[20]=B):B=S[20],S[21]!==f?(C=f&&(0,r.jsx)(t.Heading,{as:"h2",variant:"display-strong-m",marginBottom:"20",children:f}),S[21]=f,S[22]=C):C=S[22],S[23]!==g?(T=g&&(0,r.jsx)(s.Text,{onBackground:"neutral-medium",variant:"body-default-xl",children:g}),S[23]=g,S[24]=T):T=S[24],S[25]!==C||S[26]!==T?(W=(0,r.jsxs)(i.Column,{fillWidth:!0,paddingTop:"24",paddingLeft:"24",children:[C,T]}),S[25]=C,S[26]=T,S[27]=W):W=S[27],S[28]!==x||S[29]!==W||S[30]!==B?(R=(0,r.jsxs)(o.Row,{fillWidth:!0,s:j,gap:"xl",...x,children:[B,W]}),S[28]=x,S[29]=W,S[30]=B,S[31]=R):R=S[31],R}])},358260,e=>{"use strict";var r=e.i(622431),n=e.i(92083);e.i(857884);var a=e.i(37500),i=e.i(240313),t=e.i(326366),o=e.i(731709),l=e.i(831131),d=e.i(545791),s=e.i(294451);let c=[{category:"Once UI Core",description:"100+ pre-styled, open-source components",free:!0,pro:!0},{category:"Once UI for Figma",description:"Comprehensive design library for branding and prototyping",free:!0,pro:!0},{category:"Once UI Starter",description:"A simple Once UI setup with theme management",free:!0,pro:!0},{category:"Magic Portfolio",description:"Low-code portfolio template",free:!0,pro:!0},{category:"Magic Docs",description:"MDX-based documentation template",free:!0,pro:!0},{category:"Blocks",description:"100+ copy-paste sections and pages, open source under MIT",free:!0,pro:!0},{category:"Stack",description:"Eight composable surfaces: landing, dashboard, editor, docs, store, agency, journal, spotlight",free:!1,pro:!0},{category:"Commercial use of templates",description:"Core and blocks are MIT for everyone. The free templates are personal-use only (CC BY-NC); Pro adds commercial use of Stack and the templates",free:!1,pro:!0},{category:"Support",description:"Get support on our Discord server",free:!1,pro:!0},{category:"Orbit Core",description:"Self-hosted community platform on Supabase, switched on with Pro",free:!1,pro:"Add-on"}];e.s(["Table",0,function(){let e,m,u,h,p,g,x,f,k,j,b,v,y,w,B,C,T=(0,n.c)(30),[W,R]=(0,d.useState)("pro");T[0]===Symbol.for("react.memo_cache_sentinel")?(e={hide:!1},T[0]=e):e=T[0];let S="free"===W?"primary":"tertiary";T[1]===Symbol.for("react.memo_cache_sentinel")?(m=()=>R("free"),T[1]=m):m=T[1];let z="free"===W?1:.7;T[2]!==z?(u={opacity:z},T[2]=z,T[3]=u):u=T[3],T[4]!==S||T[5]!==u?(h=(0,r.jsx)(a.Button,{size:"s",variant:S,onClick:m,style:u,children:"Free"}),T[4]=S,T[5]=u,T[6]=h):h=T[6];let _="pro"===W?"primary":"tertiary";T[7]===Symbol.for("react.memo_cache_sentinel")?(p=()=>R("pro"),T[7]=p):p=T[7];let I="pro"===W?1:.7;T[8]!==I?(g={opacity:I},T[8]=I,T[9]=g):g=T[9],T[10]!==_||T[11]!==g?(x=(0,r.jsx)(a.Button,{size:"s",variant:_,onClick:p,style:g,children:"Pro"}),T[10]=_,T[11]=g,T[12]=x):x=T[12],T[13]!==x||T[14]!==h?(f=(0,r.jsxs)(o.Row,{gap:"4",children:[h,x]}),T[13]=x,T[14]=h,T[15]=f):f=T[15];let L="free"===W?"$0":`from $${s.prices.indie.discounted}`;return T[16]!==L?(k=(0,r.jsx)(l.Text,{variant:"label-default-m",onBackground:"neutral-weak",children:L}),T[16]=L,T[17]=k):k=T[17],T[18]!==f||T[19]!==k?(j=(0,r.jsxs)(o.Row,{hide:!0,s:e,fillWidth:!0,borderBottom:"neutral-alpha-medium",paddingX:"20",paddingY:"12",vertical:"center",horizontal:"between",background:"page",position:"sticky",topRadius:"xl",top:"80",zIndex:1,children:[f,k]}),T[18]=f,T[19]=k,T[20]=j):j=T[20],T[21]===Symbol.for("react.memo_cache_sentinel")?(b={hide:!0},T[21]=b):b=T[21],T[22]===Symbol.for("react.memo_cache_sentinel")?(v=(0,r.jsx)(i.Column,{flex:2,padding:"24",vertical:"center",gap:"4"}),T[22]=v):v=T[22],T[23]===Symbol.for("react.memo_cache_sentinel")?(y=(0,r.jsxs)(o.Row,{fillWidth:!0,padding:"24",vertical:"center",horizontal:"between",borderLeft:"neutral-alpha-medium",children:[(0,r.jsx)(l.Text,{variant:"heading-strong-xs",onBackground:"neutral-strong",children:"Free"}),(0,r.jsx)(l.Text,{variant:"body-default-s",onBackground:"neutral-weak",children:"$0"})]}),T[23]=y):y=T[23],T[24]===Symbol.for("react.memo_cache_sentinel")?(w=(0,r.jsxs)(o.Row,{s:b,fillWidth:!0,borderBottom:"neutral-alpha-medium",topRadius:"xl",background:"page",position:"sticky",top:"80",zIndex:2,children:[v,(0,r.jsxs)(o.Row,{flex:2,children:[y,(0,r.jsxs)(o.Row,{fillWidth:!0,padding:"24",vertical:"center",horizontal:"between",borderLeft:"neutral-alpha-medium",children:[(0,r.jsx)(l.Text,{variant:"heading-strong-xs",onBackgroun
1d:"brand-strong",children:"Pro"}),(0,r.jsxs)(l.Text,{variant:"body-default-s",onBackground:"neutral-weak",children:["from $",s.prices.indie.discounted]})]})]})]}),T[24]=w):w=T[24],T[25]!==W?(B=c.map((e,n)=>(0,r.jsxs)(o.Row,{fillWidth:!0,borderBottom:n!==c.length-1?"neutral-alpha-medium":void 0,children:[(0,r.jsxs)(i.Column,{flex:2,padding:"24",vertical:"center",children:[(0,r.jsx)(l.Text,{variant:"label-strong-m",onBackground:"neutral-strong",children:e.category}),(0,r.jsx)(l.Text,{variant:"body-default-s",onBackground:"neutral-weak",children:e.description})]}),(0,r.jsxs)(o.Row,{flex:2,s:{hide:!0},children:[(0,r.jsx)(i.Column,{fillWidth:!0,padding:"24",vertical:"center",horizontal:"center",borderLeft:"neutral-alpha-medium",children:(0,r.jsx)(l.Text,{variant:"body-default-m",onBackground:"neutral-weak",align:"center",children:!0===e.free?(0,r.jsx)(t.Icon,{onBackground:"brand-medium",name:"check",size:"s"}):!1===e.free?(0,r.jsx)(t.Icon,{onBackground:"neutral-weak",name:"close",size:"s"}):e.free})}),(0,r.jsx)(i.Column,{fillWidth:!0,padding:"24",vertical:"center",horizontal:"center",borderLeft:"neutral-alpha-medium",children:(0,r.jsx)(l.Text,{variant:"body-default-m",onBackground:"neutral-strong",align:"center",children:!0===e.pro?(0,r.jsx)(t.Icon,{onBackground:"brand-medium",name:"check",size:"s"}):!1===e.pro?(0,r.jsx)(t.Icon,{onBackground:"neutral-weak",name:"close",size:"s"}):e.pro})})]}),(0,r.jsx)(o.Row,{hide:!0,s:{hide:!1},flex:1,children:(0,r.jsxs)(i.Column,{flex:1,padding:"20",center:!0,borderLeft:"neutral-alpha-medium",style:{minWidth:0},children:["free"===W&&(0,r.jsx)(l.Text,{variant:"body-default-m",onBackground:"neutral-weak",align:"center",children:!0===e.free?(0,r.jsx)(t.Icon,{onBackground:"brand-medium",name:"check",size:"s"}):!1===e.free?(0,r.jsx)(t.Icon,{onBackground:"neutral-weak",name:"close",size:"s"}):e.free}),"pro"===W&&(0,r.jsx)(l.Text,{variant:"body-default-m",onBackground:"neutral-strong",align:"center",children:!0===e.pro?(0,r.jsx)(t.Icon,{onBackground:"brand-medium",name:"check",size:"s"}):!1===e.pro?(0,r.jsx)(t.Icon,{onBackground:"neutral-weak",name:"close",size:"s"}):e.pro})]})})]},n)),T[25]=W,T[26]=B):B=T[26],T[27]!==j||T[28]!==B?(C=(0,r.jsx)(i.Column,{maxWidth:"l",translateY:-2,border:!0,radius:"xl",background:"page",children:(0,r.jsxs)(i.Column,{fillWidth:!0,children:[j,w,B]})}),T[27]=j,T[28]=B,T[29]=C):C=T[29],C}])}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.