0.1.1 • Published 6 months ago

@hahahoarder/strawberry-ui v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Strawberry UI

iOS-style React component library

Installation

npm install strawberry-ui
# or
yarn add strawberry-ui

Usage

import { ThemeProvider, Button, TextField } from 'strawberry-ui';

function App() {
  return (
    <ThemeProvider>
      <Button variant="primary">Hello Strawberry</Button>
      <TextField label="Email" placeholder="Enter your email" />
    </ThemeProvider>
  );
}

Components

  • Button
  • Checkbox
  • TextField
  • TextArea
  • Switch
  • and more coming soon...

Theme

Strawberry UI comes with a default theme inspired by iOS design. You can customize the theme by passing a theme object to the ThemeProvider.

import { ThemeProvider } from 'strawberry-ui';

const customTheme = {
  colors: {
    primary: '#ff6b6b',
    // ... other color overrides
  },
};

function App() {
  return (
    <ThemeProvider theme={customTheme}>
      {/* Your app content */}
    </ThemeProvider>
  );
}

License

MIT

acceptsacornacorn-jsxacorn-walkaddressagent-baseaggregate-errorajvajv-formatsajv-keywordsansi-escapesansi-htmlansi-html-communityansi-regexansi-stylesanymatchapp-root-dirargparsearia-hiddenaria-queryarray-buffer-byte-lengtharray-flattenarray-unionassertast-typesasyncasync-limiterasynckitavailable-typed-arraysbabel-corebabel-jestbabel-loaderbabel-plugin-add-react-displaynamebabel-plugin-istanbulbabel-plugin-jest-hoistbabel-plugin-polyfill-corejs2babel-plugin-polyfill-corejs3babel-plugin-polyfill-regeneratorbabel-preset-current-node-syntaxbabel-preset-jestbalanced-matchbase64-jsbetter-opnbig-integerbig.jsbinary-extensionsblbody-parserboolbasebplist-parserbrace-expansionbracesbrowser-assertbrowserify-zlibbrowserslistbs-loggerbserbufferbuffer-crc32buffer-frombytescall-bindcall-bind-apply-helperscall-boundcallsitescamel-casecamelcasecamelizecaniuse-litecase-sensitive-paths-webpack-pluginchalkchar-regexchokidarchownrchrome-trace-eventci-infocittycjs-module-lexerclean-cssclean-stackcli-cursorcli-spinnerscli-table3cliuicloneclone-deepcocollect-v8-coveragecolor-convertcolor-namecolorettecombined-streamcommandercommon-path-prefixcommondircompressiblecompressionconcat-mapconcat-streamconfboxconsolaconstants-browserifycontent-dispositioncontent-typeconvert-source-mapcookiecookie-signaturecore-js-compatcore-js-purecore-util-iscosmiconfigcreate-jestcross-spawncrypto-random-stringcss-color-keywordscss-loadercss-selectcss-to-react-nativecss-whatcssesccsstypedebugdedentdeep-equaldeepmergedefault-browser-iddefaultsdefine-data-propertydefine-lazy-propdefine-propertiesdefudeldelayed-streamdepddequaldestroydetect-indentdetect-newlinedetect-node-esdetect-package-managerdetect-portdiff-sequencesdir-globdoctrinedom-accessibility-apidom-converterdom-serializerdomelementtypedomhandlerdomutilsdot-casedotenvdotenv-expanddunder-protoduplexifyeastasianwidthee-firstejselectron-to-chromiumemitteryemoji-regexemojis-listencodeurlend-of-streamendentenhanced-resolveentitiesenvinfoerror-exerror-stack-parseres-define-propertyes-errorses-get-iteratores-module-lexeres-object-atomses-set-tostringtagesbuildesbuild-plugin-aliasesbuild-registerescaladeescape-htmlescape-string-regexpescodegeneslint-scopeesprimaesrecurseestraverseesutilsetageventsexecaexitexpectexpressextendextract-zipfast-deep-equalfast-globfast-json-parsefast-json-stable-stringifyfast-urifastqfb-watchmanfd-slicerfetch-retryfile-system-cachefilelistfill-rangefinalhandlerfind-cache-dirfind-upflat-cacheflattedflow-parserfor-eachforeground-childfork-ts-checker-webpack-pluginform-dataforwardedfreshfs-constantsfs-extrafs-minipassfs-monkeyfs.realpathfunction-bindfunctions-have-namesgensyncget-caller-fileget-intrinsicget-nonceget-npm-tarball-urlget-package-typeget-portget-protoget-streamgigetgithub-sluggerglobglob-parentglob-to-regexpglobalsglobbygopdgraceful-fsgunzip-maybehandlebarshas-bigintshas-flaghas-property-descriptorshas-symbolshas-tostringtaghasownhehosted-git-infohtml-entitieshtml-escaperhtml-minifier-terserhtml-tagshtml-webpack-pluginhtmlparser2http-errorshttps-proxy-agenthuman-signalsiconv-liteicss-utilsieee754ignoreimport-freshimport-localimurmurhashindent-stringinflightinheritsinternal-slotipaddr.jsis-absolute-urlis-argumentsis-array-bufferis-arrayishis-bigintis-binary-pathis-boolean-objectis-callableis-core-moduleis-date-objectis-deflateis-dockeris-extglobis-fullwidth-code-pointis-generator-fnis-generator-functionis-globis-gzipis-interactiveis-mapis-nanis-numberis-number-objectis-path-cwdis-path-insideis-plain-objectis-regexis-setis-shared-array-bufferis-streamis-stringis-symbolis-typed-arrayis-unicode-supportedis-weakmapis-weaksetis-wslisarrayisexeisobjectistanbul-lib-coverageistanbul-lib-instrumentistanbul-lib-reportistanbul-lib-source-mapsistanbul-reportsjackspeakjakejest-changed-filesjest-circusjest-clijest-configjest-diffjest-docblockjest-eachjest-environment-nodejest-get-typejest-haste-mapjest-leak-detectorjest-matcher-utilsjest-message-utiljest-mockjest-pnp-resolverjest-regex-utiljest-resolvejest-resolve-dependenciesjest-runnerjest-runtimejest-snapshotjest-utiljest-validatejest-watcherjest-workerjs-tokensjs-yamljscodeshiftjsescjson-bufferjson-parse-even-better-errorsjson-schema-traversejson5jsonfilekeyvkind-ofkleurlazy-universal-dotenvlevenlines-and-columnsloader-runnerloader-utilslocate-pathlodashlodash.debouncelodash.memoizelog-symbolsloose-envifylower-caselru-cachelz-stringmagic-stringmake-dirmake-errormakeerrormap-or-similarmarkdown-to-jsxmath-intrinsicsmdast-util-definitionsmdast-util-to-stringmedia-typermemfsmemoizerificmerge-descriptorsmerge-streammerge2methodsmicromatchmimemime-dbmime-typesmimic-fnmin-indentminimatchminimistminipassminizlibmkdirpmkdirp-classicmllymsnanoidnatural-comparenegotiatorneo-asyncno-casenode-abort-controllernode-dirnode-fetchnode-fetch-nativenode-int64node-releasesnormalize-package-datanormalize-pathnpm-run-pathnth-checknypmobject-assignobject-inspectobject-isobject-keysobject.assignobjectorarrayon-finishedon-headersonceonetimeopenorap-limitp-locatep-mapp-trypackage-json-from-distpakoparam-caseparent-moduleparse-jsonparseurlpascal-casepath-browserifypath-existspath-is-absolutepath-keypath-parsepath-scurrypath-to-regexppath-typepathepeek-streampendpicocolorspicomatchpifypiratespkg-dirpkg-typespolishedpossible-typed-array-namespostcsspostcss-modules-extract-importspostcss-modules-local-by-defaultpostcss-modules-scopepostcss-modules-valuespostcss-selector-parserpostcss-value-parserprettierpretty-errorpretty-formatpretty-hrtimeprocessprocess-nextick-argsprogresspromptsprop-typesproxy-addrproxy-from-envpumppumpifypunycodepuppeteer-corepure-randqsqueue-microtaskramdarandombytesrange-parserraw-bodyreact-colorfulreact-docgenreact-docgen-typescriptreact-element-to-jsx-stringreact-isreact-refreshreact-remove-scrollreact-remove-scroll-barreact-style-singletonread-pkgread-pkg-upreadable-streamreaddirprecastregenerateregenerate-unicode-propertiesregenerator-runtimeregenerator-transformregexp.prototype.flagsregexpu-coreregjsgenregjsparserrelateurlremark-external-linksremark-slugrenderkidrequire-directoryrequire-from-stringresolveresolve-cwdresolve-fromresolve.exportsrestore-cursorreusifyrun-parallelsafe-buffersafe-regex-testsafer-bufferschedulerschema-utilssemversendserialize-javascriptserve-staticset-function-lengthset-function-namesetprototypeofshallow-cloneshallowequalshebang-commandshebang-regexside-channelside-channel-listside-channel-mapside-channel-weakmapsignal-exitsisteransislashsource-mapsource-map-jssource-map-supportspace-separated-tokensspdx-correctspdx-exceptionsspdx-expression-parsespdx-license-idssprintf-jsstack-utilsstackframestatusesstop-iteration-iteratorstore2stream-shiftstring-lengthstring-widthstring-width-cjsstring_decoderstrip-ansistrip-ansi-cjsstrip-bomstrip-final-newlinestrip-indentstrip-json-commentsstyle-loaderstylissupports-colorsupports-preserve-symlinks-flagswc-loadersynchronous-promisetapabletartar-fstar-streamtelejsontemptemp-dirtempyterserterser-webpack-plugintest-excludethrough2tiny-invarianttinyexectmplto-regex-rangetocbottoidentifiertr46ts-dedenttslibtype-detecttype-festtype-istypedarrayufouglify-jsundici-typesunicode-canonical-property-names-ecmascriptunicode-match-property-ecmascriptunicode-match-property-value-ecmascriptunicode-property-aliases-ecmascriptunique-stringunist-util-isunist-util-visitunist-util-visit-parentsuniversalifyunpipeunpluginuntildifyupdate-browserslist-dburi-jsurluse-callback-refuse-resize-observeruse-sidecarutilutil-deprecateutilautils-mergeuuidv8-to-istanbulvalidate-npm-package-licensevarywalkerwatchpackwcwidthwebidl-conversionswebpackwebpack-dev-middlewarewebpack-hot-middlewarewebpack-sourceswebpack-virtual-moduleswhatwg-urlwhichwhich-boxed-primitivewhich-collectionwhich-typed-arraywordwrapwrap-ansiwrap-ansi-cjswrappywrite-file-atomicwsxtendy18nyallistyamlyargsyargs-parseryauzlyocto-queue
0.1.1

6 months ago